#358 rdesktop 1.7.1 + pcsc-lite 1.8.5

v1.7.1
open
nobody
Internals (36)
5
2014-08-24
2012-08-21
Anna Martynova
No

Have anyone tried to use rdesktop with newest versions of pcsc-lite (1.8.4, 1.8.5)?
I compiled rdesktop without problems, but I can't authenticate to session with smartcard: I connect to Windows 2008, then icon of smartcard appears for a moment, and immediately disappears.
Rdesktop doesn't show any errors.

Log of 'pcscd -adf' after I plugged in the token and started a session:

00000076 readerfactory.c:1304:RFWaitForReaderInit() Waiting init for reader: Aladdin eToken PRO USB 72K Java [Main Interface] 00 00
00000075 ifdhandler.c:1114:IFDHPowerICC() action: PowerUp, usb:0529/0620:libudev:0:/dev/bus/usb/003/002 (lun: 0)
00001957 eventhandler.c:256:EHStatusHandlerThread() powerState: POWER_STATE_POWERED
00000016 Card ATR: 3B D5 18 00 81 31 3A 7D 80 73 C8 21 10 30
05006973 ifdhandler.c:1114:IFDHPowerICC() action: PowerDown, usb:0529/0620:libudev:0:/dev/bus/usb/003/002 (lun: 0)
00001994 eventhandler.c:446:EHStatusHandlerThread() powerState: POWER_STATE_UNPOWERED
02137034 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000024 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 10
00000004 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 10
00000066 winscard_svc.c:297:ContextThread() Thread is started: dwClientID=10, threadContext @0xb6e08330
00000024 winscard_svc.c:315:ContextThread() Received command: CMD_VERSION from client 10
00000018 winscard_svc.c:327:ContextThread() Client is protocol version 4:2
00000004 winscard_svc.c:347:ContextThread() CMD_VERSION rv=0x0 for client 10
00000038 winscard_svc.c:315:ContextThread() Received command: ESTABLISH_CONTEXT from client 10
00000026 winscard.c:193:SCardEstablishContext() Establishing Context: 0x778A1E11
00000004 winscard_svc.c:408:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 10
00000031 winscard_svc.c:315:ContextThread() Received command: RELEASE_CONTEXT from client 10
00000006 winscard.c:204:SCardReleaseContext() Releasing Context: 0x778A1E11
00000003 winscard_svc.c:423:ContextThread() RELEASE_CONTEXT rv=0x0 for client 10
00000077 winscard_svc.c:307:ContextThread() Client die: 10
00000021 winscard_svc.c:918:MSGCleanupClient() Thread is stopping: dwClientID=10, threadContext @0xb6e08330
00000004 winscard_svc.c:924:MSGCleanupClient() Freeing SCONTEXT @0xb6e08330
00917063 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000028 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 10
00000007 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 10
00000070 winscard_svc.c:297:ContextThread() Thread is started: dwClientID=10, threadContext @0xb6e08330
00000061 winscard_svc.c:315:ContextThread() Received command: CMD_VERSION from client 10
00000014 winscard_svc.c:327:ContextThread() Client is protocol version 4:2
00000006 winscard_svc.c:347:ContextThread() CMD_VERSION rv=0x0 for client 10
00000064 winscard_svc.c:315:ContextThread() Received command: ESTABLISH_CONTEXT from client 10
00000044 winscard.c:193:SCardEstablishContext() Establishing Context: 0x46A503DB
00000008 winscard_svc.c:408:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 10
00000792 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 10
00008228 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 10
00000684 winscard_svc.c:315:ContextThread() Received command: RELEASE_CONTEXT from client 10
00000016 winscard.c:204:SCardReleaseContext() Releasing Context: 0x46A503DB
00000008 winscard_svc.c:423:ContextThread() RELEASE_CONTEXT rv=0x0 for client 10
00000050 winscard_svc.c:307:ContextThread() Client die: 10
00000049 winscard_svc.c:918:MSGCleanupClient() Thread is stopping: dwClientID=10, threadContext @0xb6e08330
00000008 winscard_svc.c:924:MSGCleanupClient() Freeing SCONTEXT @0xb6e08330
00005450 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000023 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 10
00000007 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 10
00000048 winscard_svc.c:297:ContextThread() Thread is started: dwClientID=10, threadContext @0xb6e08330
00000017 winscard_svc.c:315:ContextThread() Received command: CMD_VERSION from client 10
00000011 winscard_svc.c:327:ContextThread() Client is protocol version 4:2
00000007 winscard_svc.c:347:ContextThread() CMD_VERSION rv=0x0 for client 10
00000046 winscard_svc.c:315:ContextThread() Received command: ESTABLISH_CONTEXT from client 10
00000054 winscard.c:193:SCardEstablishContext() Establishing Context: 0x42B3DA1A
00000009 winscard_svc.c:408:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 10
00000745 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 10
00005137 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 10
00013933 winscard_svc.c:315:ContextThread() Received command: RELEASE_CONTEXT from client 10
00000172 winscard.c:204:SCardReleaseContext() Releasing Context: 0x42B3DA1A
00000020 winscard_svc.c:423:ContextThread() RELEASE_CONTEXT rv=0x0 for client 10
00000055 winscard_svc.c:307:ContextThread() Client die: 10
00000030 winscard_svc.c:918:MSGCleanupClient() Thread is stopping: dwClientID=10, threadContext @0xb6e08330
00000013 winscard_svc.c:924:MSGCleanupClient() Freeing SCONTEXT @0xb6e08330
00010913 winscard_msg_srv.c:230:ProcessEventsServer() Common channel packet arrival
00000017 winscard_msg_srv.c:242:ProcessEventsServer() ProcessCommonChannelRequest detects: 10
00000004 pcscdaemon.c:93:SVCServiceRunLoop() A new context thread creation is requested: 10
00000047 winscard_svc.c:297:ContextThread() Thread is started: dwClientID=10, threadContext @0xb6e08330
00000032 winscard_svc.c:315:ContextThread() Received command: CMD_VERSION from client 10
00000006 winscard_svc.c:327:ContextThread() Client is protocol version 4:2
00000003 winscard_svc.c:347:ContextThread() CMD_VERSION rv=0x0 for client 10
00000028 winscard_svc.c:315:ContextThread() Received command: ESTABLISH_CONTEXT from client 10
00000025 winscard.c:193:SCardEstablishContext() Establishing Context: 0x3E0433A
00000003 winscard_svc.c:408:ContextThread() ESTABLISH_CONTEXT rv=0x0 for client 10
00000668 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 10
00004301 winscard_svc.c:315:ContextThread() Received command: CMD_GET_READERS_STATE from client 10
00000522 winscard_svc.c:315:ContextThread() Received command: RELEASE_CONTEXT from client 10
00000007 winscard.c:204:SCardReleaseContext() Releasing Context: 0x3E0433A
00000003 winscard_svc.c:423:ContextThread() RELEASE_CONTEXT rv=0x0 for client 10
00000019 winscard_svc.c:307:ContextThread() Client die: 10
00000025 winscard_svc.c:918:MSGCleanupClient() Thread is stopping: dwClientID=10, threadContext @0xb6e08330
00000003 winscard_svc.c:924:MSGCleanupClient() Freeing SCONTEXT @0xb6e08330

Discussion