Title: Message
When are there anything but DCs defined under a site (i.e. server object)?
-----Original Message-----
From: Steve Judd [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 19, 2001 10:45 PM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] List all Dc's in a site

Do a subtree search of the DS in the site of interest for NTDS-Settings objects.  The parent of each object returned is a Server object for a DC.  You can use any of several query API's to do the search and enumerate the results.  I favor IDirectorySearch.
 
-s
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Deepa Kumthekar
Sent: Tuesday, June 19, 2001 5:30 PM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] List all Dc's in a site

Hi ,
    Is there any API to find all domain controllers in a site.
I know one which lists all servers 'DsListServersInSite' but I don't want
all servers, I want only DC's.
Thanks,
Deepa

Reply via email to