From: hickert Date: Tue, 12 Dec 2006 08:59:28 +0000 (+0000) Subject: Skip nobody id X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=eab2b3ff5789f07e7b80d9baccd3f0629027edca;p=gosa.git Skip nobody id git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5361 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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)){