[xwiki-devs] LDAP Bind fails for one user
Hi, I am using these ldap settings in my xwiki.conf (version 1.3.1 Enterprise) to connect to an Active directory. xwiki.authentication.ldap=1 xwiki.authentication.ldap.authclass=com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl xwiki.authentication.ldap.server=myservername xwiki.authentication.ldap.check_level=1 xwiki.authentication.ldap.port=389 xwiki.authentication.ldap.base_DN=dc=mydomain,dc=com xwiki.authentication.ldap.bind_DN=mydomain\\{0} xwiki.authentication.ldap.bind_pass={1} xwiki.authentication.ldap.UID_attr=sAMAccountName xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn xwiki.authentication.ldap.validate_password=0 xwiki.authentication.ldap.update_user=1 xwiki.authentication.ldap.trylocal=1 (all other ldap setting are commented out) Now most users can login without a problem, but one user gets the following error in the log and cannot login: 2008-05-22 09:49:12,681 [http://wiki/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-15] ERROR LDAP.LDAPAuthServiceImpl - LDAP Bind failed with Exception Invalid Credentials Yet I am sure I use the correct password (since it is the same as his windows password), and tried changing my windows domain password to verify that xwiki correctly checks it (which it does, I needed to enter my new password in xwiki). When I change the user password of the user whch can not login, the problem stays the same. The ldap bind message does not appear for all other users, so I do not think that xwiki falls back to a local user database. Does anyone have an idea what might be causing this? Regards, Leen Toelen
participants (1)
-
Leen Toelen