Title: Message
So when/why would that ever happen?
-----Original Message-----
From: Steve Judd [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 05, 2001 9:12 AM
To: [EMAIL PROTECTED]
Subject: RE: [ActiveDir] List all Dc's in a site

Nothing stops you from creating server objects in a site,  and there is no guarantee that the server objects found in a Site container represent DC's.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Robbie Allen
Sent: Wednesday, July 04, 2001 11:37 PM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] List all Dc's in a site

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