From eab2b3ff5789f07e7b80d9baccd3f0629027edca Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 12 Dec 2006 08:59:28 +0000 Subject: [PATCH] Skip nobody id git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5361 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/personal/posix/class_posixAccount.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/personal/posix/class_posixAccount.inc b/plugins/personal/posix/class_posixAccount.inc index 8f44a6257..901caa244 100644 --- a/plugins/personal/posix/class_posixAccount.inc +++ b/plugins/personal/posix/class_posixAccount.inc @@ -1083,6 +1083,9 @@ class posixAccount extends plugin $ids[]= (int)$attrs["$attrib"][0]; } + /* Add the nobody id */ + $ids[]= 65534; + /* Find out next free id near to UID_BASE */ for ($id= $this->config->current['UIDBASE']; $id++; $id < pow(2,32)){ if (!in_array($id, $ids)){ -- 2.30.2