|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Connection on a AD domain via scripting
Hi there,
Suppose I'm connected on a computer in a NT4 domain. I want to connect on a AD domain with a bidirectional approval relationships for, say, get the domain controllers of this AD domain. What parameter do I have to pass to GetObject in the following script: ' Determine DNS name of domain from RootDSE. Set objRootDSE = GetObject("LDAP://???") strDNSDomain = objRootDSE.Get("defaultNamingContext") Oriane |
|||||||||||||||||||||||