Bug 1510734
Summary: | Unable to kinit with IPA user(if 2FA is enabled in IPA) | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Akshay Sakure <asakure> |
Component: | ipa | Assignee: | Florence Blanc-Renaud <frenaud> |
Status: | CLOSED MIGRATED | QA Contact: | ipa-qe <ipa-qe> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | abokovoy, frenaud, ipa-maint, pasik, pvoborni, rcritten, striker, tscherf, vmishra, vvanhaft |
Target Milestone: | beta | Keywords: | MigratedToJIRA, Triaged |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-09-18 17:51:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Akshay Sakure
2017-11-08 06:29:01 UTC
Workaround is available as per: http://www.freeipa.org/page/V4/OTP#kinit_Method kinit, to use 2 factor authentication, requires a so called FAST channel. This channel can be obtained by kiniting as different principal. E.g. admin as showed in "workaround" in comment 2. Alternative is to use SSSD which has access to host keytab and can thus establish the FAST channel automatically for the user - e.g. during authentication to the host. But for users who have access to only their Kerberos credential and no keytab and need to use kinit directly there is one alternative: anonymous PKINIT. IdM on RHEL 7.4 introduced support for anonymous PKINIT. Design page: https://www.freeipa.org/page/V4/Kerberos_PKINIT How to use: https://www.freeipa.org/page/V4/Kerberos_PKINIT#How_to_Use To paste it here: kinit -n klist ARMOR_CCACHE=$(klist|grep cache:|cut -d' ' -f3-) kinit -T $ARMOR_CCACHE principal@REALM (so it can be scripted) This will only work if IPA server has pkinit enabled. That can be checked with command: ipa-pkinit-manage status Upstream ticket: https://pagure.io/freeipa/issue/4411 Issue migration from Bugzilla to Jira is in process at this time. This will be the last message in Jira copied from the Bugzilla bug. This BZ has been automatically migrated to the issues.redhat.com Red Hat Issue Tracker. All future work related to this report will be managed there. Due to differences in account names between systems, some fields were not replicated. Be sure to add yourself to Jira issue's "Watchers" field to continue receiving updates and add others to the "Need Info From" field to continue requesting information. To find the migrated issue, look in the "Links" section for a direct link to the new issue location. The issue key will have an icon of 2 footprints next to it, and begin with "RHEL-" followed by an integer. You can also find this issue by visiting https://issues.redhat.com/issues/?jql= and searching the "Bugzilla Bug" field for this BZ's number, e.g. a search like: "Bugzilla Bug" = 1234567 In the event you have trouble locating or viewing this issue, you can file an issue by sending mail to rh-issues. You can also visit https://access.redhat.com/articles/7032570 for general account information. |