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,

1 votes

1 answers

834 views

ANSWER

Hi.

Could you show us your file default-ldap-user ad your base DN in AD ?

Regards,

07/02/2013

Could you set in the log4j.xml the class org.nuxeo.ecm.directory on DEBUG and show us your trace?

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

07/04/2013

Please use comment for comment
07/05/2013

Here goes! ;-) DEBUG [org.nuxeo.ecm.directory.ldap.LDAPSession] LDAPSession.getLdapEntry(Administrator, false): LDAP search base='DC=My,DC=Domain' filter='(&(sAMAccountName={0})(&(objectClass=person)(sAMAccountName=*)))' args='Administrator' scope='1' [LDAPSession '-5912448389080940522' for directory userLdapDirectory] DEBUG [org.nuxeo.ecm.directory.ldap.LDAPSession] Entry not found: Administrator INFO [org.nuxeo.ecm.platform.ui.web.auth.NuxeoAuthenticationFilter] Login failed for Administrator

Thanks again jmnrk! Best regards

07/05/2013



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

0 votes



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
07/05/2013