From fb37db35aca2fde8dd356c33cd71b7f463769f03 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 31 Jan 2008 07:17:46 +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/trunk@8686 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/plugins/personal/posix/class_posixAccount.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index b7593981f..30b8ce1eb 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -1436,8 +1436,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); } -- 2.30.2