The file is here.

https://github.com/neutrinolabs/xrdp/blob/master/sesman/chansrv/pcsc/xrdp_pcsc.c

Jay

On Tue, Apr 22, 2014 at 2:07 PM, Jay Sorg <jay.s...@gmail.com> wrote:
>> After getting xrdp SmartCard support working on 32-bit Ubuntu, CentOS and
>> OpenSuse systems, I
>> tried installing it on a Ubuntu 12.04 64-bit system.  I logged into the
>> system with xrdp and appeared to be working, so then I replaced the default
>> libpcsclite.so.1.0.0 with the xrdp one.
>>
>> The opensc-tool and piv-tool both could see the SmartCard reader, but not
>> the card.  I then
>> ran pcsc_scan and it aborted.
>>
>> I then installed a real SmartCard reader on that Ubuntu 12.01 64-bit system
>> with the original libpcsclite.so.1.0.0 and pcsc_scan ran ok and detects both
>> the reader and card.  OpenSC-tool
>> and PIV_tool also detected both the reader and and the card and all the
>> options worked ok.
>>
>> It would appear that the xrdp libpcsclite module has some type problem
>> on64-bit systems.
>
> Hum, that could be.  I thought I tested it.
> I do remember testing both 32 bit and 64 bit MSTSC clients.
> I'm not sure about the server.
> I think it should be relatively easy to fix if you can find it.
>
> One thing I find annoying the that PCSC defines LONG as unsigned int.
> I guess, that is because long in 32 bits in Win32 and Win64.
> But a long changes size on linux 32 vs linux 64.
>
> Jay

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to