Hello,
I have a Debian Wheezy 64 Bit System and compiled FreeRdp from git head
using the following command line:

cmake -DCMAKE_BUILD_TYPE=Debug -DWITH_SSE2=ON -DWITH_PCSC=ON .

I can see my smartcard when I run the following command:

(ba) [~] 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: Generic CCID Reader [CCID Interface] (21120703393088) 00 00

Fri Dec  7 14:49:25 2012
Reader 0: Generic CCID Reader [CCID Interface] (21120703393088) 00 00
  Card state: Card inserted,
  ATR: 3B F2 18 00 02 C1 0A 31 FE 58 C8 08 74

ATR: 3B F2 18 00 02 C1 0A 31 FE 58 C8 08 74
+ TS = 3B --> Direct Convention
+ T0 = F2, Y(1): 1111, K: 2 (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) = 02 --> Extra guard time: 2
  TD(1) = C1 --> Y(i+1) = 1100, Protocol T = 1
-----
  TC(2) = 0A --> Work waiting time: 960 x 10 x (Fi/F)
  TD(2) = 31 --> Y(i+1) = 0011, Protocol T = 1
-----
  TA(3) = FE --> IFSC: 254
  TB(3) = 58 --> Block Waiting Integer: 5 - Character Waiting Integer: 8
+ Historical bytes: C8 08
  Category indicator byte: C8 (proprietary format)
+ TCK = 74 (correct checksum)

Possibly identified card (using /usr/share/pcsc/smartcard_list.txt):
3B F2 18 00 02 C1 0A 31 FE 58 C8 08 74
        Siemens CardOS V4.3B

Now I try Device Redirection Virtual Channel Extension to passthrough the
smartcard using the following command line and get:

/usr/local/bin/xfreerdp --no-nla --ignore-certificate --plugin rdpdr --data 
smartcard -- hostname.fqdn.de

And get the following output:

(ba) [~] /usr/local/bin/xfreerdp --no-nla --ignore-certificate --plugin rdpdr 
--data smartcard -- hostname.fqdn.de
WARNING: Using deprecated command-line interface!
--no-nla -> --disable-sec-nla
--ignore-certificate -> --cert-ignore
hostname.fqdn.de -> -v hostname.fqdn.de
loading channel rdpdr
loading channel rdpsnd
connected to hostname.fqdn.de:3389
Unable to get current timezone rule
Loading device service smartcard (static)
LoadLibraryA: /usr/local/lib/x86_64-linux-gnu/freerdp/smartcard-client.so: 
cannot open shared object file: No such file or directory

Than I tried to symlink the missing shared object to the pkcs11 provider:

(ba) [~] / ln -s /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so 
/usr/local/lib/x86_64-linux-gnu/freerdp/smartcard-client.so
(ba) [~] /usr/local/bin/xfreerdp --no-nla --ignore-certificate --plugin rdpdr 
--data smartcard -- hostname.fqdn.de
WARNING: Using deprecated command-line interface!
--no-nla -> --disable-sec-nla
--ignore-certificate -> --cert-ignore
hostname.fqdn.de -> -v hostname.fqdn.de
loading channel rdpdr
loading channel rdpsnd
connected to hostname.fqdn.de:3389
Unable to get current timezone rule
Loading device service smartcard (static)
GetProcAddress: could not find procedure DeviceServiceEntry: 
/usr/local/lib/x86_64-linux-gnu/freerdp/smartcard-client.so: undefined symbol: 
DeviceServiceEntry

And got the above output. Could someone talk me through what I need to
do to get it running. Wird rdesktop I use the following command line
which works for me:

$RDESKTOP -r scard hostname.fqdn.de

Cheers,
        Thomas

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to