projects
/
matthijs
/
servers
/
drsnuggles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lighttpd: Add config for hekjelarp.nl.
[matthijs/servers/drsnuggles.git]
/
etc
/
phpldapadmin
/
config.php
diff --git
a/etc/phpldapadmin/config.php
b/etc/phpldapadmin/config.php
index f738e802ca87aea77914b37250b040d6560bc43d..6d6a00ee855e22bbe6ab0998d9576400925d84c1 100644
(file)
--- a/
etc/phpldapadmin/config.php
+++ b/
etc/phpldapadmin/config.php
@@
-116,6
+116,12
@@
$config->custom->commands['all'] = array(
/* Appearance */
/*********************************************/
/* Appearance */
/*********************************************/
+// Use the displayName in the tree view, when available.
+$config->custom->appearance['tree_display_formats'] = array("%displayName", "%rdnValue");
+
+// Only use custom templates (starting with custom_)
+$config->custom->appearance['custom_templates_only'] = true;
+
/* 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";
/* 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
+204,11
@@
$ldapservers->SetValue($i,'server','auth_type','session');
// $ldapservers->SetValue($i,'login','pass','');
$ldapservers->SetValue($i,'login','pass','');
// $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);
/* Use TLS (Transport Layer Security) to connect to the LDAP server. */
// $ldapservers->SetValue($i,'server','tls',false);