rdesktop 1.6.0 is not working fine with Gina authentication (smart card).
I am using pcsc-lite 1.5.2 (with libusb support), rdesktop 1.6.0 (with smart card enabled), The smart card driver being used is of Aladdin eToken 5.0.
Server is windows 2003.
I do following steps
1. I launch rdesktop with following command
$ rdesktop -r scard IP_ADDRESS_OF_SERVER
Session is launched successfully and Gina asks smart card credentials (PIN NO of smart card)
2. I enter pin no and get into windows system smoothly.
There is a policy defined in Windows Server that if a smart card is removed, system should lock automatically. Works fine when Smart card is used locally with Windows Server system.
3. I remove smart card, Although policy says on removingsmart card, I should have logged out. Nothing happens. Desktop is still visible.
It seems that rdesktop is not sending updated smart card removal/reinsertion event to Gina. I have tested with mstsc.exe in a same environment and it works 100% fine.