).
On Thu, Apr 17, 2008 at 7:35 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
Hi,
On Thu, Apr 17, 2008 at 7:02 PM, werner mueller
<werner.mueller(a)mimacom.ch> wrote:
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#HLDAPCon…
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)
...
Could you copy/paste your configuration.
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?
You can define a user able to bind to the active directory using
"bind_DN" and "bind_pass" properties and it will search for
provided
login in ldap based on "UID_attr" property
is the documentation current for xwiki 1.3.2.9174? or can someone give
me a hint to make this work?
Are you sure you use xwiki-core 1.3.2 version, I can't find in the
code what could make NullPointerException at
XWikiLDAPAuthServiceImpl.java:256
thanks a lot
regards
werner
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne