Skip to content
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

Authentication Error #1

Open
timwhitez opened this issue Nov 17, 2021 · 2 comments
Open

Authentication Error #1

timwhitez opened this issue Nov 17, 2021 · 2 comments

Comments

@timwhitez
Copy link

InnerException: System.ComponentModel.Win32Exception (0x80004005): 无法连接到本地安全机构

修改internal static bool enableNLA = false;

提示The server requires that the client support Enhanced RDP Security with CredSSP

域内机器,已手工修改了Options.Domain

@3gstudent
Copy link
Owner

需要更多细节,我这边的环境测试都没有问题。

@Dr-Hex
Copy link

Dr-Hex commented Dec 17, 2022

@3gstudent execute RDPConf.exe
and configure "Authentication Mode" as "Network Level Authentication" (NLA), so you can reproduce the issue.
"The server requires that the client support Enhanced RDP Security with CredSSP" is actually a correct reply in such case.

However, there is an issue, when you configure "Authentication Mode" as "GUI Authentication Only".
When static bool enableNLA = false; the SharpRDPCheck always returns true.
When enableNLA = true, the SharpRDPCheck also always returns true, regardless of whether the password is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants