handavid opened a new pull request, #1359: URL: https://github.com/apache/knox/pull/1359
[KNOX-3425](https://issues.apache.org/jira/browse/KNOX-3425) - LDAP Proxy disallows anonymous binds to remote backends ## What changes were proposed in this pull request? The LdapProxyBackend.authenticate method will now return false if either the given DN or password is empty to prevent unauthorized and anonymous binds. The UserSearchInterceptor is also updated to not call the backend if the DN or password is empty. Cherry-picks #1358 to v3.0.0 ## How was this patch tested? Unit tests added. Manual tests performed using ldapsearch to attempt anonymous bind that previously succeeded ``` ldapsearch -v -x -H ldap://localhost:3890 -b 'ou=people,DC=proxy,DC=com' '(uid=guest*)' '*' ``` ## Integration Tests integration tests were run locally ## 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]
