-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCardListReadersW failed with error -2146435043 #5791
Comments
@ondrejholy just stumbled over this: |
@akallabeth interesting that they use the build number exactly for this as this must not be set at all. It's something the client chooses. Definitely worth a try. |
That sounds promising, I will pass build with the modified |
@ondrejholy ok, was able to reproduce it when uninstalling |
@ondrejholy as for the |
Hmm, I would think that without |
Yay, that's it, but it also seems that |
@ondrejholy works with basic stuff, but needs another pr. (the functions you mentioned) |
@ondrejholy ok, added all the required stuff in #5830 which allows
|
I´ve created #5884 to improve smartcard data read/write. |
@akallabeth, thanks for your work on this. I will provide a testing build to our customer and let you know. |
…ld number Corresponds to xfreerdp /client-build-number:<number> option This parameter is used by Windows server i.a. as simple feature negotiation in Smartcard Reader channel. There is no other way to client to signal smartcard features supported. If not specified, server assumes support for all functions but is prepared for these functions to fail. See Chapter 1.7 in [RDPESC] specification. ClientBuild less than 4034 means Windows XP (also 64-bit) and older client with basic set of redirected smartcard functions Values 4034-7064 mean Windows Vista/7/2008 client and signals support for: - SCARD_IOCTL_GETTRANSMITCOUNT - SCARD_IOCTL_READCACHEA, SCARD_IOCTL_READCACHEW - SCARD_IOCTL_WRITECACHEA, SCARD_IOCTL_WRITECACHEW Values larger or equal 7065 mean Windows 8 and newer and signals support for - SCARD_IOCTL_GETREADERICON - SCARD_IOCTL_GETDEVICETYPEID See also FreeRDP/FreeRDP#5791 (comment).
Describe the bug
Smartcard redirection seems to work properly with #5499, however one of our customers see
[15:21:32:565] [18068:18191] [ERROR][com.freerdp.channels.smartcard.client] - SCardListReadersW failed with error -2146435043
in the log every 2 ms anyway when connecting to Windows 10. Any idea what is wrong?To Reproduce
Steps to reproduce the behavior:
--no-nla --plugin rdpsnd --plugin rdpdr --data scard: --
options. (They use an old syntax for some reason, but it seems that it is correctly translated to-no-nla
and/smartcard
options).SCardListReadersW failed with error -2146435043
is printed every 2 ms.Application details
It has been tested on RHEL 7/8 with rc4 including #5499. It has been tried with several other smartcard fixes from master, but without any success.
The text was updated successfully, but these errors were encountered: