I am in the process of final testing on an update that will allow SC 
authentication under Windows, but I am not sure I have seen this functionality 
in the xfreerdp code.  It is possible I have misread your post though, my first 
impression is you are running the client on windows.   As I read it again it 
sounds like you are running on a linux/unix client.  It could be possible to 
add this functionality without too much effort, though is it possible to 
redefine the card name though the pcscd configuration?  I seem to recall there 
is a file that maps the ATR to a name string.

Nik Twerdochlib

-----Original Message-----
From: Denis Cardon [mailto:denis.car...@tranquil-it-systems.fr] 
Sent: Thursday, March 06, 2014 7:12 AM
To: freerdp-devel
Subject: [Freerdp-devel] xfreerdp and smartcard name show in windows 
environement

Hello everyone,

I have an issue with the smartcard redirection with xfreerdp (up to date git 
checkout of the 1.1 stable branch). The name of the smartcard reader given by 
default by pcscd is "ACS AET65 00 00", but the name expected by the driver on 
the 2k8R2 TSE server is "Safran Morpho YpsID S3".

When using rdesktop 1.8.1, one has the possibility to remap the driver name 
using the following command line, and the token is picked up properly in the 
user session :
  rdesktop -r scard:"ACS AET65 00 00"="Safran Morpho YpsID S3" srvtse1

Is there any equivalent in xfreerdp? I have tried the following syntaxes to no 
avail :
  xfreerdp /smartcard:"Safran Morpho YpsID S3" /v:srvtse1
  xfreerdp /smartcard:"ACS AET65 00 00"="Safran Morpho YpsID S3" /v:srvtse1

xfreerdp binary is compiled with the following options :
  cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_PCSC=ON  .

The pcsc_scan of the token is given below.

Cheers,

Denis



[root@ rdesktop-1.8.1]# pcsc_scan
PC/SC device scanner
V 1.4.20 (c) 2001-2011, Ludovic Rousseau <ludovic.rouss...@free.fr> Compiled 
with PC/SC lite version: 1.8.3 Using reader plug'n play mechanism Scanning 
present readers...
0: ACS AET65 00 00

Thu Mar  6 20:11:49 2014
Reader 0: ACS AET65 00 00
   Card state: Card inserted, Shared Mode,
   ATR: 3B 7D 18 00 00 00 48 79 70 73 49 44 20 53 33 07 90 00

ATR: 3B 7D 18 00 00 00 48 79 70 73 49 44 20 53 33 07 90 00
+ TS = 3B --> Direct Convention
+ T0 = 7D, Y(1): 0111, K: 13 (historical bytes)
   TA(1) = 18 --> Fi=372, Di=12, 31 cycles/ETU
     129032 bits/s at 4 MHz, fMax for Fi = 5 MHz => 161290 bits/s
   TB(1) = 00 --> VPP is not electrically connected
   TC(1) = 00 --> Extra guard time: 0
+ Historical bytes: 00 48 79 70 73 49 44 20 53 33 07 90 00
   Category indicator byte: 00 (compact TLV data object)
     Tag: 4, len: 8 (initial access data)
       Initial access data: 79 70 73 49 44 20 53 33
     Mandatory status indicator (3 last bytes)
       LCS (life card cycle): 07 (Operational state (activated))
       SW: 9000 (Normal processing.)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B 7D 18 00 00 00 48 79 70 73 49 44 20 53 33 07 90 00
        Safran Morpho YpsID S3


--
Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint SĂ©bastien sur Loire
tel : +33 (0) 2.40.97.57.55
http://www.tranquil-it-systems.fr


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to