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.
Verified.
Version ::
sssd-2.2.0-19.el8_1.1.x86_64
Results ::
First reproducing with sssd-2.0.0-43.el8_0.3.x86_64
[root@rhel8-3 ~]# authselect enable-feature with-smartcard-required
[root@rhel8-3 ~]# authselect enable-feature with-smartcard-lock-on-removal
[root@rhel8-3 ~]# systemctl stop sssd; rm -rf /var/lib/sss/{db,mc}/*; systemctl start sssd
[root@rhel8-3 ~]# systemctl restart gdm
[root@rhel8-3 ~]# tail -1 -f /var/log/secure
...
Mar 25 11:03:20 rhel8-3 gdm-smartcard][5319]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:24 rhel8-3 gdm-smartcard][5329]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:29 rhel8-3 gdm-smartcard][5339]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:33 rhel8-3 gdm-smartcard][5349]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:37 rhel8-3 gdm-smartcard][5359]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:42 rhel8-3 gdm-smartcard][5377]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
Mar 25 11:03:46 rhel8-3 gdm-smartcard][5396]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
When Screensaver appears trigger login and I see:
Please enter smart card labeled...
Sorry that didn't work, please try again
looping every few seconds.
Now verifying after upgrading to: sssd-2.2.0-19.el8_1.1.x86_64
[root@rhel8-3 ~]# systemctl stop sssd; rm -rf /var/lib/sss/{db,mc}/*; systemctl start sssd
[root@rhel8-3 ~]# systemctl restart gdm
[root@rhel8-3 ~]# tail -f /var/log/secure
...
Mar 25 11:10:59 rhel8-3 gdm-smartcard][7815]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID)
In the gnome session, I pulled the card and the screen locked. I slide up to access login and it prompts:
Please enter smart card labeled
sctest (MyEID)
I see no loop and only one error message in /var/log/secure.
I reinsert the card, it prompts for pin and I log back in and see this in secure:
Mar 25 11:13:31 rhel8-3 gdm-smartcard][7870]: pam_sss(gdm-smartcard:auth): authentication success; logname= uid=0 euid=0 tty=/dev/tty2 ruser= rhost= user=ipauser1
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, 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:1377
Verified. Version :: sssd-2.2.0-19.el8_1.1.x86_64 Results :: First reproducing with sssd-2.0.0-43.el8_0.3.x86_64 [root@rhel8-3 ~]# authselect enable-feature with-smartcard-required [root@rhel8-3 ~]# authselect enable-feature with-smartcard-lock-on-removal [root@rhel8-3 ~]# systemctl stop sssd; rm -rf /var/lib/sss/{db,mc}/*; systemctl start sssd [root@rhel8-3 ~]# systemctl restart gdm [root@rhel8-3 ~]# tail -1 -f /var/log/secure ... Mar 25 11:03:20 rhel8-3 gdm-smartcard][5319]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID) Mar 25 11:03:24 rhel8-3 gdm-smartcard][5329]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID) Mar 25 11:03:29 rhel8-3 gdm-smartcard][5339]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID) Mar 25 11:03:33 rhel8-3 gdm-smartcard][5349]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID) Mar 25 11:03:37 rhel8-3 gdm-smartcard][5359]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID) Mar 25 11:03:42 rhel8-3 gdm-smartcard][5377]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID) Mar 25 11:03:46 rhel8-3 gdm-smartcard][5396]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID) When Screensaver appears trigger login and I see: Please enter smart card labeled... Sorry that didn't work, please try again looping every few seconds. Now verifying after upgrading to: sssd-2.2.0-19.el8_1.1.x86_64 [root@rhel8-3 ~]# systemctl stop sssd; rm -rf /var/lib/sss/{db,mc}/*; systemctl start sssd [root@rhel8-3 ~]# systemctl restart gdm [root@rhel8-3 ~]# tail -f /var/log/secure ... Mar 25 11:10:59 rhel8-3 gdm-smartcard][7815]: pam_sss(gdm-smartcard:auth): User info message: Please enter smart card labeled#012 sctest (MyEID) In the gnome session, I pulled the card and the screen locked. I slide up to access login and it prompts: Please enter smart card labeled sctest (MyEID) I see no loop and only one error message in /var/log/secure. I reinsert the card, it prompts for pin and I log back in and see this in secure: Mar 25 11:13:31 rhel8-3 gdm-smartcard][7870]: pam_sss(gdm-smartcard:auth): authentication success; logname= uid=0 euid=0 tty=/dev/tty2 ruser= rhost= user=ipauser1