Code

Important update for posixAccount.
[gosa.git] / plugins / personal / posix / class_posixAccount.inc
index 8cd19aed072934367726dc774c85f8c1f05f4078..2a59d5b86323e1051632f534a586f1367022dd07 100644 (file)
@@ -1283,8 +1283,8 @@ class posixAccount extends plugin
     plugin::PrepareForCopyPaste($source);
     
     /* Avoid using the same gid/uid number as source user */
-    $this->savedUidNumber = $this->get_next_id("gidNumber", $this->dn);
-    $this->savedGidNumber = $this->get_next_id("uidNumber", $this->dn);
+    $this->savedUidNumber = $this->get_next_id("uidNumber", $this->dn);
+    $this->savedGidNumber = $this->get_next_id("gidNumber", $this->dn);
   }
 
   function convertToSeconds($val)