See recipe 3.8 in "The Active Directory Cookbook" (rallenhome.com).

If you don't have name visibility, then it gets harder.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of AD
Sent: Thursday, May 13, 2004 9:47 AM
To: [EMAIL PROTECTED]
Subject: [ActiveDir] Enumerating DCs from a workstation that is not
member of domain.

Hey Guys,
 
I am looking for a vb script or vb.net code that would return domain
controllers (names or ip addresses) of a specific domain name on a
workstation that is NOT member of the domain.
 
When you add a computer to a domain (right click "my computer",
properties, Computer Name, Change) you specify a domain name. When you
click on ok it will ask you for a username and password right? When you
click "ok" the computer must talk with a domain controller to add your
computer to the domain right? I basically need that functionality. 
 
Thank you in advance.
 
 
Yves St-Cyr
List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive:
http://www.mail-archive.com/activedir%40mail.activedir.org/


List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to