Hi,
1. In xwiki.cfg you need to specify the authentication class to use, like:
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.LDAPAuthServiceImpl
Then I think you also need to set all the properties used in
LDAPAuthServiceImpl.java, so:
xwiki.authentication.ldap.port=...
xwiki.authentication.ldap.server=...
xwiki.authentication.ldap.bind_DN=...
xwiki.authentication.ldap.bind_pass=...
xwiki.authentication.ldap.base_DN=...
xwiki.authentication.ldap.fields_mapping=...
xwiki.authentication.ldap.UID_attr=...
xwiki.authentication.ldap.check_level=...
2. Edit the file xwiki\WEB-INF\classes\log4j.properties to set the log
level for specific packages or classes, like:
com.xpn.xwiki.user.impl.LDAP=debug
Cheers,
Robin
On 27/02/06, Craig Muth <craig.mu(a)gmail.com> wrote:
This is my first post to the list. Let me begin by
saying I think XWiki is
very very cool.
I have 2 questions.
1. Is there a place I can look to find more info about setting up XWiki to
use LDAP for authentication? I looked at
http://www.xwiki.org/xwiki/bin/view/Dev/LDAPIntegration
and link specific to active directory. I'd like XWiki to simply check
passwords against our LDAP server but do nothing else with it (like trying
to add users in it etc.). I looked at the LDAPAuthServiceImpl.java source,
but wasn't really able to make anything out of it.
2. How do I enable logging and turn up the log level in XWiki?
I'll try to aggregate whatever helpful answers I get and add them to
xwiki.org.
Thanks,
--Craig
--
You receive this message as a subscriber of the xwiki-users(a)objectweb.org
mailing list.
To unsubscribe:
mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws