diff -ruN phpldapadmin.old/config/config.php phpldapadmin/config/config.php --- phpldapadmin.old/config/config.php 2021-09-28 17:02:43.911943260 +0200 +++ phpldapadmin/config/config.php 2021-09-28 17:09:10.551216335 +0200 @@ -389,6 +389,7 @@ /* Default password hashing algorithm. One of md5, ssha, sha, md5crpyt, smd5, blowfish, crypt or leave blank for now default algorithm. */ // $servers->setValue('appearance','pla_password_hash','md5'); + $servers->setValue('appearance','pla_password_hash',''); /* If you specified 'cookie' or 'session' as the auth_type above, you can optionally specify here an attribute to use when logging in. If you enter @@ -398,6 +399,7 @@ your LDAP server requires you to login to perform searches, you can enter the DN to use when searching in 'bind_id' and 'bind_pass' above. */ // $servers->setValue('login','attr','dn'); + $servers->setValue('login','attr','uid'); /* Base DNs to used for logins. If this value is not set, then the LDAP server Base DNs are used. */ @@ -546,7 +548,7 @@ /* $servers->newServer('ldap_pla'); -$servers->setValue('server','name','LDAP Server'); +$servers->setValue('server','name','local LDAP Server'); $servers->setValue('server','host','127.0.0.1'); $servers->setValue('server','port',389); $servers->setValue('server','base',array(''));