Skip to content

Conversation

@SteBaum
Copy link
Contributor

@SteBaum SteBaum commented Nov 12, 2025

Which issue(s) this PR fixes

Fixes #995

Additional comments

Adding a new principal for a new host in the spnego.service.keytab did not work.The tasks in create_headless_principal_keytab.yml only add new principal to the keytab if it is empty due to a condition. This condition has been removed, however for the already existing principals in the keytab not be added again, the plugin code had to be modified.

Agreements

@SteBaum SteBaum self-assigned this Nov 12, 2025
@SteBaum SteBaum requested review from kpgtek and rpignolet November 13, 2025 08:03
@SteBaum SteBaum force-pushed the fix/spnego-new-principal branch from d9649b1 to 4fd3c81 Compare November 20, 2025 16:28
@SteBaum SteBaum changed the title feat(spnego): remove old spnego keytab when adding new hosts refactor(spnego): only add principal to keytab if it does not exist Nov 20, 2025
@SteBaum SteBaum requested a review from mehdibn November 20, 2025 16:36
@SteBaum SteBaum marked this pull request as draft November 20, 2025 16:49
@SteBaum SteBaum force-pushed the fix/spnego-new-principal branch 2 times, most recently from 30bef58 to cbea2d4 Compare November 21, 2025 12:37
@SteBaum SteBaum force-pushed the fix/spnego-new-principal branch from cbea2d4 to ccfc0d3 Compare November 25, 2025 17:48
@SteBaum SteBaum force-pushed the fix/spnego-new-principal branch from ccfc0d3 to a434ac6 Compare November 25, 2025 17:50
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.

Add new principal for spnego

2 participants