Re: Card attributes gets lost through RDP session with rdesktop
Mican Jindrich <[email protected]> Fri, 27 Mar 2015 08:34:03 +0000
| Newsgroups | gmane.network.rdesktop.user |
|---|---|
| Message-ID | <D544AF128F9EFA479C7BA255E8861E5252774D@LGEXCHANGE2010.intern.local> |
--===============3110493586163372645== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_D544AF128F9EFA479C7BA255E8861E5252774DLGEXCHANGE2010int_" --_000_D544AF128F9EFA479C7BA255E8861E5252774DLGEXCHANGE2010int_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello Robin, thank you very much for your reply! I am happy that someone finally gave me= somewhere to look while I have already checked tens if not over hundred Go= ogle search result... (I am pro in Windows servers, their server apps etc, = but linux-windows communication is kind of new to me) I will try it out and will let know if it will work. Sadly even when it will work, I have to find solution which won't require h= igh investments... and I am not sure about prices of Cryptovision. Thank you again! Henry Von: Robin Jonsson [mailto:[email protected]] Gesendet: Freitag, 27. M=E4rz 2015 09:18 An: Mican Jindrich; [email protected] Betreff: Re: [rdesktop-users] Card attributes gets lost through RDP session= with rdesktop Hello Henry, I had somewhat of the same issue. I had a setup of an IGEL Thin Client with an OmniKey 3121 reader from which= I connected via rDesktop to a Windows 7 x64 Client. The card and the reade= r showed up in Windows and seemed fine until I actually tried to read somet= hing. I just got a single flash on the LED and then the software reading hu= ng (certificate export in certmgr.msc or whatever) until the card was remov= ed. Connecting the reader directly to the Windows 7 x64 worked perfectly. S= o did Windows 7 x64 -> Windows 7 x64 SC RDP redirect. So the issue was Linu= x + PC/SC + rdesktop + M$ compatibility related. Installing Cryptovison sc/interface 6.1.6 on Windows solved my issue. I had some help from Ludovico Rousseau, the main developer of the PC/SC dae= mon, troubleshooting the rDesktop -> PC/SC hook chain, which turned out to = be fine. Cryptovision was very accommodating regarding Trial licenses. Cheers, Robin Fr=E5n: Mican Jindrich <[email protected]<mailto:Jindrich.Mican@lg= nexera.at>> Datum: 2015March27Friday 08:42 Till: "[email protected]<mailto:[email protected]= rceforge.net>" <[email protected]<mailto:rdesktop-users@= lists.sourceforge.net>> =C4mne: [rdesktop-users] Card attributes gets lost through RDP session with= rdesktop Hello, I know that this is just slightly related topic to rdesktop - it might be p= roblem with it or even pcsc, still due to having no idea what to do next, I= am writing even here to ask if they do not know solution or did not have s= imilar experience: I am using openthinclient to get mini-image on thinclients which then conne= ct through RDP to Windows platform. Connector is rdesktop, provider of smar= tcard drivers - REINER driver + PCSC-Lite. I have moved onward with everything... made rdesktop 1.8.3 and pscs-lite 1.= 8.13 for my dev-site but it seems that it did not work as I have expected. = (packages for TCO are remade DEB packages - just for info) But I have problems with Smartcard reader from REINER SCT - Cyberjack e-com= plus which does not simply work even with its own drivers, that are provid= ed on web-site. I was trying older rdesktop aswell as the new one I have ma= de, same for pcsc-lite including latest drivers from Reiner... RDP destination is Windows 2008 R2 SP1 with Reiner SCT SW installed. On mini client everything works as expected, remote desktop works, USB supp= ort works, but when I do test of card reader then everything is fine, but I= do not see attributes of card in card reader. On thin-client pcscd does se= e the card and reader.. pcsc_scan confirms that everything works as expecte= d, but on server side ... attributes of card gets lost (reader itself shows= just fine, SW reacts on card being in reader or not). So, it looks like smartcard redirection gets somewhere wrong, I can send sc= reenshots with one of testing applications being not able to receive card a= ttributes, meaning - smartcard redirection goes wrong. I noticed the differ= ence with WTS (Windows RDP system) that share there still refers to smartca= rd as USB device, while with rdesktop (or even FreeRDP) smartcard is being = refered as PC/SC device only (or at least mostly). Anyone has such an experience? It looks like compatibility issue or so. Thi= s is really point where cannot do anything else than check source codes for= anything (which I am already doing... but I am getting nowhere) Thank you very much in advance for any help. Jindrich Mican alias "Henry" PS: I have tried this even with laptop with Broadcom cardreader and it was = the same, I tried Ubuntu 14.04 (64bit)/Debian 7.8 (32bit).. I tried old rde= sktop, new, old drivers and new etc. Well, most of things that you could th= ink of, even 3 different applications on host side to check smartcard reade= r... --_000_D544AF128F9EFA479C7BA255E8861E5252774DLGEXCHANGE2010int_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr= osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:= //www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 1"> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:#0563C1; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} span.E-MailFormatvorlage17 {mso-style-type:personal; font-family:"Calibri",sans-serif; color:windowtext;} span.E-MailFormatvorlage18 {mso-style-type:personal; font-family:"Calibri",sans-serif; color:windowtext;} span.E-MailFormatvorlage19 {mso-style-type:personal; font-family:"Calibri",sans-serif; color:windowtext;} span.E-MailFormatvorlage20 {mso-style-type:personal-reply; font-family:"Calibri",sans-serif; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-size:10.0pt;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 {page:WordSection1;} --></style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--> </head> <body lang=3D"DE-AT" link=3D"#0563C1" vlink=3D"#954F72"> <div class=3D"WordSection1"> <p class=3D"MsoNormal">Hello Robin,<o:p></o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">thank you very much for your re= ply! I am happy that someone finally gave me somewhere to look while I have= already checked tens if not over hundred Google search result… (I am= pro in Windows servers, their server apps etc, but linux-windows communication is kind of new to me)<o:p></o:p></spa= n></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">I will try it out and will let = know if it will work.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Sadly even when it will work, I= have to find solution which won’t require high investments… an= d I am not sure about prices of Cryptovision.<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Thank you again!<o:p></o:p></sp= an></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US">Henry<o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p> </o:p></span></p> <div> <div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal"><b><span lang=3D"DE" style=3D"mso-fareast-language:D= E-AT">Von:</span></b><span lang=3D"DE" style=3D"mso-fareast-language:DE-AT"= > Robin Jonsson [mailto:[email protected]] <br> <b>Gesendet:</b> Freitag, 27. M=E4rz 2015 09:18<br> <b>An:</b> Mican Jindrich; [email protected]<br> <b>Betreff:</b> Re: [rdesktop-users] Card attributes gets lost through RDP = session with rdesktop<o:p></o:p></span></p> </div> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black">Hello H= enry, </span><span style=3D"font-size:10.5pt;color:black;mso-fareast-l= anguage:DE-AT"><o:p></o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black"><o:p>&n= bsp;</o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black">I had s= omewhat of the same issue.<o:p></o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black"><o:p>&n= bsp;</o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black">I had a= setup of an IGEL Thin Client with an OmniKey 3121 reader from which I conn= ected via rDesktop to a Windows 7 x64 Client. The card and the reader showe= d up in Windows and seemed fine until I actually tried to read something. I just got a single flash on the LED a= nd then the software reading hung (certificate export in certmgr.msc or wha= tever) until the card was removed. Connecting the reader directly to the Wi= ndows 7 x64 worked perfectly. So did Windows 7 x64 -> Windows 7 x64 SC RDP redirect. So the issue was Li= nux + PC/SC + rdesktop + M$ compatibility related.<o:p></o:p></= span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black"><o:p>&n= bsp;</o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black">Install= ing Cryptovison sc/interface 6.1.6 on Windows solved my issue.<o:p></o:p></= span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black"><o:p>&n= bsp;</o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black">I had s= ome help from Ludovico Rousseau, the main developer of the PC/SC daemon, tr= oubleshooting the rDesktop -> PC/SC hook chain, which turned out to be f= ine. Cryptovision was very accommodating regarding Trial licenses.<o:p></o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black"><o:p>&n= bsp;</o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black">Cheers,= <o:p></o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black">Robin<o= :p></o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black"><o:p>&n= bsp;</o:p></span></p> </div> <div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm = 0cm 0cm"> <p class=3D"MsoNormal"><b><span style=3D"color:black">Fr=E5n: </span></b><s= pan style=3D"color:black">Mican Jindrich <<a href=3D"mailto:Jindrich.Mic= [email protected]">[email protected]</a>><br> <b>Datum: </b>2015March27Friday 08:42 <br> <b>Till: </b>"<a href=3D"mailto:[email protected]">= [email protected]</a>" <<a href=3D"mailto:rdeskt= [email protected]">[email protected]</a>>= ;<br> <b>=C4mne: </b>[rdesktop-users] Card attributes gets lost through RDP sessi= on with rdesktop<o:p></o:p></span></p> </div> <div> <p class=3D"MsoNormal"><span style=3D"font-size:10.5pt;color:black"><o:p>&n= bsp;</o:p></span></p> </div> <div> <div> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">Hello,</s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">I know th= at this is just slightly related topic to rdesktop – it might be prob= lem with it or even pcsc, still due to having no idea what to do next, I am= writing even here to ask if they do not know solution or did not have similar experience:</span><span style=3D"color:bl= ack"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">I am usin= g openthinclient to get mini-image on thinclients which then connect throug= h RDP to Windows platform. Connector is rdesktop, provider of smartcard dri= vers – REINER driver + PCSC-Lite.</span><span style=3D"color:blac= k"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">I have mo= ved onward with everything… made rdesktop 1.8.3 and pscs-lite 1.8.13 = for my dev-site but it seems that it did not work as I have expected. (pack= ages for TCO are remade DEB packages – just for info)</span><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">But I hav= e problems with Smartcard reader from REINER SCT – Cyberjack e-com pl= us which does not simply work even with its own drivers, that are provided = on web-site. I was trying older rdesktop aswell as the new one I have made, same for pcsc-lite including latest drivers fr= om Reiner… </span><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">RDP desti= nation is Windows 2008 R2 SP1 with Reiner SCT SW installed. </span><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">On mini c= lient everything works as expected, remote desktop works, USB support works= , but when I do test of card reader then everything is fine, but I do not s= ee attributes of card in card reader. On thin-client pcscd does see the card and reader.. pcsc_scan confirms tha= t everything works as expected, but on server side … attributes of ca= rd gets lost (reader itself shows just fine, SW reacts on card being in rea= der or not). </span><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">So, it lo= oks like smartcard redirection gets somewhere wrong, I can send screenshots= with one of testing applications being not able to receive card attributes= , meaning – smartcard redirection goes wrong. I noticed the difference with WTS (Windows RDP system) that share t= here still refers to smartcard as USB device, while with rdesktop (or even = FreeRDP) smartcard is being refered as PC/SC device only (or at least mostl= y).</span><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">Anyone ha= s such an experience? It looks like compatibility issue or so. This is real= ly point where cannot do anything else than check source codes for anything= (which I am already doing… but I am getting nowhere)</span><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">Thank you= very much in advance for any help.</span><span style=3D"color:black"><o:p>= </o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">Jindrich = Mican alias “Henry”</span><span style=3D"color:black"><o:p></o:= p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black"> </s= pan><span style=3D"color:black"><o:p></o:p></span></p> <p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:black">PS: I hav= e tried this even with laptop with Broadcom cardreader and it was the same,= I tried Ubuntu 14.04 (64bit)/Debian 7.8 (32bit).. I tried old rdesktop, ne= w, old drivers and new etc. Well, most of things that you could think of, even 3 different applications on host s= ide to check smartcard reader…</span><span style=3D"color:black"><o:p= ></o:p></span></p> </div> </div> </div> </body> </html> --_000_D544AF128F9EFA479C7BA255E8861E5252774DLGEXCHANGE2010int_-- --===============3110493586163372645== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ --===============3110493586163372645== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ rdesktop-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdesktop-users --===============3110493586163372645==--