Re: [xwiki-users] ldap auth against active directory fails

2008-05-20 Thread Thomas Mortagne
On Tue, May 20, 2008 at 5:53 PM, Fabien <[EMAIL PROTECTED]> wrote: > Could you create a jira issue for that at >> http://jira.xwiki.org/jira/browse/XWIKI ? >> > > > Done ! Thanks > > >> >> If you use the "new" LDAP authenticator >> (com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl since 1.3

Re: [xwiki-users] ldap auth against active directory fails

2008-05-20 Thread Fabien
Could you create a jira issue for that at > http://jira.xwiki.org/jira/browse/XWIKI ? > Done ! > > If you use the "new" LDAP authenticator > (com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl since 1.3M2, > see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication), > "userPas

Re: [xwiki-users] ldap auth against active directory fails

2008-05-20 Thread Thomas Mortagne
On Tue, May 20, 2008 at 4:54 PM, Fabien <[EMAIL PROTECTED]> wrote: > Hi all, > > I think I have got some new about the LDAP support in Xwiki. > It does not support the LDAP Referral (at least by default, perhaps there is > a flag somewhere to set ?) > > Where you are looking for a specific key into

Re: [xwiki-users] ldap auth against active directory fails

2008-05-20 Thread Fabien
Hi all, I think I have got some new about the LDAP support in Xwiki. It does not support the LDAP Referral (at least by default, perhaps there is a flag somewhere to set ?) Where you are looking for a specific key into LDAP, sometime you get an information from your current searched LDAP that the

Re: [xwiki-users] ldap auth against active directory fails

2008-05-20 Thread Fabien
My login does not contain a "." and I already get bind, I got another problem after the bind during the search. I got the following error, but I am unable to google what it means. Does anyone knows what means this error ? And how to correct it ? "LDAP Search failed LDAPReferralException: *Autom

Re: [xwiki-users] ldap auth against active directory fails

2008-05-16 Thread Mihails Agafonovs
If your sAMAccountName is like name.surname, it won't work. XWiki has some problems with "." (or is this solved?) sign when logging in. Quoting Fabien : Hi, I don't know if this will help, but here is below my xwiki.cfg configuration file that enable me to bind. I still do not reach the field m

Re: [xwiki-users] ldap auth against active directory fails

2008-05-16 Thread Fabien
Hi, I don't know if this will help, but here is below my xwiki.cfg configuration file that enable me to bind. I still do not reach the field mapping step though, I get a "LDAPReferralException: Automatic referral following not enabled (10) Referral LDAPReferralException: Server Message: 202B:

Re: [xwiki-users] ldap auth against active directory fails

2008-05-16 Thread werner mueller
Hallo yep, that was the first attempt. no matter what variation i try i get bind errors or invalid credentials (depending on what user i try to login). xwiki shows an 'internal error' on the login dialog. its very weird. he mediawiki configuration is alost exactly the same (using that domain\\

Re: [xwiki-users] ldap auth against active directory fails

2008-05-13 Thread Thomas Mortagne
Hi, Did you tryed the suggested AD configuration at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPConfigurationforActiveDirectory ? On Mon, May 12, 2008 at 12:38 PM, Mihails Agafonovs <[EMAIL PROTECTED]> wrote: > Try LDAP Browser to find the correct configuration. > > I

Re: [xwiki-users] ldap auth against active directory fails

2008-05-12 Thread Mihails Agafonovs
Try LDAP Browser to find the correct configuration. I've succeeded in connecting to AD, using the CN attribute, so in config it would be: bind_DN={0} /// here the user will type his cn UID_attr=cn Quoting werner mueller : hallo well i am a little stuck. i cant make it work although i copied the

Re: [xwiki-users] ldap auth against active directory fails

2008-05-11 Thread werner mueller
hallo well i am a little stuck. i cant make it work although i copied the settings from a working example (well another tool but the same servers). i can only get to 'invalid credentials' does the server need to be in the same domain as the active directory to use the bind_DN=subdomain\\{0} bind

Re: [xwiki-users] ldap auth against active directory fails

2008-04-30 Thread Thomas Mortagne
You can enable "debug" logging, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging On Wed, Apr 30, 2008 at 1:54 PM, werner mueller <[EMAIL PROTECTED]> wrote: > Hallo > > thanks for the quick reply. > > well the config should work then :/ > i compared it with the bugzilla / subversi

Re: [xwiki-users] ldap auth against active directory fails

2008-04-30 Thread werner mueller
Hallo thanks for the quick reply. well the config should work then :/ i compared it with the bugzilla / subversion config which uses the same ldap / active directory auth. the only difference is that they distinguish the bind user with the user to be authenticated. but in my case even the bind

Re: [xwiki-users] ldap auth against active directory fails

2008-04-30 Thread Thomas Mortagne
On Wed, Apr 30, 2008 at 11:55 AM, werner mueller <[EMAIL PROTECTED]> wrote: > Hallo > > thanks for the reply. > back to stupid questions: > > > #-# LDAP login, empty = anonymous access, otherwise specify full dn > > #-# {0} is replaced with the username, {1} with the password > > #xwiki.auth

Re: [xwiki-users] ldap auth against active directory fails

2008-04-30 Thread werner mueller
Hallo thanks for the reply. back to stupid questions: > #-# LDAP login, empty = anonymous access, otherwise specify full dn > #-# {0} is replaced with the username, {1} with the password > #xwiki.authentication.ldap.bind_DN=cn={0},department=USER,o=MP > #xwiki.authentication.ldap.bind_pass={1}

Re: [xwiki-users] ldap auth against active directory fails

2008-04-29 Thread Thomas Mortagne
On Tue, Apr 29, 2008 at 1:30 PM, werner mueller <[EMAIL PROTECTED]> wrote: > Hallo > > thanks for the hints. > > i tried some other configurations but with no luck. it seems not every > user is allowed to query the ldap structure. i have to use a special > user/password to bind xwiki to the act

Re: [xwiki-users] ldap auth against active directory fails

2008-04-29 Thread werner mueller
Hallo thanks for the hints. i tried some other configurations but with no luck. it seems not every user is allowed to query the ldap structure. i have to use a special user/password to bind xwiki to the active directory. that user can login but thats not a solution. aloow everyone to query the

Re: [xwiki-users] ldap auth against active directory fails

2008-04-17 Thread Thomas Mortagne
Also I think http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPConfigurationforActiveDirectory is based in old LDAP authenticator (see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/AuthenticationLdapOld). On Thu, Apr 17, 2008 at 7:35 PM, Thomas Mortagne <[EMAIL PROTECT

Re: [xwiki-users] ldap auth against active directory fails

2008-04-17 Thread Thomas Mortagne
Hi, On Thu, Apr 17, 2008 at 7:02 PM, werner mueller <[EMAIL PROTECTED]> 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:

[xwiki-users] ldap auth against active directory fails

2008-04-17 Thread werner mueller
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