X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fphpldapadmin%2Fconfig.php;h=18c8892d74bff38644a7e82a1b71ccf2bb8131a2;hb=8cbae7c2c9aa2d4ed4371113e5900a9adbfa6d5e;hp=f738e802ca87aea77914b37250b040d6560bc43d;hpb=5998415b053f62336a326612f75d3e6b208611ef;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/phpldapadmin/config.php b/etc/phpldapadmin/config.php index f738e80..18c8892 100644 --- a/etc/phpldapadmin/config.php +++ b/etc/phpldapadmin/config.php @@ -116,6 +116,9 @@ $config->custom->commands['all'] = array( /* Appearance */ /*********************************************/ +// Use the displayName in the tree view, when available. +$config->custom->appearance['tree_display_formats'] = array("%displayName", "%rdnValue"); + /* If you want to choose the appearance of the tree, specify a class name which inherits from the Tree class. */ // $config->custom->appearance['tree'] = "AJAXTree"; @@ -198,6 +201,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);