Version 7.2
I’m having trouble getting sAMAccountName to be the login used to gain entry into xwiki. So far, only cn works. If I try to change cn to sAMAccountName, it just doesnt authenticate. cn doesn’t work for us since it contains spaces require middle names. thank you!
Current xwiki.cfg:
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=[redacted]
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.bind_DN=cn={0},OU=users,OU=contoso,DC=contoso,DC=com
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.base_DN=OU=users,OU=contoso,DC=contoso,DC=com
xwiki.authentication.ldap.UID_attr=cn
xwiki.authentication.ldap.update_user=1