Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-3329

LDAP Component doesn't support Paging

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.0
    • 2.6.0
    • camel-ldap
    • None

    Description

      When retrieving many users from an LDAP server, an LDAP error is thrown "Ldap error 4 Size Limit Exceeded". This can sometimes be configured on the LDAP server, but in my case the limit is fixed and set to 1000 (ALUI Directory Server doesn't seem to support changing this setting).

      As a workaround PagedResultsControl in combination with LdapContext could be used if a parameter "pageSize" is given in the endoint url.

      Attachments

        1. patch.txt
          16 kB
          Georg Henzler

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            henzlerg Georg Henzler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment