在我用C#编写的web服务器应用程序中,通过身份验证的性能非常差;使用System.DirectoryServices.AccountManagmeent
应用程序接口成功登录事件需要10到15秒的时间。
我想转而使用MSDN文章Using Fast Bind中描述的System.DirectoryServices.Protocols
和快速绑定,但它没有任何细节或代码示例。
您能给我指出或提供使用s.ds.p
执行快速绑定用户身份验证的.NET代码的示例吗?我在谷歌上搜索得很不成功。
发布于 2014-04-18 14:19:25
经过更多的浏览,我找到了this page,它确实有完整的C#代码示例。
发布于 2014-04-18 14:45:33
Joe Kaplan的书.NET Developer's Guide to Directory Services Programming也有一些例子,可以在here找到。
https://stackoverflow.com/questions/23155683
复制相似问题