ok I can answer... ;)
It's been commented out and not turned on by default...
Sorry for the noise
-Vincent
On Feb 22, 2008, at 7:50 PM, Vincent Massol wrote:
Hi Thomas,
On Feb 21, 2008, at 3:07 PM, tmortagne (SVN) wrote:
Author: tmortagne
Date: 2008-02-21 15:07:45 +0100 (Thu, 21 Feb 2008)
New Revision: 7902
Modified:
xwiki-platform/xwiki-tools/trunk/xwiki-configuration-resources/src/
main/resources/xwiki.cfg.vm
Log:
Improve LDAP default configuration
Modified: xwiki-platform/xwiki-tools/trunk/xwiki-configuration-
resources/src/main/resources/xwiki.cfg.vm
===================================================================
--- xwiki-platform/xwiki-tools/trunk/xwiki-configuration-resources/
src/main/resources/xwiki.cfg.vm 2008-02-21 14:06:38 UTC (rev 7901)
+++ xwiki-platform/xwiki-tools/trunk/xwiki-configuration-resources/
src/main/resources/xwiki.cfg.vm 2008-02-21 14:07:45 UTC (rev 7902)
@@ -84,15 +84,15 @@
#-------------------------------------------------------------------------------------
#-# new LDAP authentication service
-#
xwiki
.authentication
.authclass=com.xpn.xwiki.ldap.authentication.XWikiLDAPAuthServiceImpl
+#
xwiki
.authentication
.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0 : disable
#-# 1 : enable
-xwiki.authentication.ldap=0
+# xwiki.authentication.ldap=1
Why is LDAP authentication on by default?
I would have assumed it to be off by default since the default
authentication mechanism is to use xwiki's DB. I know the new LDAP
impl will try XWiki's DB if it can't log on LDAP but that's not a
good thing to do by default since everyone will incur some overhead
and the fact that LDAP is on by default is misleading in this case.
Note: I may have missed something since I've been off for 2 days and
only unpiling my emails now ;)
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org