Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1747

Usersync: LDAP Paged results seems to be ignored in Ranger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0, 0.7.2
    • Ranger, usersync
    • None

    Description

      When the user has an LDAP server which enforces strict pagination (e.g.: olcSizeLimit
      http://www.openldap.org/doc/admin24/limits.html set to 50)

      and the user sets the following properties in usersync configs to comply with the server

      ranger.usersync.pagedresultsenabled=true
      ranger.usersync.pagedresultssize=50
      

      paging happens only once according to the user specified pagedresultssize, then continues to paginate by the default pagination limit of 500 https://github.com/apache/ranger/blob/master/ugsync/src/main/java/org/apache/ranger/ldapusersync/process/LdapUserGroupBuilder.java#L57

      Attachments

        Activity

          People

            spolavarapu Sailaja Polavarapu
            andrewsmith87 Endre Kovacs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: