phpldapadmin: Start autonumbering at 0, for uniqueNumber.
[matthijs/servers/drsnuggles.git] / etc / phpldapadmin / config.php
index f738e802ca87aea77914b37250b040d6560bc43d..5056a695d39dd40d4e5693603f49d3c52394c98c 100644 (file)
@@ -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);