projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62e15f9
)
phpldapadmin: Start autonumbering at 0, for uniqueNumber.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 15 Apr 2009 17:45:40 +0000
(19:45 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Wed, 15 Apr 2009 17:45:40 +0000
(19:45 +0200)
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
patch
|
blob
|
history
diff --git
a/etc/phpldapadmin/config.php
b/etc/phpldapadmin/config.php
index f738e802ca87aea77914b37250b040d6560bc43d..5056a695d39dd40d4e5693603f49d3c52394c98c 100644
(file)
--- 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);