javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'dc=dolby,dc=net'

Atlassian JIRA | Andy Brook (Javahollic Software) | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Whilst modifying LDAP Authentication Settings, I updated a field and saved. It tried to read all users which resulted in a stack. The ldap auth settings code that does user retrievals should batch user retrieval (start with a* b*, if the error recurrs go to aa* ab* etc) {quote} WARN - LDAP: could not list users using sAMAccountName=* on dc=dolby,dc=net (authenticated) javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'dc=dolby,dc=net' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3057) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758) at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171) at com.cenqua.fisheye.user.ldap.LDAPAuth.getAllUserNames(LDAPAuth.java:335) at com.cenqua.fisheye.user.UserManager.resyncAuth(UserManager.java:455) at com.cenqua.fisheye.user.AuthSynchroniser$1.run(AuthSynchroniser.java:44) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) {quote} *Workarounds* # Raise the result size limit on the AD server itself. # Consider using Atlassian's user management tool, [Crowd|http://www.atlassian.com/software/crowd/overview] or, if you use JIRA connected to LDAP, consider using JIRA for User Management.

    Atlassian JIRA | 9 years ago | Andy Brook (Javahollic Software)
    javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'dc=dolby,dc=net'
  2. 0

    Whilst modifying LDAP Authentication Settings, I updated a field and saved. It tried to read all users which resulted in a stack. The ldap auth settings code that does user retrievals should batch user retrieval (start with a* b*, if the error recurrs go to aa* ab* etc) {quote} WARN - LDAP: could not list users using sAMAccountName=* on dc=dolby,dc=net (authenticated) javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'dc=dolby,dc=net' at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3057) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758) at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198) at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171) at com.cenqua.fisheye.user.ldap.LDAPAuth.getAllUserNames(LDAPAuth.java:335) at com.cenqua.fisheye.user.UserManager.resyncAuth(UserManager.java:455) at com.cenqua.fisheye.user.AuthSynchroniser$1.run(AuthSynchroniser.java:44) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) {quote} *Workarounds* # Raise the result size limit on the AD server itself. # Consider using Atlassian's user management tool, [Crowd|http://www.atlassian.com/software/crowd/overview] or, if you use JIRA connected to LDAP, consider using JIRA for User Management.

    Atlassian JIRA | 9 years ago | Andy Brook (Javahollic Software)
    javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'dc=dolby,dc=net'
  3. 0

    javax.naming.SizeLimitExceededException error when enable jndi authentication in contorltier 3.6.0

    Google Groups | 6 years ago | hailong
    javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'cn=users,dc=******,dc=******,dc=*****,dc=*****'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JRA-23874] JIRA LDAP is not respecting the configured 'Use Paged Results' page size - Atlassian JIRA

    atlassian.com | 2 years ago
    com.atlassian.crowd.exception.OperationFailedException: org.springframework.ldap.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'ou=users,ou=system'
  6. 0

    Error synchronizing users from LDAP: SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]

    YouTrack | 7 years ago
    org.springframework.ldap.LimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name ''

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.naming.SizeLimitExceededException

      [LDAP: error code 4 - Sizelimit Exceeded]; remaining name 'dc=dolby,dc=net'

      at com.sun.jndi.ldap.LdapCtx.mapErrorCode()
    2. Java RT
      LdapNamingEnumeration.hasMore
      1. com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3057)
      2. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2951)
      3. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2758)
      4. com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(LdapNamingEnumeration.java:129)
      5. com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(LdapNamingEnumeration.java:198)
      6. com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(LdapNamingEnumeration.java:171)
      6 frames
    3. com.cenqua.fisheye
      AuthSynchroniser$1.run
      1. com.cenqua.fisheye.user.ldap.LDAPAuth.getAllUserNames(LDAPAuth.java:335)
      2. com.cenqua.fisheye.user.UserManager.resyncAuth(UserManager.java:455)
      3. com.cenqua.fisheye.user.AuthSynchroniser$1.run(AuthSynchroniser.java:44)
      3 frames
    4. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:512)
      2. java.util.TimerThread.run(Timer.java:462)
      2 frames