all groups > sql server reporting services > july 2006 >
You're in the

sql server reporting services

group:

Querying Active Directory in RS


Querying Active Directory in RS Todd C
7/25/2006 9:39:01 AM
sql server reporting services:
I am looking for a way to use our Win 2003 Active Directory as a DataSource
in RS2005. I set up the Connection properties (correctly, I think) using OLE
DB Provider for Microsoft Directory Services, and supplied the Server and
Location (<myDomain.com>). The "Test Connection" responds with "Test
connection succeeded", but it says that no matter what I put in for Location
or Server.

What is required here in these two boxes?

After that, how do I write a SQL statement to query the Active Directory
Data structure? DO I need OpenQuery statement? Can I write a SELECT statement
directly?

Another approach could be to set up a linked server using ADsDSOObject
provider but I never got that to work either.

Any help would be appreciated.

Thanks in advance.

RE: Querying Active Directory in RS Answer
7/25/2006 12:41:02 PM
I did it using a linked server...

If you have security problems, check the linked server properties in SQL
manager and check the seocnd security option (can't exactely remember the
caption)

A quick Google search will resolve about all your problems.


[quoted text, click to view]
AddThis Social Bookmark Button