rdesktop 1.7.1 and smartcard redirection not working at all

Florent Deybach <[email protected]> Fri, 12 Jul 2013 17:27:56 +0200
Newsgroups gmane.network.rdesktop.user
Message-ID <CANQLNWsNf1qAw-Oa_vAZLAj2aYTq_SZeJJd2Yc0HYAfbzF1BrQ@mail.gmail.com>
Hello,

My setup is the following:

Ubuntu 12.10 32bits
libpcsclite-dev 1.8.5-1ubuntu1
pcscd 1.8.5-1ubuntu1

and
rdesktop-1.7.1

(this has been tested as well on an ubuntu 13.04 64 bits and the behaviour
is exactly the same...)

I am trying to redirect my smart card into a rdp session without success...

My smartcard is correctly recognized:


root@ubuntu12-10:~/rdesktop-1.7.1# pcsc_scan
> PC/SC device scanner
> V 1.4.20 (c) 2001-2011, Ludovic Rousseau <[email protected]>
> Compiled with PC/SC lite version: 1.8.3
> Using reader plug'n play mechanism
> Scanning present readers...
> 0: Gemalto USB Shell Token V2 00 00
>
> Fri Jul 12 17:17:36 2013
> Reader 0: Gemalto USB Shell Token V2 00 00
>   Card state: Card inserted,
>   ATR: 3B 16 96 41 73 74 72 69 64
>
> ATR: 3B 16 96 41 73 74 72 69 64
> + TS = 3B --> Direct Convention
> + T0 = 16, Y(1): 0001, K: 6 (historical bytes)
>   TA(1) = 96 --> Fi=512, Di=32, 16 cycles/ETU
>     250000 bits/s at 4 MHz, fMax for Fi = 5 MHz => 312500 bits/s
> + Historical bytes: 41 73 74 72 69 64
>   Category indicator byte: 41 (proprietary format)
>
> Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
> 3B 16 96 41 73 74 72 69 64
>         Gemalto .NET v2.0
>


and


root@ubuntu12-10:~/rdesktop-1.7.1# lsusb
> Bus 002 Device 023: ID 08e6:3438 Gemplus GemPC Key SmartCard Reader
>


When I start rdesktop it launches my session correctly but the smartcard is
not redirected...


root@ubuntu12-10:~/rdesktop-1.7.1# ./rdesktop -d YY -k fr -u deybachfl
> myserver -z -r scard:"Gemalto USB Shell Token V2 00 00" -a 16
> Static/aliased Device:
>   Lin name: [Gemalto USB Shell Token V2 00 00]
>   Win name: [Gemalto USB Shell Token V2 00 00]
>   Vendor  : []
> disconnect: Unknown reason.
>


In fact I can put anything in the scard argument, it does nothing... No
error message, even in debug mode...


root@ubuntu12-10:~/rdesktop-1.7.1# ./rdesktop -d YY -k fr -u deybachfl
> myserver -z -r scard:"haha" -a 16
> Static/aliased Device:
>   Lin name: [haha]
>   Win name: [haha]
>   Vendor  : []
> disconnect: Unknown reason.
>


Any idea?

By the way, what is the correct syntax of the smartcard name? The name
displayed by lsusb? The name displayed by pcscd?

Thanks in advance!

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

_______________________________________________
rdesktop-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-users