From: Matthijs Kooijman Date: Wed, 15 Apr 2009 17:45:40 +0000 (+0200) Subject: phpldapadmin: Start autonumbering at 0, for uniqueNumber. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=3f54dbfe2fb9b4e6892859404b9e3ed58e29d484;p=matthijs%2Fservers%2Fdrsnuggles.git phpldapadmin: Start autonumbering at 0, for uniqueNumber. We want to use phpldapadmin's autonumber feature for uniqueNumbers as well as uidNumbers. This makes sure that uniqueNumbers don't jump up to 1000. --- diff --git a/etc/phpldapadmin/config.php b/etc/phpldapadmin/config.php index f738e80..5056a69 100644 --- a/etc/phpldapadmin/config.php +++ b/etc/phpldapadmin/config.php @@ -198,6 +198,11 @@ $ldapservers->SetValue($i,'server','auth_type','session'); // $ldapservers->SetValue($i,'login','pass',''); $ldapservers->SetValue($i,'login','pass',''); +// Make sure that uniqueNumber doesn't start counting at 1000. The uidNumbers +// will still work correctly, since they start counting at whatever minimal +// value is in the directory already. + $ldapservers->SetValue($i,'auto_number','min',0); + /* Use TLS (Transport Layer Security) to connect to the LDAP server. */ // $ldapservers->SetValue($i,'server','tls',false);