On Fri, Oct 10, 2008 at 4:07 PM, <BSayatovic(a)amig.com> wrote:
Which LDAP authenticator are you using ?
LDAPAuthServiceImpl or
XWikiLDAPAuthServiceImpl ? Since XWiki 1.6 XWikiLDAPAuthServiceImpl is
the default LDAP authenticator and have some differences in
configurations.
I'm a bit confused. When I used 1.1-m1, there was only the old
implementation (LDAPAuthServiceImpl?). When I got 1.6, the xwiki.cfg
contained this by default:
#-# new LDAP authentication service
#xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
That is the new implementation, as I understand it, but it was commented
out. So, I assumed it was using the old one by default. Is this not the
case?
Yes it "was" using the old one by default but since 1.6 we decided to
use the new one by default as the old one is deprecated since XWiki
1.3. Lets says we consider we gave enough time to migrate ;)
Regardless, I'd like to use the new one. So, in light of that, I've
uncommented that line now so that I am using XWikiLDAPAuthServiceImpl.
You don't need to uncomment as it's used by default. Anyway it's
always better to explicitly configure what you want, you will not have
the problem next time ;)
By the way there is a bug in LDAP 1.6. It's
already fixed and it will
be included in 1.6.1. In the meantime you can use last snapshot of
xwiki-core jar (download it at
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.6-SNAP…)
or use the old authenticator (which is the one
you used before I think
as the new LDAP authenticator only exists since XWiki 1.3).
What is the bug? I searched JIRA breifly, but nothign jumped out at me.
The base_DN is not correctly taken into account. That makes impossible
to search the user DN from its uid See
http://jira.xwiki.org/jira/browse/XWIKI-2747.
-----------------------------------------
CONFIDENTIALITY STATEMENT:
This e-mail transmission contains information that is intended to
be confidential. It is intended only for the addressee named
above. If you receive this e-mail in error, please do not read,
copy, or disseminate it. If you are not the intended recipient,
any disclosure, copying, distribution or use of the contents of
this information is prohibited. Please reply to the message
immediately by informing the sender that the message was
misdirected. After replying, please erase it from your computer
system. Your assistance in correcting this error is appreciated.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne