From: B. <pj...@bi...> - 2005-04-11 09:07:51
|
Dear Matt=20 A few days ago I send an e-mail to You with information that I implemente= d=20 smart card support to rdesktop. Probably it didn't reach the target because I included gzipped source cod= e and=20 the mail server rejected the mail because of too big attachment. I'm send= ing=20 the mail once more, without attachemetn this time. The source can be down= loaded=20 from http://www.mojehobby.pl/tmp/rdesktop-1.4.0-with-scard.tgz My previous e-mail is included above Best Regards. Pawe=B3 Buchaniec ------------ I implemented smart card support to rdesktop (as a base version I used 1.= 4.0). It was tested and works fine with GemPlus (driver 3.2.1)=20 I hope this functionality will be included in future releases of rdesktop= :) What I changed (most of the changes are between #ifdef WITH_SCARD tag) : 1) configure file (it must be run with --with-scard=20 and --with-pcsc=3DPCSCLITE_DIR) 2) scard.o added to Makefile.in 3) scard.c which contains all source code for smart cards 4) scard_enum_devices added to rdesktop.c 5) rdpdr.c modified to run scard_device_control 6) types.h was modified because of conflicts with redefinition of BOOL de= fined=20 in pcsc library 7) smart card function calls are blocking so I have to run them in separa= te=20 threads and I had to add mutex support to tcp_xxx functions, because resp= onse=20 packets are send by those threads. The full source code is in the attachment. Please add information on the rdesktop webpage, that smart card support w= as=20 developed by ComArch S.A. - a software company from Poland (www.comarch.c= om) |