If a machine is not part of the domain, how can a VB script it runs authenticate to a DC/LDAP server to run a query?
e.g. the included works great from any machine logged into the domain, but I've no idea how to make it work from a machine not on the domain.
DisplayObjects "LDAP://OU=Voicemailbox Accounts,DC=MyCompany,DC=com", ""
Function DisplayObjects( strADsPath, strSpace)
set objObject = GetObject(strADsPath)
Wscript.Echo strSpace & strADsPath
for each objChildObject in objObject
DisplayObjects objChildObject.ADsPath, strSpace & " "