On RHEL 5.10/11, if "Smart Card Support" is enabled and "Card Removal Action" is configured as "Lock", screen will be locked several seconds after login with smart card. The workaround is discussed in this KB
All Versions of Centrify DirectControl on RHEL 5.10/11
On RHEL 5.10/11, if "Smart Card Support" is enabled and "Card Removal Action" is configured as "Lock", the screen will be locked several seconds after a successful login with smart card.
There are issues with RHEL gdm and nss packages in RHEL 5.10 and 5.11.
Libcentrifypkcs11.so has been configured to let apps access the smart card and is loaded into /etc/pki/nssdb/secmod.db.
When an app wants to access the smart card, it will check to see if libcentrifypkcs11.so exists in the secmod.db by using the nss librarry libsoftokn3.so.
On RHEL 5.10/11, libsoftokn3.so cannot open /etc/pki/nssdb/secmod.db, even though it exists.
This will cause the app to think that the smart card is unplugged and when the Group Policy "Lock Smart Card screen for RHEL" is enabled, and gnome-screensaver finds "smart card unplugged", it will do a screen lock. Thus causing this issue to happen.
Replace libsoftokn3.so with the old one on RHEL 5.9, which is a shared object file in NSS package
The version of NSS from RHEL 5.9 is: nss-3.13.5-8.el5