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

Active Directory lockout in VB.NET

Status
Not open for further replies.

jecairns

Programmer
Oct 5, 2005
21
CA
I currently have an vb.net app that validates a user based on their Active Directory username and password (using System.DirectoryServices). I know that AD has a script that locks out users after n attempts of login. I was wondering if:

a) That script can be called by the app to verify if the user has attemped login before, and if the threshold is reached, lock the user out,

or

b) Have the login to the app appear as a windows "login" attempt into AD, and have AD handle the lockout.

Any help on this (pointing me in the right direction) would be greatly appreciated, I'm sure that this can be done. I'm probably looking for information in the wrong place in the web, and the rest that I've found is way too vague.

Thanks in Advance,

JC
 
I don't know for sure, but I would guess that the AD record contains a value for number of incorrect login attempts.

Chip H.


____________________________________________________________________
Donate to Katrina relief:
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top