Login Failed using AD Credentials
Hi, I'm trying to get Nuxeo working with our Active Directory. I've succeeded in binding them, but whenever I try to login it always returns:'Invalid username or password' no matter what fields I'm mapping (or so it looks). Log shows only: 'Login failed for user'.
Any help would be greatly appreciated! Many thanks,
Fixed it!!!
Apparently my searchscope was 'LevelOne'. And since my SearchDN was only DC=My,DC=Domain it was not looking for users in the lower OU's. Changing the SearchScope to 'Subtree' made the difference.
Thnx for helping me out! Debug was the tool to use.
Best regards
Thanks for your feedback ! And please follow the philosophy of the web site:
- Comment for comments
- Answer for answers
- mark best answer for your own question
- new question for new question
- vote + if an answer found useful
Could you show us your file default-ldap-user ad your base DN in AD ?
Regards,
Similar to -> DEBUG [org.nuxeo.ecm.directory.ldap.LDAPSession] LDAPSession.getLdapEntry(Administrator, false): LDAP search base='DC=example,DC=local' filter='(|((&(sAMAccountName={0})(&(objectClass=person)(sAMAccountName=))))((&(cn={0})(&(objectClass=person)(cn=)))))' args='Administrator' scope='1' [LDAPSession '-6154656116186724697' for directory userLdapDirectory]
Regards
Thanks again jmnrk! Best regards