Hello Trix Tri,
i can't bind our LDAP Users (Debian 8 openLDAP Server)
My Config...
wfLoadExtension( 'LdapAuth' );
$wgGroupPermissions['*']['autocreateaccount'] = true;
$wgLdapAuthDomainNames = 'Domain'; <- Can i use any Name here?
$wgLdapAuthServers = 'IP';
$wgLdapAuthBindDN = 'cn=user,dc=domain,dc=com';
$wgLdapAuthBindPass = 'password';
$wgLdapAuthBaseDN = 'ou=people,ou=PDF,l=location,dc=domain,dc=com';
$wgLdapAuthSearchFilter = '(&(objectClass=person)(uid=%1$s))';
$wgLdapAuthUsernameField = 'uid';
$wgLdapAuthSearchTree = true;
$wgLdapAuthUseLocal = true;
$wgLdapAuthEncryptionType = false;
$wgLdapAuthIsActiveDirectory = false;
$wgLdapAuthRequireDomain = true;
uid = user.name
In LDAP log comes this error...
ldap slapd[777]: conn=14420181 op=1 do_bind: invalid dn (user.name@Domain)
LDAP structur
uid=user.name,ou=people,ou=PDF,l=location,dc=domain,dc=com
What goes wrong?