Bug 1373240

Summary: Authentication failure message even before attempting login using smartcard
Product: Red Hat Enterprise Linux 7 Reporter: Roshni <rpattath>
Component: gnome-shellAssignee: Florian Müllner <fmuellner>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: nmavrogi, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:45:27 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:

Description Roshni 2016-09-05 15:09:17 UTC
Description of problem:
Authentication failure message even before attempting login using smartcard

Version-Release number of selected component (if applicable):
[root@dhcp129-54 ~]# rpm -q pam_pkcs11
pam_pkcs11-0.6.2-24.2.el7.x86_64
[root@dhcp129-54 ~]# rpm -q gdm
gdm-3.14.2-18.el7.x86_64
[root@dhcp129-54 ~]# rpm -q gnome-shell
gnome-shell-3.14.4-52.el7.x86_64


How reproducible:
always

Steps to Reproduce:
1. Modify authconfig to enable "Require smartcard for login"
2. Login using smartcard
3. Lock screen manually or due to inactivity
4. Remove smartcard
5. The login screen prompts to enter the smartcard
6. Click "Cancel" on the login screen

Actual results:
Before showing the message to insert the smartcard an authentication failure message is shown.

Expected results:
the login screen should show only the message to insert the smartcard

Additional info:

/var/log/secure

Sep  5 11:01:42 dhcp129-54 gdm-smartcard]: pam_pkcs11(gdm-smartcard:auth): conversation failed
Sep  5 11:01:42 dhcp129-54 gdm-smartcard]: pam_pkcs11(gdm-smartcard:auth): pam_get_pwd() failed: Conversation error
Sep  5 11:01:43 dhcp129-54 gdm-smartcard]: pam_pkcs11(gdm-smartcard:auth): conversation failed
Sep  5 11:01:43 dhcp129-54 gdm-smartcard]: pam_pkcs11(gdm-smartcard:auth): pam_get_pwd() failed: Conversation error


/var/log/messages

Sep  5 11:02:22 dhcp129-54 dbus-daemon: dbus[824]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
Sep  5 11:02:22 dhcp129-54 dbus[824]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service'
Sep  5 11:02:22 dhcp129-54 systemd: Starting Fingerprint Authentication Daemon...
Sep  5 11:02:22 dhcp129-54 dbus[824]: [system] Successfully activated service 'net.reactivated.Fprint'
Sep  5 11:02:22 dhcp129-54 dbus-daemon: dbus[824]: [system] Successfully activated service 'net.reactivated.Fprint'
Sep  5 11:02:22 dhcp129-54 fprintd: Launching FprintObject
Sep  5 11:02:22 dhcp129-54 fprintd: ** Message: D-Bus service launched with name: net.reactivated.Fprint

Comment 4 RHEL Program Management 2020-12-15 07:45:27 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.