I've tried the smartcard patch, but without success.
Maybe I did something wrong.
Environment: Solaris 10 SPARC box, Sun Ray thin clients with built in
smart card readers.
I've compiled it with WITH_PCSC120 flag.
I've fixed one small issue in scard.patch, then I've managed it to state
that Windows side can see the smart card reader.
Here is what i did:
--- ../rdesktop-1.4.1-orig-alex/scard.c 2005-09-29 10:19:37.000000000
+++ ../rdesktop-1.4.1-patched/scard.c 2005-09-24 16:08:51.000000000 +0200
@@ -129,9 +129,9 @@
tmpMap = (void *)( (unsigned int)nameMapList +
- len = strlen(alias);
+ len = strlen(alias) + 1;
- len = strlen(name);
+ len = strlen(name) + 1;
name = optarg;
I've attached debug output from rdesktop. I can see smart card reader on
windows side, I can see right ATR inside packets sent to windows, so it
seems like card is properly recognized.
But it seems like communication is not working.
I'm calling rdesktop with these switches:
rdesktop ... -r "scard:SunRayDTU=SunRayDTU"
It works with another (commercial) rdp client properly, so it seems like
problem is not on Windows side or Sun Ray unix server side - but maybe I'm
I'd appreciate any help.