Code

Updated group.inc
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Jun 2010 11:12:09 +0000 (11:12 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Jun 2010 11:12:09 +0000 (11:12 +0000)
-Samba groups could not be copied.

git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@18851 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/admin/groups/class_group.inc

index 72eec6a9ee6eb08cbcb0e50737aa6315739db931..a2c5ee12a3ceaeffebdccc5ba923fdd49d076b2d 100644 (file)
@@ -1327,6 +1327,8 @@ class group extends plugin
   {
     plugin::PrepareForCopyPaste($source);
 
+    // Detect samba groups and adapt its values.
+    $this->smbgroup = in_array('sambaGroupMapping', $source['objectClass']);
     if ($this->smbgroup) { 
       $this->sambaSID = $this->getSambaSID(); 
     }