handavid opened a new pull request, #1314:
URL: https://github.com/apache/knox/pull/1314

   [KNOX-3385](https://issues.apache.org/jira/browse/KNOX-3385) - Ldap Proxy 
accepts search using either proxy or remote base dn
   
   ## What changes were proposed in this pull request?
   
   A method is added to the LdapBackend to indicate whether a given search base 
is applicable to that backend. The LdapProxyBackend implements this to accept 
searches against either the proxy dn or remote dn. Searches are limited to the 
specified user and group search bases to reject searches for schema, config, 
etc.
   
   ## How was this patch tested?
   
   Unit tests were added to the LdapProxyBackendTest class to verify that the 
new method returns true for both the proxy and remote DNs.
   
   ## Integration Tests
   
   gateway-site.xml was updated to have a different proxy base dn. Workflow 
tests were added to `test_knox_ldap_proxy_search.py` to search by proxy dn.
   
   ## UI changes
   none
   
   Please review [Knox Contributing 
Process](https://cwiki.apache.org/confluence/display/KNOX/Contribution+Process#ContributionProcess-GithubWorkflow)
 before opening a pull request.
   


-- 
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]

Reply via email to