[ rdesktop-Bugs-2864500 ] patch for pcsc-lite > 1.4.4

"SourceForge.net" <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Bugs item #2864500, was opened at 2009-09-22 18:51
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381347&aid=2864500&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ludovic Rousseau (ludov)
Assigned to: Nobody/Anonymous (nobody)
Summary: patch for pcsc-lite > 1.4.4

Initial Comment:
This patch add detection of pcsc-lite version and change the handle convertion functions accordingly.

This patch should close bug 2353129 https://sourceforge.net/tracker/index.php?func=detail&aid=2353129&group_id=24366&atid=381347

See the discussion on the mailing list https://sourceforge.net/mailarchive/message.php?msg_name=baabf6440909180434q25ae0c94i4688022449e0ab53%40mail.gmail.com

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

Comment By: Nobody/Anonymous (nobody)
Date: 2009-09-28 15:58

Message:
I would like to confirm that this patch solved my problem using rdesktop in
combination with pcscd (v1.5.3). Before applying this patch, the
card-reader I was using (BE-ID middleware) was closing with errors like "0:
Unknown card type" and "e1d00200: Error loading card data". In the rdesktop
smart-card debugging output I noticed the following lines:

SCARD: SCardBeginTransaction(hcard: 0x00003f0f [0x00003f0f])              
                                                            
SCARD: -> Failure: Invalid handle. (0x80100003)                           
                                                            
SCARD: SCardStatus(hcard: 0x00003f0f [0x00003f0f], reader len: 0 bytes,
atr len: 64 bytes)                                             
SCARD: -> Failure: Invalid handle. (0x80100003)                           
                                                            
SCARD: SCardDisconnect(context: 0x0103ec4d, hcard: 0x00003f0f,
disposition: 0x00000000)                                                
SCARD: -> Failure: Invalid handle. (0x80100003)                           
           

After applying this patch, my problem is solved and the card-reader works
perfectly with rdesktop.

Thanks!

Best Regards,

Ruben de Smet
Kangaroot Linux Solutions

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

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

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.