handavid opened a new pull request, #1355: URL: https://github.com/apache/knox/pull/1355
[KNOX-3406](https://issues.apache.org/jira/browse/KNOX-3406) - Fix LDAP Proxy error handling ## What changes were proposed in this pull request? The LdapProxyBackend.getUser code was modified to ensure that the search cursor is closed before attempting to augment the entry with group memberships to avoid having simultaneously open cursors. The error handling in performPagedSearch was improved such that unsuccessful paging calls will result in exceptions for the caller to handle. ## How was this patch tested? Workflow was run repeatedly to try reproducing the intermittent failures in the JIRA. Through this, I discovered the paging issue that I've fixed in this PR. Unit tests were added to cover the paged search changes. ## Integration Tests no tests added ## UI changes no UI changes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
