简体   繁体   English

Windows 11 月 10 日更新后 Active Directory ValidateCredentials 中断

[英]Active Directory ValidateCredentials breaks after Windows 10 November update

I have an existing project that uses the following for authenticating locally on dev machine我有一个现有的项目,它使用以下内容在开发机器上进行本地身份验证

principalContext.ValidateCredentials("bondjames", "drno", ContextOptions.Negotiate);

Please note this worked fine on Windows 10 up til this morning, am aware of previous issues with this.请注意,直到今天早上,这在 Windows 10 上运行良好,我知道以前的问题。 I installed Windows 10 update 1511 and now it throws a FileNotFoundException.我安装了 Windows 10 更新 1511,现在它抛出 FileNotFoundException。 I've read of issues with the update but can't find anything on this.我已经阅读了有关更新的问题,但在这方面找不到任何内容。

If I provide an invalid password it simply returns false.如果我提供无效密码,它只会返回 false。

There was a similar issue logged with microsoft connect which suggested it to be missing registry entries in使用microsoft connect记录了一个类似的问题,这表明它在

HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows NT\\CurrentVersion , specifically: RegisteredOwner and RegisteredOrganization . HKEY_LOCAL_MACHINE\\SOFTWARE\\WOW6432Node\\Microsoft\\Windows NT\\CurrentVersion ,特别是: RegisteredOwnerRegisteredOrganization I just put in my name and company respectively.我只是分别输入了我的名字和公司。 All tests pass now.现在所有测试都通过了。

Note my issue would appear to have the same root cause as this question which I spotted had reference to same article.请注意,我的问题似乎与我发现的参考同一文章的问题具有相同的根本原因。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 UWP,Windows 11月10日更新的哈希密码(10586) - UWP, Hashing Password for Windows 10 November Update (10586) Active Directory PrincipalContext.ValidateCredentials域消除歧义 - Active Directory PrincipalContext.ValidateCredentials domain disambiguation Windows 10 Creators更新后,DateTimePicker出现乱码 - DateTimePicker garbled after Windows 10 Creators Update Windows 10 更新后的 ClickOnce 安装问题 - ClickOnce installation issue after Windows 10 Update 如何从 Windows 10 获取当前 Azure Active Directory (AAD) 用户 email - How to get current Azure Active Directory (AAD) user email from Windows 10 Windows 10更新后MAC地址顺序已更改 - MAC address order changed after windows 10 update 最新的Windows 10更新后Visual Studio 2013发布崩溃 - Visual Studio 2013 publish crash after newest windows 10 update Windows 10更新后,System.DirectoryServices.AccountManagement.PrincipalContext中断 - System.DirectoryServices.AccountManagement.PrincipalContext broken after Windows 10 update Windows 10更新后的.NET Remoting字符串比较行为 - .NET Remoting string comparison behaviour after Windows 10 update 以编程方式防止 Windows 10 在更新后自动重新启动 - Prevent Windows 10 from automatically restarting after an update programmatically
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM