From: cajus Date: Fri, 31 Oct 2008 15:04:31 +0000 (+0000) Subject: Updated idBaseHook X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8d4461c7f12a1420dda9c27d425ec71bd0d2f4da;p=gosa.git Updated idBaseHook git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12848 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/FAQ b/gosa-core/FAQ index 4b1a1ed08..1b2958c69 100644 --- a/gosa-core/FAQ +++ b/gosa-core/FAQ @@ -349,7 +349,7 @@ A: Just add this line into the location section of your gosa.conf. Q: I'd like to assign different uid bases for certain user/group objects. How can this be achieved? -A: Use the 'nextIdHook' in your gosa.conf's location section to specify a script +A: Use the 'baseIdHook' in your gosa.conf's location section to specify a script which handles the ID generation externaly. It get's called with the "dn" and the attribute to be ID'd. It should return an integer value. diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc index a83d287ae..6c10c6670 100644 --- a/gosa-core/plugins/personal/posix/class_posixAccount.inc +++ b/gosa-core/plugins/personal/posix/class_posixAccount.inc @@ -1317,7 +1317,7 @@ class posixAccount extends plugin } /* Find out next free id near to UID_BASE */ - if ($this->config->get_cfg_value("nextIdHook") == ""){ + if ($this->config->get_cfg_value("baseIdHook") == ""){ $base= $lwm; } else { /* Call base hook */