SQL Server LDAP authentication

使用SQL Server 2005,如何使用NET对非AD LDAP服务器验证用户名/密码对?


If calling from SQL Server 2005, you'll need to create a .NET stored procedure.

Using .NET to connect to LDAP:

http://msdn.microsoft.com/en-us/library/system.directoryservices.aspx

using System.DirectoryServices;

DirectoryEntry DE = new DirectoryEntry(LDAPPath, LDAP_Domain + account, password, AuthenticationTypes.Secure);

if (DE == null)
{
   // Login failure
}
链接地址: http://www.djcxy.com/p/7724.html

上一篇: 将IIS 7 AppPool标识添加为SQL Server登录

下一篇: SQL Server LDAP认证