Bug 1012082

Summary: Unable to login using smart card after adding the coolkey module manually with full path /usr/lib64/pkcs11/libcoolkeypk11.so
Product: Red Hat Enterprise Linux 6 Reporter: Roshni <rpattath>
Component: pam_pkcs11Assignee: Bob Relyea <rrelyea>
Status: CLOSED ERRATA QA Contact: Asha Akkiangady <aakkiang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: jgalipea
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pam_pkcs11-0.6.2-14.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 06:43:13 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:
Embargoed:

Description Roshni 2013-09-25 16:32:47 UTC
Description of problem:
Unable to login using smart card after adding the coolkey module manually with full path /usr/lib64/pkcs11/libcoolkeypk11.so



Version-Release number of selected component (if applicable):
pam_pkcs11-0.6.2-13.el6

How reproducible:
always

Steps to Reproduce:
1. rpm -ivh coolkey-1.1.0-30.el6.x86_64
2. Logout and login with smartcard - worked
3. modutil -delete "CoolKey PKCS #11 Module" -dbdir /etc/pki/nssdb
4. modutil -add "CoolKey PKCS #11 Module" -dbdir /etc/pki/nssdb -libfile
/usr/lib64/pkcs11/libcookeypk11.so
5. Logout, smart card login not enabled
6. modutil -delete "CoolKey PKCS #11 Module" -dbdir /etc/pki/nssdb
7. cd /etc/pki/nssdb
8. chmod +r pkcs11.txt
9. modutil -add "CoolKey PKCS #11 Module" -dbdir /etc/pki/nssdb -libfile
libcookeypk11.so
10. Logout, smart card login - enabled and logged in successfully

Actual results:
Unable to login using smart card after adding the coolkey module with the full path to pkcs11 file

Expected results:
Should be able to login with smart card

Additional info:

Comment 2 RHEL Program Management 2013-10-14 01:56:12 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Roshni 2014-07-14 15:30:38 UTC
Verified on pam_pkcs11-0.6.2-14.el6.x86_64

Comment 6 Roshni 2014-07-18 14:22:05 UTC
Verification steps on RHEL 6.6:

1. rpm -ivh pam_pkcs11-0.6.2-14.el6.x86_64 and other smart card related packages (yum groupinstall "Smart card support")
2. Logout and login with smartcard - worked
3. modutil -delete "CoolKey PKCS #11 Module" -dbdir /etc/pki/nssdb
4. modutil -add "CoolKey PKCS #11 Module" -dbdir /etc/pki/nssdb -libfile
/usr/lib64/pkcs11/libcookeypk11.so
5. Logout, smart card login works

Comment 7 errata-xmlrpc 2014-10-14 06:43:13 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1474.html