[
https://issues.apache.org/jira/browse/KNOX-3577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18145956#comment-18145956
]
David Han commented on KNOX-3577:
---------------------------------
the LDAP server max size limit is already passed to the LdapProxyBackend. The
LdapProxyBackend respects this configuration but has a couple areas that can be
improved.
1. performPagedSearch retrieves full pages, so may receive up to 1 page more
entries than needed
2. performSplitSearch with multiple filters doesn't take into account the
received entries if the request sizelimit is 0. This can lead to retrieval of
extra entries up to the max size limit.
> Pass LDAP sizelimit to proxy backend
> ------------------------------------
>
> Key: KNOX-3577
> URL: https://issues.apache.org/jira/browse/KNOX-3577
> Project: Apache Knox
> Issue Type: Improvement
> Components: LDAP
> Affects Versions: 3.0.0
> Reporter: David Han
> Assignee: David Han
> Priority: Major
> Fix For: 3.1.0
>
>
> Misconfiguration of the user search dn or group search dn may lead to broader
> result sets than intended. The LdapProxyBackend eagerly collects search
> results, so it will retrieve more results than the LDAP server's sizelimit.
> Reduce the number of search results by passing the ldap server size limit
> configuration to the ldap proxy backends so excess results are not returned.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)