short question about the LDAP Authentication module which i cannot get working.
I think its in cause that we have a dedicated user with permissions to query the Active Directory.
I think i know where my problem is.
In syslog i can see that the LDAP query is cn=Prename Lastname and he can’t find the user. In our AD the cn of the user is Lastname, Prename.
According to the documentation i thought that the parameter
xwiki.authentication.ldap.UID_attr=sAMAccountName
would solve this but it doesn’t.
Our sAMAccoutName in AD is “Prename Lastname”.
Any ideas?
#############################
Edit: Trial and error worked. The correct configuration for my problem is