From 1a2a0bb599a1bf5b66f3e11825eaece592ba197e Mon Sep 17 00:00:00 2001 From: psc Date: Mon, 29 Jun 2009 16:10:49 +0000 Subject: [PATCH] In PrepareForCopyPaste instanciate the source object and set $this->smbgroup depending on what is set in the source object. This fixes problems with copying groups if the group is tied to a samba group (Trac #2670) git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13825 594d385d-05f5-0310-b6e9-bd551577e9d8 --- trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc index 4f9cf0767..3d611352a 100644 --- a/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc +++ b/trunk/gosa-core/plugins/admin/groups/class_groupGeneric.inc @@ -1406,6 +1406,9 @@ class group extends plugin function PrepareForCopyPaste($source) { plugin::PrepareForCopyPaste($source); + + $source_o = new group($this->config, $source['dn']); + $this->smbgroup = $source_o->smbgroup; $this->memberUid = array(); if(isset($source['memberUid'])){ -- 2.30.2