Hi, 

the following modifications allow the login on debian-edu 5.0.4+edu0:

--- /etc/phpldapadmin/config.php_orig   2010-02-27 13:23:37.000000000 +0100
+++ /etc/phpldapadmin/config.php        2010-02-27 13:29:03.000000000 +0100
@@ -160,10 +160,10 @@
    'ldaps://ldap.example.com/',
    'ldapi://%2fusr%local%2fvar%2frun%2fldapi'
            (Unix socket at /usr/local/var/run/ldap) */
-$ldapservers->SetValue($i,'server','host','ldaps://localhost');
+$ldapservers->SetValue($i,'server','host','ldap');

 /* The port your LDAP server listens on (no quotes). 389 is standard. */
-$ldapservers->SetValue($i,'server','port','636');
+//$ldapservers->SetValue($i,'server','port','636');

 /* Array of base DNs of your LDAP server. Leave this blank to have phpLDAPadmin
    auto-detect it for you. */
@@ -191,7 +191,7 @@
    then you can also specify the login_dn/login_pass here for searching the
    directory for users (ie, if your LDAP server does not allow anonymous 
binds. */
 // $ldapservers->SetValue($i,'login','dn','');
- 
$ldapservers->SetValue($i,'login','dn','cn=admin,dc=skole,dc=skolelinux,dc=no');
+ 
$ldapservers->SetValue($i,'login','dn','cn=admin,ou=People,dc=skole,dc=skolelinux,dc=no');

 /* Your LDAP password. If you specified an empty login_dn above, this MUST also
    be blank. */

It would be nice to have this implemented in the next upload for squeeze.

Cheers,

        Andi



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to