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!

Check network id and password

Status
Not open for further replies.

Kflasph

Programmer
Apr 8, 2002
65
US
Is there any way to capture the user id and password (maybe through textboxes) and use a netapi or anything to verify to check if they are correct?

KFlasph
 
I woulk like to have a form with two text boxes that allows a user to enter their network id and password. Once that information is entered, pass the information to be authenticated with what is the user's current network id and password.
I have been playing with ADSI connections and using IADsOpenDSObject passing the id and password there but I am having problems with the syntax and connecting to the domain.

Any ideas?

Thanks !
Kflasph
 
I'll be blunter

If someone is already successfully logged in (heck, they have to be if they can run your program) why would you need to reauthenticate them with their network credentials?
 
This will be a front end for a secure program that will run on one PC located in a central area.
Only certain individuals will be able to perform functions and rather than create another database to hold id and password information and make our users remember another id and password - we all know how that goes - I would like to use the existing network id and password (if possible).
 
So when the secure program exits, force Windows to logout the session. The next person to use the computer would then be forced to do a standard Windows authentication.

Please don't think I'm trying to be difficult; I'm simply concerned about security of the system
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top