且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从 ASP.NET Web 服务代码对 Active Directory 进行身份验证?

更新时间:2022-05-14 09:59:22

您可能想看看@这两个资源.第一个将为您提供您想了解的有关 Active Directory 的所有信息,第二个将向您展示如何连接.

You might want to take a look @ these two resources. The first will provide you with everything you want to know about active directory, and the second will show you how to connect.

不过,您可能会遇到连接到远程 AD 服务器的挑战.因此,作为一种潜在的解决方法,我会考虑让 Web 应用程序调用驻留在公司网络上的身份验证 Web 服务.

You might have challenges connecting to the remote AD server though. So as a potential work around, I would consider having the web application call an authentication webservice that resides on the corporate network.