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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does GetObject actually try to log you in to server?

Status
Not open for further replies.

maboo

Programmer
Jan 4, 2002
21
US
Does the below code actually try to log you into the domain or only verify that it exists?

Set dso = GetObject("LDAP:")
set ob1 = dso_OpenDSObject("LDAP://domain",
strUserName,strPassword,
ADS_SECURE_AUTHENTICATION + ADS_SERVER_BIND)

I was testing this code and I got locked out of the domain due to to many attempts at logging in.

If it does try to log you in, what can I use to only search to see if a username is valid in that domain?

Thanks
Maboo
 
It tries to authenticate your credentials (not log you in). The account lockout code is just interested in the number of failed authentications, not logins
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top