服务器2008 R2中的凭据提供程序

时间:2013-03-11 07:44:01

标签: c++ windows windows-authentication credential-providers

我是凭证提供商的新手。 我让我的提供者以SampleCredentialProvider为起点。在一些机器上它工作。 现在我看到在WINDOWS Server 2008 R2上它不起作用:它不会比实例化凭证提供程序更进一步。 特别是,我没有收到GetCredentialsCount调用。 你能不能给我一些关于它为什么会发生的提示?

1 个答案:

答案 0 :(得分:1)

这可能有很多原因,但我的猜测是你要么没有在正确的地方注册(HKLM \ Software \ Microsoft \ Windows \ CurrentVersion \ Authentication \ Credential Providers),要么你没有实施IUNKNOWN正确。

我会尝试从pGina开始。它为你做了大部分困难。