Uploaded image for project: 'LDAP'
  1. LDAP
  2. LDAP-74

com.xpn.xwiki.XWikiException: Error number 8001 in 8: LDAP

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 9.3.6
    • Authenticator
    • docker PostgreSQL
    • Unknown

    Description

      Sometime the LDAP authentication failed despite the user exist and the password is correct.
      It could be a problem of the cache size ?

      Here a part of the log after having enable "DEBUG" level for all LDAP package :

      2019-06-06 15:43:50,811 INFO  [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/logout/XWiki/XWikiLogout?xredirect=%2Fbin%2Fadmin%2FXWiki%2FXWikiPreferences%3Fsection%3DXWiki.Extensions%26search%3DLDAP%26repo%3Drecommended]  x.x.u.i.x.XWikiAuthServiceImpl - User XWiki.XWikiGuest has been logged-out 
      2019-06-06 15:43:50,811 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/logout/XWiki/XWikiLogout?xredirect=%2Fbin%2Fadmin%2FXWiki%2FXWikiPreferences%3Fsection%3DXWiki.Extensions%26search%3DLDAP%26repo%3Drecommended]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:43:50,827 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/admin/XWiki/XWikiPreferences?section=XWiki.Extensions&search=LDAP&repo=recommended]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:43:50,827 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/admin/XWiki/XWikiPreferences?section=XWiki.Extensions&search=LDAP&repo=recommended]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:43:50,840 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/login/XWiki/XWikiLogin?srid=J6npnnJX&xredirect=%2Fbin%2Fadmin%2FXWiki%2FXWikiPreferences%3Fsection%3DXWiki.Extensions%26search%3DLDAP%26repo%3Drecommended%26srid%3DJ6npnnJX]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:43:50,841 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/login/XWiki/XWikiLogin?srid=J6npnnJX&xredirect=%2Fbin%2Fadmin%2FXWiki%2FXWikiPreferences%3Fsection%3DXWiki.Extensions%26search%3DLDAP%26repo%3Drecommended%26srid%3DJ6npnnJX]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:43:50,938 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/cancel/XWiki/Extensions?ajax=1&action=admin&]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:43:50,938 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/cancel/XWiki/Extensions?ajax=1&action=admin&]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:43:50,955 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/login/XWiki/XWikiLogin?srid=Hqd4FhtY&xredirect=%2Fbin%2Fcancel%2FXWiki%2FExtensions%3Fajax%3D1%26action%3Dadmin%26%26srid%3DHqd4FhtY]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:43:50,955 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/login/XWiki/XWikiLogin?srid=Hqd4FhtY&xredirect=%2Fbin%2Fcancel%2FXWiki%2FExtensions%3Fajax%3D1%26action%3Dadmin%26%26srid%3DHqd4FhtY]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:43:51,054 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/cancel/XWiki/XWikiPreferences?ajax=1&action=admin&]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:43:51,054 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/cancel/XWiki/XWikiPreferences?ajax=1&action=admin&]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:43:51,080 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/login/XWiki/XWikiLogin?srid=1mf2XBe2&xredirect=%2Fbin%2Fcancel%2FXWiki%2FXWikiPreferences%3Fajax%3D1%26action%3Dadmin%26%26srid%3D1mf2XBe2]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:43:51,080 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/login/XWiki/XWikiLogin?srid=1mf2XBe2&xredirect=%2Fbin%2Fcancel%2FXWiki%2FXWikiPreferences%3Fajax%3D1%26action%3Dadmin%26%26srid%3D1mf2XBe2]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:43:51,200 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/skin/skins/flamingo/style.css?skin=XWiki.DefaultSkin&colorTheme=xwiki%3AFlamingoThemes.Charcoal]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:43:51,200 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/skin/skins/flamingo/style.css?skin=XWiki.DefaultSkin&colorTheme=xwiki%3AFlamingoThemes.Charcoal]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:43:51,363 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:43:51,363 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:44:08,824 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:44:08,824 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConfig     - remoteUserParser: null 
      2019-06-06 15:44:08,824 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConfig     - ldap_group_classes: [groupofnames, posixgroup, apple-group, groupofuniquenames, dynamicgroup, groupwisedistributionlist, group, dynamicgroupaux] 
      2019-06-06 15:44:08,824 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConfig     - ldap_group_memberfields: [uniquemember, memberuid, member] 
      2019-06-06 15:44:08,824 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConnection - Connection to LDAP server [openldap.tyforge-dev.in.ac-rennes.fr:389] 
      2019-06-06 15:44:08,839 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConnection - Binding to LDAP server with credentials login=[cn=Manager,dc=tyforge,dc=fr] 
      2019-06-06 15:44:08,846 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - Checking if the user belongs to the user group: ou=users,dc=tyforge,dc=fr 
      2019-06-06 15:44:08,846 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPUtils      - Found cache entry for group [ou=users,dc=tyforge,dc=fr] 
      // On this line there is always 999 users in this group despite on the LDAP there is more tan 1000 users...
      2019-06-06 15:44:08,846 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPUtils      - Found group [ou=users,dc=tyforge,dc=fr] members [{cn=nhrtault,ou=users,dc=tyforge,dc=fr=nhrtault, cn=jera,ou=users,dc=tyforge,dc=fr=jera, ...}] 
      2019-06-06 15:44:08,847 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPUtils      - Found user dn in user group [null] 
      2019-06-06 15:44:08,848 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed. 
      com.xpn.xwiki.XWikiException: Error number 8001 in 8: LDAP user cdesmots-ext-1 does not belong to LDAP group ou=users,dc=tyforge,dc=fr.
      	at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:596)
      	at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:366)
      	at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:300)
      	at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
      	at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
      	at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
      	at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
      	at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.checkAuth(XWikiLDAPAuthServiceImpl.java:167)
      	at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3869)
      	at org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:242)
      	at org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:272)
      	at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3887)
      	at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4972)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:364)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:748)
      2019-06-06 15:44:08,848 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user [cdesmots-ext-1] 
      2019-06-06 15:44:08,848 INFO  [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  .x.x.u.i.x.MyFormAuthenticator - User cdesmots-ext-1 login has failed 
      2019-06-06 15:44:08,848 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      2019-06-06 15:44:09,079 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode. 
      2019-06-06 15:44:09,080 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/get/TourCode/TourJson?xpage=plain&outputSyntax=plain&tourDoc=XWiki.XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - XWikiUser: null 
      

      In my xwiki.cfg regarding LDAP I have set :

      xwiki.authentication.ldap=0
      xwiki.authentication.ldap.server=openldap.tyforge-dev.in.ac-rennes.fr
      xwiki.authentication.ldap.port=389
      xwiki.authentication.ldap.bind_DN=cn=Manager,dc=tyforge,dc=fr
      xwiki.authentication.ldap.bind_pass=XXXXXXX
      xwiki.authentication.ldap.base_DN=ou=users,dc=tyforge,dc=fr
      xwiki.authentication.ldap.UID_attr=uid
      xwiki.authentication.ldap.user_group=ou=users,dc=tyforge,dc=fr
      xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=cn=admin,ou=users,dc=tyforge,dc=fr|\
      #xwiki.authentication.ldap.fields_mapping=last_name=cn,first_name=givenName,email=mail
      xwiki.authentication.ldap.mode_group_sync=always
      xwiki.authentication.ldap.group_sync_resolve_subgroups=0
      xwiki.authentication.ldap.groupcache_expiration=900
      xwiki.authentication.ldap.searchPageSize=153
      xwiki.authentication.ldap.maxresults=153
      

      If y change the last 2 parameters and restart XWiki it doesn't to affect the extension.
      How to get the values of the parameters that the extension is using ?

      Sometime I get this error too :

      2019-06-06 15:35:45,608 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConfig     - remoteUserParser: null 
      2019-06-06 15:35:45,608 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConfig     - ldap_group_classes: [groupofnames, posixgroup, apple-group, groupofuniquenames, dynamicgroup, groupwisedistributionlist, group, dynamicgroupaux] 
      2019-06-06 15:35:45,608 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConfig     - ldap_group_memberfields: [uniquemember, memberuid, member] 
      2019-06-06 15:35:45,608 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConnection - Connection to LDAP server [openldap.tyforge-dev.in.ac-rennes.fr:389] 
      2019-06-06 15:35:45,615 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPConnection - Binding to LDAP server with credentials login=[cn=Manager,dc=tyforge,dc=fr] 
      2019-06-06 15:35:45,622 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  x.c.l.XWikiLDAPAuthServiceImpl - Checking if the user belongs to the user group: ou=users,dc=tyforge,dc=fr 
      2019-06-06 15:35:45,622 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPUtils      - Retrieving Members of the group [ou=users,dc=tyforge,dc=fr] 
      2019-06-06 15:35:45,622 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPUtils      - [ou=users,dc=tyforge,dc=fr] is a valid DN, lets try to get corresponding entry. 
      2019-06-06 15:35:45,622 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.l.PagedLDAPSearchResults - LDAP pagined search: base=[ou=users,dc=tyforge,dc=fr] query=[null] attrs=[[objectClass, uniquemember, memberuid, member, uid]] scope=[2] typesOnly=[false] pageSize=[153], cookie=[null] 
      2019-06-06 15:35:45,624 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPUtils      - Probably a organization unit or a search 
      2019-06-06 15:35:45,629 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.l.PagedLDAPSearchResults - LDAP pagined search: base=[ou=users,dc=tyforge,dc=fr] query=[null] attrs=[[objectClass, uniquemember, memberuid, member, uid]] scope=[2] typesOnly=[false] pageSize=[153], cookie=[[[B@6df84cb5]] 
      2019-06-06 15:35:45,636 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.l.PagedLDAPSearchResults - LDAP pagined search: base=[ou=users,dc=tyforge,dc=fr] query=[null] attrs=[[objectClass, uniquemember, memberuid, member, uid]] scope=[2] typesOnly=[false] pageSize=[153], cookie=[[[B@5b630535]] 
      2019-06-06 15:35:45,644 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.l.PagedLDAPSearchResults - LDAP pagined search: base=[ou=users,dc=tyforge,dc=fr] query=[null] attrs=[[objectClass, uniquemember, memberuid, member, uid]] scope=[2] typesOnly=[false] pageSize=[153], cookie=[[[B@4174e5be]] 
      2019-06-06 15:35:45,651 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.l.PagedLDAPSearchResults - LDAP pagined search: base=[ou=users,dc=tyforge,dc=fr] query=[null] attrs=[[objectClass, uniquemember, memberuid, member, uid]] scope=[2] typesOnly=[false] pageSize=[153], cookie=[[[B@5b88dd36]] 
      2019-06-06 15:35:45,658 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.l.PagedLDAPSearchResults - LDAP pagined search: base=[ou=users,dc=tyforge,dc=fr] query=[null] attrs=[[objectClass, uniquemember, memberuid, member, uid]] scope=[2] typesOnly=[false] pageSize=[153], cookie=[[[B@684bf63e]] 
      2019-06-06 15:35:45,669 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.l.PagedLDAPSearchResults - LDAP pagined search: base=[ou=users,dc=tyforge,dc=fr] query=[null] attrs=[[objectClass, uniquemember, memberuid, member, uid]] scope=[2] typesOnly=[false] pageSize=[153], cookie=[[[B@74c531bd]] 
      2019-06-06 15:35:45,675 DEBUG [http://xwiki.tyforge-dev.in.ac-rennes.fr/bin/loginsubmit/XWiki/XWikiLogin]  o.x.c.ldap.XWikiLDAPUtils      - Failed to get group members 
      com.novell.ldap.LDAPException: Sizelimit Exceeded
      	at com.novell.ldap.LDAPResponse.getResultException(LDAPResponse.java:407)
      	at com.novell.ldap.LDAPResponse.chkResultCode(LDAPResponse.java:370)
      	at com.novell.ldap.LDAPSearchResults.next(LDAPSearchResults.java:289)
      	at org.xwiki.contrib.ldap.PagedLDAPSearchResults.next(PagedLDAPSearchResults.java:182)
      	at org.xwiki.contrib.ldap.XWikiLDAPUtils.getGroupMembersSearchResult(XWikiLDAPUtils.java:826)
      	at org.xwiki.contrib.ldap.XWikiLDAPUtils.getGroupMembersFromDN(XWikiLDAPUtils.java:697)
      	at org.xwiki.contrib.ldap.XWikiLDAPUtils.getGroupMembers(XWikiLDAPUtils.java:620)
      	at org.xwiki.contrib.ldap.XWikiLDAPUtils.getGroupMembers(XWikiLDAPUtils.java:860)
      	at org.xwiki.contrib.ldap.XWikiLDAPUtils.isInGroup(XWikiLDAPUtils.java:1011)
      	at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:593)
      	at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:366)
      	at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:300)
      	at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:272)
      	at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:192)
      	at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:174)
      	at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:239)
      	at org.xwiki.contrib.ldap.XWikiLDAPAuthServiceImpl.checkAuth(XWikiLDAPAuthServiceImpl.java:167)
      	at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3869)
      	at org.xwiki.security.authorization.internal.XWikiCachingRightService.authenticateUser(XWikiCachingRightService.java:242)
      	at org.xwiki.security.authorization.internal.XWikiCachingRightService.checkAccess(XWikiCachingRightService.java:272)
      	at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3887)
      	at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4972)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:364)
      	at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
      	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
      	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
      	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
      	at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
      	at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.wysiwyg.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:134)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
      	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
      	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
      	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
      	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
      	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
      	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
      	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
      	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
      	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
      	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
      	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
      	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
      	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      	at java.lang.Thread.run(Thread.java:748)
      

      Regards.
      Camille Desmots

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            Camille_D Camille Desmots
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: