buc e384021
diff -Nrbu phpldapadmin-1.2.3/config/config.php phpldapadmin-1.2.3-OK/config/config.php
buc e384021
--- phpldapadmin-1.2.3/config/config.php	2013-06-18 16:01:03.857955154 +0400
buc e384021
+++ phpldapadmin-1.2.3-OK/config/config.php	2013-06-18 16:00:46.813130919 +0400
buc e384021
@@ -77,6 +77,11 @@
497c0ba
    30 seconds or the setting of max_exection_time if this is null. */
497c0ba
 // $config->custom->session['timelimit'] = 30;
497c0ba
 
497c0ba
+// $config->custom->appearance['show_clear_password'] = false;
497c0ba
+
497c0ba
+// $config->custom->search['size_limit'] = 50;
497c0ba
+#  $config->custom->search['size_limit'] = 1000;
497c0ba
+
497c0ba
 /* Our local timezone
497c0ba
    This is to make sure that when we ask the system for the current time, we
497c0ba
    get the right local time. If this is not set, all time() calculations will
buc e384021
@@ -283,7 +288,7 @@
497c0ba
 
497c0ba
 /* A convenient name that will appear in the tree viewer and throughout
497c0ba
    phpLDAPadmin to identify this LDAP server to users. */
497c0ba
-$servers->setValue('server','name','My LDAP Server');
497c0ba
+$servers->setValue('server','name','Local LDAP Server');
497c0ba
 
497c0ba
 /* Examples:
497c0ba
    'ldap.example.com',
buc e384021
@@ -380,6 +385,7 @@
497c0ba
 /* Default password hashing algorithm. One of md5, ssha, sha, md5crpyt, smd5,
497c0ba
    blowfish, crypt or leave blank for now default algorithm. */
497c0ba
 // $servers->setValue('appearance','password_hash','md5');
497c0ba
+$servers->setValue('appearance','password_hash','');
497c0ba
 
497c0ba
 /* If you specified 'cookie' or 'session' as the auth_type above, you can
497c0ba
    optionally specify here an attribute to use when logging in. If you enter
buc e384021
@@ -389,6 +395,7 @@
497c0ba
    your LDAP server requires you to login to perform searches, you can enter the
Dmitry Butskoy dcea239
    DN to use when searching in 'bind_id' and 'bind_pass' above. */
497c0ba
 // $servers->setValue('login','attr','dn');
497c0ba
+$servers->setValue('login','attr','uid');
497c0ba
 
497c0ba
 /* Base DNs to used for logins. If this value is not set, then the LDAP server
497c0ba
    Base DNs are used. */