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