On Mon, Jan 23, 2012 at 3:34 PM, niko dangl <[email protected]> wrote:
> thanks for that hint...i had it in the logback.xml on my local pc and
> just forgot to replace the file on the wiki server..
> now i get some messages regarding LDAP :)
>
> this is what i get if i just start tomcat
>
> 2012-01-23 16:20:29,999
> [http://192.168.220.127:8080/xwiki/bin/view/Main/WebHome] TRACE
> u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
> 2012-01-23 16:20:30,002
> [http://192.168.220.127:8080/xwiki/bin/view/Main/WebHome] DEBUG
> u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We don't
> try to authenticate, it probably means the user is in non logged mode.
> 2012-01-23 16:20:30,895
> [http://192.168.220.127:8080/xwiki/bin/view/Main/WebHome] ERROR
> o.i.ObservationContextListener - Can't find any begin event
> corresponding to [class org.xwiki.bridge.event.ActionExecutedEvent
> (view)]
> 2012-01-23 16:20:30,908
> [http://192.168.220.127:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=w2ltzX7K&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%3Fsrid%3Dw2ltzX7K]
> TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
> 2012-01-23 16:20:30,908
> [http://192.168.220.127:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=w2ltzX7K&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%3Fsrid%3Dw2ltzX7K]
> DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
> don't try to authenticate, it probably means the user is in non logged
> mode.
> 2012-01-23 16:20:31,075
> [http://192.168.220.127:8080/xwiki/bin/login/XWiki/XWikiLogin?srid=w2ltzX7K&xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2FWebHome%3Fsrid%3Dw2ltzX7K]
> WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method
> [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33
>

Yep this message is expected: the authenticator is called first
without any user/password, this is used for SSO authenticators which
get thoses information automatically in the HTTP header or whatever.

> and this comes after trying to login with AD user
>
> 2012-01-23 16:23:34,440
> [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
> 2012-01-23 16:23:34,440
> [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> DEBUG u.i.L.XWikiLDAPAuthServiceImpl - The provided user is null. We
> don't try to authenticate, it probably means the user is in non logged
> mode.
> 2012-01-23 16:23:34,441
> [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> TRACE u.i.L.XWikiLDAPAuthServiceImpl - Starting LDAP authentication
> 2012-01-23 16:23:34,449
> [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> DEBUG c.x.x.p.l.XWikiLDAPConfig      - ldap_group_classes:
> [groupofnames, groupwisedistributionlist, dynamicgroup,
> dynamicgroupaux, groupofuniquenames, group]
> 2012-01-23 16:23:34,450
> [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> DEBUG c.x.x.p.l.XWikiLDAPConfig      - ldap_group_memberfields:
> [member, uniquemember]
> 2012-01-23 16:23:34,450
> [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed:
> LDAP not activ

This mean the LDAP authenticator is disabled. Since it seems to be ok
in your xwiki.cfg (xwiki.authentication.ldap=1) it's probably disabled
in the XWikiPreference page of your wiki.

> 2012-01-23 16:23:34,451
> [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Trying authentication against
> XWiki DB
> 2012-01-23 16:23:34,462
> [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> DEBUG u.i.L.XWikiLDAPAuthServiceImpl - LDAP authentication failed for
> user [Niko Test]
> 2012-01-23 16:23:34,656
> [http://192.168.220.127:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
> WARN  o.x.v.i.DefaultVelocityEngine  - Deprecated usage of method
> [com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@29,33
>
>
> i thought the authentication will start if i enter username and
> password in wiki..
> is there a order in the xwiki.cfg LDAP configuration line?
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users



-- 
Thomas Mortagne
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to