Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionFlorence Blanc-Renaud
2022-12-02 14:30:09 UTC
+++ This bug was initially created as a clone of Bug #2149889 +++
Description of problem: idm:client is missing dependency on krb5-pkinit
Version-Release number of selected component (if applicable):
ipa-server-4.9.10-8.module+el8.8.0+17351+9a3fb056.x86_64
ipa-client-4.9.10-8.module+el8.8.0+17351+9a3fb056.x86_64
How reproducible: Always
Steps to Reproduce:
1. dnf module install -y idm:DL1/client
2. [root@client tls]# ipa-client-install --domain testrelm.test --realm TESTRELM.TEST
--server=master.testrelm.test
--pkinit-identity=FILE:/etc/pki/tls/certs/client.pem,/etc/pki/tls/private/client.key
-U --pkinit-anchor=FILE:/tmp/kdc.pem -d
Actual results:
ipa-client-install fails with the error due to missing krb5-pkinit package.
'dnf module install -y idm:DL1/{client,dns}' is run the package is installed and ipa-client-install with pkinit passed.
Client uninstall complete.
Kerberos PKINIT authentication failed: CalledProcessError(Command ['/usr/bin/kinit', '-c', '/tmp/krbccjsckiuc2/ccache', '-X', 'X509_anchors=FILE:/tmp/kdc.pem', '-X', 'X509_user_identity=FILE:/etc/pki/tls/certs/client.pem,/etc/pki/tls/private/client.key', 'host/client.testrelm.test'] returned non-zero exit status 1: 'kinit: Generic preauthentication failure while getting initial credentials\n')
The ipa-client-install command failed. See /var/log/ipaclient-install.log for more information
Expected results:
ipa-client-install is successful.
Additional info:
--- Additional comment from Florence Blanc-Renaud on 2022-12-01 12:46:50 UTC ---
ipa.spec needs to add a dependency for the ipa-client package on krb5-pkinit-openssl (the client now supports enrollment using a certificate to authenticate, meaning it is using Pkinit feature).
--- Additional comment from Florence Blanc-Renaud on 2022-12-01 12:49:14 UTC ---
Upstream ticket:
https://pagure.io/freeipa/issue/9290
--- Additional comment from Florence Blanc-Renaud on 2022-12-01 13:16:42 UTC ---
Upstream PR: https://github.com/freeipa/freeipa/pull/6586
--- Additional comment from Florence Blanc-Renaud on 2022-12-02 10:35:23 UTC ---
Fixed upstream
master:
https://pagure.io/freeipa/c/827dc9afc9a82e14b03dc8bd42535ccf48712ec3
--- Additional comment from Florence Blanc-Renaud on 2022-12-02 13:47:52 UTC ---
Fixed upstream
ipa-4-9:
https://pagure.io/freeipa/c/d7c5fe5f1cc3b68492da27cf4ea25b611412c834
--- Additional comment from Florence Blanc-Renaud on 2022-12-02 14:28:11 UTC ---
Fixed upstream
ipa-4-10:
https://pagure.io/freeipa/c/2d0a0cc40fb8674f30ba62980b1953cef840009e
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (ipa bug fix and enhancement update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2023:2205