[ rdesktop-Bugs-3560291 ] rdesktop 1.7.1 + pcsc-lite 1.8.5

SourceForge.net <[email protected]> Tue, 21 Aug 2012 04:37:51 -0700
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Bugs item #3560291, was opened at 2012-08-21 04:37
Message generated for change (Tracker Item Submitted) made by broom_
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381347&aid=3560291&group_id=24366

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Internals
Group: v1.7.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Anna Martynova (broom_)
Assigned to: Nobody/Anonymous (nobody)
Summary: rdesktop 1.7.1 + pcsc-lite 1.8.5

Initial Comment:
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


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381347&aid=3560291&group_id=24366

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/