You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Sailaja Polavarapu (JIRA)" <ji...@apache.org> on 2017/08/23 21:58:00 UTC
[jira] [Assigned] (RANGER-1747) Usersync: LDAP Paged results seems
to be ignored in Ranger
[ https://issues.apache.org/jira/browse/RANGER-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sailaja Polavarapu reassigned RANGER-1747:
------------------------------------------
Assignee: Sailaja Polavarapu
> Usersync: LDAP Paged results seems to be ignored in Ranger
> -----------------------------------------------------------
>
> Key: RANGER-1747
> URL: https://issues.apache.org/jira/browse/RANGER-1747
> Project: Ranger
> Issue Type: Bug
> Components: Ranger, usersync
> Reporter: Endre Kovacs
> Assignee: Sailaja Polavarapu
> Fix For: 1.0.0, 0.7.2
>
> Attachments: 0001-RANGER-1747-LDAP-Paged-results-seems-to-be-ignored-i.patch, 0001-RANGER-1747-Usersync-LDAP-Paged-results-seems-to-be-.patch
>
>
> 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
> {code}
> ranger.usersync.pagedresultsenabled=true
> ranger.usersync.pagedresultssize=50
> {code}
> 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
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)