<br><br><div class="gmail_quote">On Tue, Dec 11, 2012 at 3:39 PM, Ludovic Rousseau <span dir="ltr"><<a href="mailto:ludovic.rousseau@gmail.com" target="_blank">ludovic.rousseau@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">2012/12/11 Iulian Roman <<a href="mailto:iulian.roman@gmail.com">iulian.roman@gmail.com</a>>:<br>
><br>
> Hi Ludovic,<br>
><br>
> On Tue, Dec 11, 2012 at 1:45 PM, Ludovic Rousseau<br>
> <<a href="mailto:ludovic.rousseau@gmail.com">ludovic.rousseau@gmail.com</a>> wrote:<br>
>><br>
>> 2012/12/11 Iulian Roman <<a href="mailto:iulian.roman@gmail.com">iulian.roman@gmail.com</a>>:<br>
>> > Hi everybody,<br>
>><br>
>> Hello,<br>
>><br>
>> > I am successfully using pcsc-lite with rdesktop to authenticate vis<br>
>> > smart<br>
>> > card to some windows TS. The issue i encountered is that for a specific<br>
>> > type<br>
>> > of card (which is recognized by pcsc correctly) i get the following<br>
>> > error<br>
>> > after i type the PIN:<br>
>> ><br>
>> > SCardGetAttrib Failure: Insufficient buffer<br>
>><br>
>> What application is returning this error?<br>
><br>
><br>
> rdesktop<br>
><br>
>><br>
>><br>
>> > Did anyone experience the same issue, or does have any idea how  can it<br>
>> > be<br>
>> > fixed ?<br>
>><br>
>> SCardGetAttrib() uses a buffer and a buffer size to store the result. See<br>
>> [1].<br>
>> If the buffer size is too small then you get the error.<br>
><br>
><br>
> Is it possible to change  that limit ?<br>
<br>
</div>The limit is given by the application.<br>
In this case rdesktop is giving a too short buffer.<br></blockquote><div> </div><div>Thanks for the hint. I've posted it on the rdesktop mailing list , maybe there is someone who can point out if there is anything I can change  or if there is any workaround.<br>
 <br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Unless the problem is elsewhere...<br>
<div class="HOEnZb"><div class="h5"><br>
--<br>
 Dr. Ludovic Rousseau<br>
<br>
_______________________________________________<br>
Pcsclite-muscle mailing list<br>
<a href="mailto:Pcsclite-muscle@lists.alioth.debian.org">Pcsclite-muscle@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/mailman/listinfo/pcsclite-muscle" target="_blank">http://lists.alioth.debian.org/mailman/listinfo/pcsclite-muscle</a><br>
</div></div></blockquote></div><br>