From 3f54dbfe2fb9b4e6892859404b9e3ed58e29d484 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Wed, 15 Apr 2009 19:45:40 +0200 Subject: [PATCH] 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. --- etc/phpldapadmin/config.php | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.30.2