Skip to content

PHOENIX-7837 SecureUserConnectionsIT install permissive auth_to_local rules - #2454

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

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

Conversation

@apurtell

Copy link
Copy Markdown
Contributor

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.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

Rebased on current master.

@palashc

Copy link
Copy Markdown
Contributor

@palashcpalashc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, pending build results

@apurtell
apurtell requested a balanced review from CopilotAugust 15, 2026 12:16

CopilotAI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for freeto 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.

3 participants

@apurtell@palashc