From: hickert Date: Thu, 31 Jan 2008 07:16:36 +0000 (+0000) Subject: Important update for posixAccount. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6976aa56aeb494f2d5834453c27a84b6bff99f07;p=gosa.git Important update for posixAccount. =gid/uidNumber interchanged= -Occurred when using copy & paste. -Caused duplicated uidNumbers in some cases. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@8685 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc index 8cd19aed0..2a59d5b86 100644 --- a/plugins/personal/posix/class_posixAccount.inc +++ b/plugins/personal/posix/class_posixAccount.inc @@ -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)