From 6976aa56aeb494f2d5834453c27a84b6bff99f07 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 31 Jan 2008 07:16:36 +0000 Subject: [PATCH] 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 --- plugins/personal/posix/class_posixAccount.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2