Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-134

Add support for paged results for LDAP servers.

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • 0.4.3
    • None
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      When results exceed a 999 results Microsoft Active Directory will throw the following exception:

      org.springframework.ldap.SearchLimitExceededException: Too many objects found; nested exception is javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name '
      at com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector.testConnection(SpringLDAPConnector.java:669)
      at com.atlassian.crowd.console.action.directory.CreateConnector.doUpdate(CreateConnector.java:132)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:615)
      at com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:364)
      at com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:216)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190)
      at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:31)
      at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:188)

      Information on how to accomplish this with standard JNDI/LDAP code:

      http://forum.java.sun.com/thread.jspa?threadID=578347&tstart=0

      Information on how to accomplish this with Spring's LDAP Template:

      http://static.springframework.org/spring-ldap/docs/1.1.1/reference/#d0e993

      Attachments

        Activity

          People

            Unassigned Unassigned
            justin@atlassian.com Justin Koke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: