Hello,
I'm trying to configure DokuWiki with ldap authentification, but there are some problems.
We're using OpenLDAP on a SLES8 and DokuWiki runs actually on a SLES9 with apache1.3x and PHP4.x with ldap.
Problem:
LDAP user search: Success [ldap.class.php:173]
LDAP usergroup: some_group [ldap.class.php:229]
LDAP: bind with uid=username,ou=Users,dc=domain,dc=de failed [ldap.class.php:109]
LDAP user bind: Invalid credentials
Nutzername oder Passwort sind falsch.
What is wrong?!
local.php
$conf['useacl'] = 1;
$conf['authtype'] = 'ldap';
$conf['auth']['ldap']['server'] = 'servername';
$conf['auth']['ldap']['port'] = '389';
$conf['auth']['ldap']['version'] = '3';
/* Superuser logs in but same Problem
$conf['auth']['ldap']['binddn'] = 'cn=admin,dc=domain,dc=de';
$conf['auth']['ldap']['bindpw'] = 'pw';
$conf['auth']['ldap']['usertree'] = 'uid=%{user},ou=Users,dc=domain, dc=de';
*/
$conf['auth']['ldap']['usertree'] = 'ou=Users, dc=domain, dc=de';
$conf['auth']['ldap']['userfilter'] = '(&(objectClass=posixAccount)(uid=%{user}))';
$conf['auth']['ldap']['grouptree'] = 'ou=Groups, dc=domain, dc=de';
$conf['auth']['ldap']['groupfilter'] = '(&(objectClass=posixGroup)(memberUID=%{uid}))';
$conf['auth']['ldap']['debug'] = 'true';
For some reason is it possible to log in with user "administrator" and his password.
But every other user has invalid credentials... and there is no obvious difference...?!
Thanks for helping...