Code

Ensure uniq SID
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jan 2008 14:55:23 +0000 (14:55 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 23 Jan 2008 14:55:23 +0000 (14:55 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8569 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/samba/personal/samba/class_sambaAccount.inc

index 598cf9a108705d897c3567a79fa9240987578986..3b638889fd4102820a9a1ac70491e78be6641f76 100644 (file)
@@ -1537,6 +1537,17 @@ class sambaAccount extends plugin
       }
     }
   }
+
+
+  function PrepareForCopyPaste($source)
+  {
+    plugin::PrepareForCopyPaste($source);
+
+    /* Set a new SID and force a new group with new sambaPrimaryGroupSID */
+    $this->sambaSID = "";
+    print "Eloha : ".($this->gidNumber);
+  }
+
 }
 
 // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: