Skip to content

PHOENIX-7837 SecureUserConnectionsIT install permissive auth_to_local rules#2454

Open
apurtell wants to merge 1 commit intoapache:masterfrom
apurtell:PHOENIX-7837
Open

PHOENIX-7837 SecureUserConnectionsIT install permissive auth_to_local rules#2454
apurtell wants to merge 1 commit intoapache:masterfrom
apurtell:PHOENIX-7837

Conversation

@apurtell
Copy link
Copy Markdown
Contributor

@apurtell apurtell commented May 2, 2026

SecureUserConnectionsIT brings up an embedded MiniKDC, sets hadoop.security.authentication=kerberos and the default realm to EXAMPLE.COM, but never installs any hadoop.security.auth_to_local rules. On a developer workstation holding an active TGT for an unrelated realm KerberosName.getShortName has no matching rule to the unrelated realm and the test fails with KerberosAuthException. The fix installs permissive rules RULE:[1:$1] RULE:[2:$1] DEFAULT in the test's Configuration and also sets them statically on KerberosName.

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