Skip to content

KNOX-3277 : LDAP Proxy improvements for working with AD backend#1177

Open
handavid wants to merge 1 commit intoapache:masterfrom
handavid:KNOX-3277-ldapproxy-ad
Open

KNOX-3277 : LDAP Proxy improvements for working with AD backend#1177
handavid wants to merge 1 commit intoapache:masterfrom
handavid:KNOX-3277-ldapproxy-ad

Conversation

@handavid
Copy link

@handavid handavid commented Mar 13, 2026

KNOX-3277 LDAP Proxy improvements for working with AD backend

What changes were proposed in this pull request?

The LdapProxyBackend and GroupLookupInterceptors are updated to work with sAMAccountName in addition to uid and cn for user and group lookup. This involved adding the memberOf and sAMAccountName attribute types to the schema used by the proxy.

Group retrieval during user search is fixed to respect the useMemberOf flag.

Tests for the LdapProxyBackend were added.

How was this patch tested?

Changes were manually tested by running ant start-test-gateway configured against both AD and the test LDAP server.
Unit tests were added to cover the LdapProxyBackend behavior.

The LdapProxyBackend and GroupLookupInterceptors are updated to work
with sAMAccountName in addition to uid and cn for user and group lookup.
This involved adding the memberOf and sAMAccountName attribute types
to the schema used by the proxy.

Group retrieval during user search is fixed to respect the useMemberOf flag.

Tests for the LdapProxyBackend were added.
@handavid
Copy link
Author

@lmccay

@lmccay lmccay requested review from lmccay and smolnar82 March 13, 2026 18:46
@github-actions
Copy link

Test Results

7 tests   7 ✅  1s ⏱️
1 suites  0 💤
1 files    0 ❌

Results for commit 1c9e356.

@lmccay lmccay changed the title KNOX-3277. LDAP Proxy improvements for working with AD backend KNOX-3277 : LDAP Proxy improvements for working with AD backend Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant