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 - PKINIT with KCM does not work
Summary: PKINIT with KCM does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: sssd-qe
URL:
Whiteboard: sync-to-jira
Depends On: 1658813
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-10 08:48 UTC by amitkuma
Modified: 2023-12-15 17:11 UTC (History)
14 users (show)

Fixed In Version: sssd-1.16.5-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1658813
Environment:
Last Closed: 2020-09-29 19:49:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 4888 0 None closed PKINIT with KCM does not work 2021-01-15 06:20:39 UTC
Red Hat Issue Tracker SSSD-2172 0 None None None 2023-12-15 17:11:36 UTC
Red Hat Issue Tracker SSSD-2300 0 None None None 2023-12-15 17:11:52 UTC
Red Hat Product Errata RHBA-2020:3904 0 None None None 2020-09-29 19:50:15 UTC

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


Note You need to log in before you can comment on or make changes to this bug.