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

No one is yet to answer....Question on authentication please help 2

Status
Not open for further replies.

Jooky68

Programmer
Jul 10, 2002
231
US
I am attempting, through a password screen, verify the users username and password with their domain logon name and password. I am running the program on windows 200 Prof.. I dont kknow if that makes a difference, but I've been trying to use the API LogonUserA, and have had no luck.
Any help would be greatly appreciated. Thank you for your time.
 
Use GetUserName API. It should work.
Pass a blank string of 255 and you will get the user name and the length.
 
I got the username to return, but im trying to get the username to validate against their domain password....and send back a token saying that it was a match
 
dude they already told you how to check it.. i saw it in a past post... to me it sounds like your trying to view the password..... and it annoys me to see that you keep postign this rubbish.. no one will tell you how to get a users password... look in your back posts to see how to validate against the real password.. its crap man. in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 
Yes in past posts people have made suggestions. Their suggestions were to use LogonUserA, and everyone that had told me to do that had tried it on XP or NT systems. I am attempting to run the validation on a windows 2000 prof system, which is not working. The function always returns a zero, which means no match for the username and password. Now I am not attempting to view the password, I want to do this for a login screen for a program that I have written so I will never have to update or maintain a username and password data base for the program. This way it can all be done automatically through the domain administrator. If i was attempting to just view the password...there are many different methods I could take if i only just wanted to view a password on the system. The reason I have been reposting it is because i have no been able to get an answer about teh whole Windows 2000 deal, if that is even it, or to see if anyone has some other suggestions or windows api functions that might work.
 
well.. if you have 'many' ways to view it.. why dont you make it view it and then check it against that... i am on win2k pro ... and i will try out past post they suggested.. and see if it if works... i dont see why you dont just make it have its own user password.. still fishy to me.. and with the knowledge they gave before you could make a crackers so i dunno but ill try it out.. and see if their method works...... in the begining man created code.
in the end code will create man.
clones are coming only matter of time.
examples?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top