SQL Server 2005 – Get LDAP (Lightweight Directory Access Protocol) Informtion

Steps to access LDAP information in SQL server.  1. SQL Commands for Creating linked Server   EXEC master.dbo.sp_addlinkedserver @server = N’ADSI’, @srvproduct=N’Directory Services’, @provider=N’ADsDSOObject’ EXEC master.dbo.sp_addlinkedsrvlogin  @rmtsrvname=N’ADSI’, @useself=N’False’, @locallogin=NULL, @rmtuser=N’ Domain\UserName’, …

Read More