[ rdesktop-Bugs-3302557 ] rdesktop fails auth using smartcard on 64bit

SourceForge.net <[email protected]> Thu, 24 Nov 2011 05:28:04 -0800
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
Bugs item #3302557, was opened at 2011-05-15 12:23
Message generated for change (Settings changed) made by hean01
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=381347&aid=3302557&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: Authentication
Group: None
Status: Open
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: / / (deadeyes)
Assigned to: Henrik Andersson (hean01)
Summary: rdesktop fails auth using smartcard on 64bit

Initial Comment:
I tried using rdesktop to connect to windows machines.
However it seems that after compiling the 64 bit (with smartcard support of course) binary, and using pcsc-lite, the remote desktop shows me the a PIN prompt. Even if I put in the correct PIN it does not login.

After wasting alot of time I found out that the 32bit version did work. So I setup a chroot and builded rdesktop and libpcsclite.so.1 for 32bit.
After copying those over to my 64 bit environment I can login using my PIN code.

So I am not really sure if this is an rdesktop or a pcsc-lite issue and wonder if there are other people who have the same issue(I have seen one for ubuntu).

rdesktop: 1.7.0 (with smartcard)
pcsc-lite: 1.6.6 (with usb)
OS: Gentoo Linux
gcc version 4.4.5 (Gentoo 4.4.5 p1.2, pie-0.4.5)
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"

I you need any more information please let me know and I will be happy to provide it to you.

Greetings

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

Comment By: Henrik Andersson (hean01)
Date: 2011-11-24 05:27

Message:
I believe that this is related to the issues i have fixed in commit r1646,
could you please
verify that you can successfully build and use 64bit version of rdesktop
with smartcard.

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

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

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d