本文介绍了Windows 7 凭据提供程序(示例)锁定和解锁的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试微软提供的示例SampleCredentialProvider

I've been trying out the examples provided by microsoftSampleCredentialProvider

作为测试,我编译了其中一个并注册了 dll.登录屏幕现在显示两个额外的图块,管理员"和访客",单击管理员并提供有效密码可以让我毫无问题地登录,

as a test i've compiled one of them and registered the dll. The logon screen now displays two additional tiles, "Administrator" and "Guest", Clicking on Administrator and providing a valid password allows me to login without issues,

然而,一旦我锁定屏幕然后解锁,我重新输入密码,但我收到登录失败:未知用户名或密码错误".

however once I lock the screen and then do unlock, I re-enter the password but I get "Logon failure: unknown user name or bad password".

有人遇到过这样的问题吗?

Has anyone come across such issues?

会不会是这些计算机是域的一部分?

Could it be that the computers are part of domain?

推荐答案

答:我使用的是测试版的样例,请务必下载最新版本

Answered : I was using a beta version of the samples, always ensure you download the latest version

变化包括• 修复解锁.在 Beta2 之后,Windows Vista 更改为需要使用 KerbWorkstationUnlockLogon 消息类型来解锁机器和使用 KerbInteractiveLogon 消息类型来登录到机器.以前,它会接受用于登录和解锁的 KerbInteractiveLogon 消息类型.样本已相应更新.[v3.0]

Changes include• Fixing unlock. Post-Beta2, Windows Vista changed to require a KerbWorkstationUnlockLogon message type to unlock the machine and a KerbInteractiveLogon message type to log on to the machine. Previously it would accept a KerbInteractiveLogon message type for both logon and unlock. The samples have been updated accordingly. [v3.0]

这篇关于Windows 7 凭据提供程序(示例)锁定和解锁的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 22:11
查看更多