summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fb789d9)
raw | patch | inline | side by side (parent: fb789d9)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Nov 2008 07:48:58 +0000 (07:48 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 7 Nov 2008 07:48:58 +0000 (07:48 +0000) |
-Fixed uid creation for copied objects.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12956 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12956 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/posix/class_posixAccount.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index 6c10c6670abd2ff47860e34e2aa0c314fa2b4aeb..213850ee1c9ea6bae0a9719667d8575e45cc0690 100644 (file)
{
plugin::PrepareForCopyPaste($source);
- /* Avoid using the same gid/uid number as source user */
- $this->savedUidNumber = $this->get_next_id("uidNumber", $this->dn);
- $this->savedGidNumber = $this->get_next_id("gidNumber", $this->dn);
+ /* Avoid using the same gid/uid number as source user
+ empty numbers to enforce new ones. */
+# $this->savedUidNumber = $this->get_next_id("uidNumber", $this->dn);
+ $this->savedUidNumber = "";
+# $this->savedGidNumber = $this->get_next_id("gidNumber", $this->dn);
+ $this->savedGidNumber = "";
}