Hi, wrong again.
Old credentials where used also i restarted tomcat and deleted the old
logfile before i logged in. Is that related to all the JBoss log it get?
Seems you enabled all debug log and not just LDAP authentication, you
should not get any log from JBossCache I think. Anyway this log seems
just informational not error.
Nevertheless now when i use the right credentials i cannot log in too.
09:21:33,031 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1]
DEBUG cache.RPCManagerImpl - cache mode is local, will not create
the channel
09:21:33,031 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1]
INFO factories.ComponentRegistry - JBoss Cache version: JBossCache
'Poblano' 2.2.0.GA
09:21:33,031 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1]
DEBUG cache.CacheStatus - Ignoring call to create() as current
state is STARTED
09:21:33,031 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1]
DEBUG cache.CacheStatus - Ignoring call to start() as current
state is STARTED
09:21:33,031 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1]
INFO nternal.JBossCacheCacheFactory - End JBoss cache initialisation
09:21:33,848 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[EvictionTimer-0] DEBUG eviction.BaseEvictionAlgorithm - initialized:
org.jboss.cache.eviction.LRUAlgorithm@10a6723 reqion=/xwiki recycle=0
evict=0
09:21:33,916 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[EvictionTimer-1] DEBUG eviction.BaseEvictionAlgorithm - initialized:
org.jboss.cache.eviction.LRUAlgorithm@1bdea60 reqion=/xwiki recycle=0
evict=0
09:21:37,262 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[EvictionTimer-2] DEBUG eviction.BaseEvictionAlgorithm - initialized:
org.jboss.cache.eviction.LRUAlgorithm@116e5d6 reqion=/xwiki recycle=0
evict=0
09:21:38,032 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[EvictionTimer-3] DEBUG eviction.BaseEvictionAlgorithm - initialized:
org.jboss.cache.eviction.LRUAlgorithm@d6a0e0 reqion=/xwiki recycle=0 evict=0
09:23:57,565 [] [http-80-1] DEBUG util.ModuleUtils - Get
module name for path /bin
09:23:57,565 [] [http-80-1] DEBUG util.ModuleUtils - Module
name found: default
09:23:57,565 [] [http-80-1] DEBUG action.RequestProcessor -
Processing a 'POST' for path '/loginsubmit/'
09:23:57,566 [] [http-80-1] DEBUG action.RequestProcessor - Looking
for Action instance for class com.xpn.xwiki.web.LoginSubmitAction
09:23:57,568 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1]
DEBUG ldap.XWikiLDAPConnection - Connection to LDAP server
[svivm01.ivmwien:389]
09:23:57,570 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1]
DEBUG ldap.XWikiLDAPConnection - Binding to LDAP server with
credentials login=[ivmwien\\lehner] password=[<mypassword>]
09:23:57,576 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1]
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind
failed with LDAPException.
Wrapped Exception: Invalid Credentials
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:176)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:107)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:277)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:636)
Wrapped Exception:
LDAPException: Invalid Credentials (49) Invalid Credentials
LDAPException: Server Message: 80090308: LdapErr: DSID-0C090334, comment:
AcceptSecurityContext error, data 525,
vecexpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:636)
09:23:57,578 [
http://xwiki/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1]
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki
DB
I can login with the same credentials using ldapsearch on the comand line
ldapsearch -v -h svivm01.ivmwien -p 389 -x -D ivmwien\\lehner -W -b
"dc=ivmwien" "sAMAccountName=lehner"
I really don't see what could makes authentication fail with the right
credentials specifically on linux and if it's working on Windows. The
log print exactly what is directly used to bind, except for a bug in
the Novell LDAP implementation we are using I don't have much idea
right now if the right LDAP server is pointed in the configuration.
Does password contains non-ASCII characters ?
Thanks
Helmut
--
View this message in context:
http://n2.nabble.com/LDAP-Auth-problem-in-1.6-tp1303665p1324750.html
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users