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.

Bug 1781539

Summary: PKINIT with KCM does not work
Product: Red Hat Enterprise Linux 7 Reporter: amitkuma
Component: sssdAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.8CC: aheverle, atikhono, grajaiya, jhrozek, lslebodn, mzidek, orion, pbrezina, sbose, sgoveas, spoore, sssd-maint, thalman, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira
Fixed In Version: sssd-1.16.5-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1658813 Environment:
Last Closed: 2020-09-29 19:49:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1658813    
Bug Blocks:    

Comment 8 Alexey Tikhonov 2020-04-21 08:24:54 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/1028

Comment 9 Pavel Březina 2020-04-21 11:16:20 UTC
* `sssd-1-16`
    * a61b80d7f10bbdfaa10fde1f868c9fb4b7abe62f - krb5_child: fix permissions during SC auth

Comment 15 Scott Poore 2020-06-11 18:51:35 UTC
Verified.

Version ::

sssd-1.16.5-10.el7.x86_64
sssd-kcm-1.16.5-10.el7.x86_64


Results ::

[root@rhel7-4 ~]# vim /etc/krb5.conf

[root@rhel7-4 ~]# grep ccache /etc/krb5.conf
  #default_ccache_name = KEYRING:persistent:%{uid}
  default_ccache_name = KCM:

[root@rhel7-4 ~]# systemctl start sssd-kcm.socket
[root@rhel7-4 ~]# systemctl enable sssd-kcm.socket

[root@rhel7-4 ~]# systemctl start sssd-secrets.socket
[root@rhel7-4 ~]# systemctl enable sssd-secrets.socket
Created symlink from /etc/systemd/system/sockets.target.wants/sssd-secrets.socket to /usr/lib/systemd/system/sssd-secrets.socket.

[root@rhel7-4 ~]# vim /etc/sssd/sssd.conf 
[root@rhel7-4 ~]# tail -3 /etc/sssd/sssd.conf
[kcm]
debug_level = 9


[root@rhel7-4 ~]# systemctl stop sssd; rm -rf /var/lib/sss/{db,mc}/*; systemctl start sssd

[root@rhel7-4 ~]# ls -l /var/run/.heim_org.h5l.kcm-socket
srw-rw-rw-. 1 root root 0 Jun 11 13:40 /var/run/.heim_org.h5l.kcm-socket

[root@rhel7-4 ~]# su - singleuser1 -c "kdestroy -A"

[root@rhel7-4 ~]# su - singleuser1 -c "su - singleuser1 -c klist"
PIN for sctest (MyEID)
Ticket cache: KCM:603200076:79526
Default principal: singleuser1

Valid starting       Expires              Service principal
06/11/2020 13:44:44  06/12/2020 13:44:37  krbtgt/EXAMPLE.COM

Comment 17 errata-xmlrpc 2020-09-29 19:49:11 UTC
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 (sssd 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-2020:3904