Skip to content

Expose krbPrincipalName as REMOTE_USER_PRINCIPAL#401

Merged
Fryguy merged 1 commit intoManageIQ:masterfrom
jrafanie:expose-krbPrincipalName-as-REMOTE_USER_PRINCIPAL
Feb 18, 2026
Merged

Expose krbPrincipalName as REMOTE_USER_PRINCIPAL#401
Fryguy merged 1 commit intoManageIQ:masterfrom
jrafanie:expose-krbPrincipalName-as-REMOTE_USER_PRINCIPAL

Conversation

@jrafanie
Copy link
Copy Markdown
Member

If it's available, we can expose the principal name as that gives a more consistent user lookup as sssd allows logins with email address or the freeipa/identity provider's username, leading to the username being not reliable for creating our internal user record based on it.

This change is needed to support this:
ManageIQ/manageiq#23723

If it's available, we can expose the principal name as that gives a more
consistent user lookup as sssd allows logins with email address or the
freeipa/identity provider's username, leading to the username being not
reliable for creating our internal user record based on it.

This change is needed to support this:
ManageIQ/manageiq#23723
@jrafanie jrafanie added the bug label Feb 13, 2026
@miq-bot
Copy link
Copy Markdown
Member

miq-bot commented Feb 13, 2026

Checked commit jrafanie@b1ca3b2 with ruby 3.3.10, rubocop 1.56.3, haml-lint 0.69.0, and yamllint
0 files checked, 0 offenses detected
Everything looks fine. 🍪

jrafanie added a commit to jrafanie/manageiq-appliance_console that referenced this pull request Feb 13, 2026
jrafanie added a commit to jrafanie/manageiq-appliance_console that referenced this pull request Feb 13, 2026
The principal name provides a consistent username for creating user records
since sssd supports logins with email or the username from the authentication
system (freeipa).  Using this consistent principal name prevents creating
duplicate users created from both the free ipa username and from the configured
email address.

Related:
ManageIQ/manageiq#23723
ManageIQ/manageiq-appliance#401
jrafanie added a commit to jrafanie/manageiq-appliance_console that referenced this pull request Feb 13, 2026
The principal name provides a consistent username for creating user records
since sssd supports logins with email or the username from the authentication
system (freeipa).  Using this consistent principal name prevents creating
duplicate users created from both the free ipa username and from the configured
email address.

Related:
ManageIQ/manageiq#23723
ManageIQ/manageiq-appliance#401
jrafanie added a commit to jrafanie/manageiq-appliance_console that referenced this pull request Feb 13, 2026
The principal name provides a consistent username for creating user records
since sssd supports logins with email or the username from the authentication
system (freeipa).  Using this consistent principal name prevents creating
duplicate users created from both the free ipa username and from the configured
email address.

Related:
ManageIQ/manageiq#23723
ManageIQ/manageiq-appliance#401
@Fryguy Fryguy merged commit 26fa2ed into ManageIQ:master Feb 18, 2026
1 check passed
jrafanie added a commit to jrafanie/manageiq-pods that referenced this pull request Feb 19, 2026
We only set this for usage through sssd and httpd but this could be used as the
de facto standard for all httpd based identity providers.

Follow up to:
ManageIQ/manageiq#23723
ManageIQ/manageiq-appliance#401
ManageIQ/guides#587
@jrafanie jrafanie deleted the expose-krbPrincipalName-as-REMOTE_USER_PRINCIPAL branch February 27, 2026 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants