summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dcbc574)
raw | patch | inline | side by side (parent: dcbc574)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 31 Oct 2008 10:24:31 +0000 (10:24 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 31 Oct 2008 10:24:31 +0000 (10:24 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12841 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/contrib/gosa.conf.5 | patch | blob | history | |
gosa-core/include/functions.inc | patch | blob | history |
index 4f345f311950c59bbd1574a744f9c2f5de652b94..72868453ef0f6d2e36818f4d12b9bb707737b181 100644 (file)
.I adduser.conf
to avoid overlapping uidNumber values between local and LDAP based lookups. The uidNumberBase
can even be dynamic. Take a look at the
-.I nextIdHook
+.I baseIdHook
definition below.
.PP
index 604c7b5a5183ac2030e7a2b50cac740cb0db20b1..18d72a7a66b66c0e0c00d8e637aa39a196ef7dad 100644 (file)
{
global $config;
- if ($config->get_cfg_value("nextIdHook") != ""){
+ if ($config->get_cfg_value("baseIdHook") != ""){
/* Call hook script - if present */
- $command= $config->get_cfg_value("nextIdHook");
+ $command= $config->get_cfg_value("baseIdHook");
if ($command != ""){
$command.= " '".LDAP::fix($dn)."' $attrib";
if (preg_match("/^[0-9]+$/", $output[0])){
return ($output[0]);
} else {
- msg_dialog::display(_("Warning"), _("'nextIdHook' is not available. Using default base!"), WARNING_DIALOG);
+ msg_dialog::display(_("Warning"), _("'baseIdHook' is not available. Using default base!"), WARNING_DIALOG);
return ($config->get_cfg_value("uidNumberBase"));
}
} else {
- msg_dialog::display(_("Warning"), _("'nextIdHook' is not available. Using default base!"), WARNING_DIALOG);
+ msg_dialog::display(_("Warning"), _("'baseIdHook' is not available. Using default base!"), WARNING_DIALOG);
return ($config->get_cfg_value("uidNumberBase"));
}
} else {
- msg_dialog::display(_("Warning"), _("'nextIdHook' is not available. Using default base!"), WARNING_DIALOG);
+ msg_dialog::display(_("Warning"), _("'baseIdHook' is not available. Using default base!"), WARNING_DIALOG);
return ($config->get_cfg_value("uidNumberBase"));
}