使用Windows 7x64和Windows Server 2008中的凭据提供程序和子身份验证模块传递额外参数 [英] Pass an extra parameter using credential providers and subauthentication modules in Windows 7x64 and Windows Server 2008

查看:76
本文介绍了使用Windows 7x64和Windows Server 2008中的凭据提供程序和子身份验证模块传递额外参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我知道过去曾有过类似的帖子,但他们大多都是年纪较大的,似乎都没有一个好的答案。 基本上,我已经编写了自己的凭据提供程序,允许用户输入PIN码以及用户名/密码。 
然后,在服务器上,我编写了一个curb subauth模块,它将该引脚检查为登录的额外参数(目前只是一个硬编码检查,以查看是否正确使用了subauth模块)。 所以一切都到位,我只需要
能够将PIN从凭证提供者传递到subauth模块。 有这么好/简单的方法吗? 我查看了Windows SDK示例,这就是我如何使前两部分工作,但我找不到任何内容,
处理这一步。

I know there have been similar posts in the past, but they are mostly older, and none seemed to have a good answer.  Basically, I have written my own credential provider that allows the user to enter a PIN number, as well as username/password.  Then, on the server, I have written a kerb subauth module that will check that pin as an extra parameter for logons (currently just a hardcoded check, to see if the subauth module was being used properly).  So everything is in place, I just need to be able to pass the PIN from the credential provider to the subauth module.  Is there a good/easy way to do this?  I have looked through the Windows SDK samples, and that's how i got the first two parts working, but I cannot find anything in there that handles this step.

谢谢!

推荐答案

您可以使用LSA代理身份验证包完成此操作:
http://kobyk.wordpress.com/2008/08/30/implementing-an-lsa-proxy-authentication-package /

----

Nima Sharifimehr。

sbucsc at yahoo dot com

----
Nima Sharifimehr.
sbucsc at yahoo dot com


这篇关于使用Windows 7x64和Windows Server 2008中的凭据提供程序和子身份验证模块传递额外参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆