Here's what I have for my LDAP bind configuration:
xwiki.authentication.ldap.bind_DN=AD\{0}
xwiki.authentication.ldap.bind_pass={1}
My debug logs show:
11:45:40,862 [
http://xxxx.localdomain.com:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin
] [http-8080-Processor25] DEBUG ldap.XWikiLDAPConnection -
Connection to LDAP server [ldap.ad.xxxx.yyy:389]
11:45:40,870 [
http://xxxx.localdomain.com:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin
] [http-8080-Processor25] DEBUG ldap.XWikiLDAPConnection -
Binding to LDAP server with credentials login=[ADusername]
password=[******]
11:45:40,871 [
http://xxxx.localdomain.com:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin
] [http-8080-Processor25] DEBUG LDAP.XWikiLDAPAuthServiceImpl -
Global LDAP authentication failed.
It's showing the login as ADusername instead of AD\username
I've tried this configuration with AD\\{0} or just {0}.
Any ideas?
Sam
On Oct 22, 2008, at 11:30 PM, Mihails Agafonovs wrote:
You have to use current username and password:
xwiki.authentication.ldap.bind_DN=yourdomain\{0}
xwiki.authentication.ldap.bind_pass={1}
not like you did:
xwiki.authentication.ldap.bind_DN=crbsldap
xwiki.authentication.ldap.bind_pass=********