hallo

i am currently trying to setup xwiki on taomcat 5.5/mysql. until now its 
doing quite well :)

my next step is to get ldap authentication against an active directory 
working. i followed 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPConfigurationforActiveDirectory
 
and some postings on the mailing list but i cant get it to work.

i either end up with:
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP 
bind failed with LDAPException.
Wrapped Exception: Invalid Credentials

or worse (with in my eyes the propper config):
WARN  LDAP.XWikiLDAPAuthS
erviceImpl   - LDAP authentication failed.
java.lang.NullPointerException
         at 
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:256)
         at 
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:107)
         at 
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:194)
         at 
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:127)
         at 
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:112)
         at 
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:214)
         at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3307)
         at 
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:136)
         at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3315)
         at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4259)
         at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:173)
...


i've done ldap auth on several other tools (apache/subversion, 
bugzilla). there i used two accounts: one allowed to bind to the active 
directory and do searches and the useraccount itself.

in the xwiki config i can only see the user logging in is used to bind 
to the ldap server?


is the documentation current for xwiki 1.3.2.9174? or can someone give 
me a hint to make this work?


thanks a lot
regards

werner

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to