Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LDAP Connection string to a particular server

Status
Not open for further replies.

greg0303

Technical User
May 5, 2006
94
CA
I currently have a connection string:
Set objUser = GetObject("LDAP://CN=" & username & ", ou=Users, dc=DomainName, dc=local") which works fine, except it connects to the server I am currently connected too. What I need to do is to connect to each of our domain server individually and do a query. How do I direct the connection to a particular server? I need to run a vbscript to look at each server to get logon time information as in 2000 server it logs only the logons to individual servers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top