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!

advapi32-GetUserName problem

Status
Not open for further replies.

GhostWolf

Programmer
Jun 27, 2003
290
US
This API is suddenly returning the user's password, instead of the user ID.

Any ideas?
 
That would be ... unusual, not least because Windows only stores (one-way) hashes of the user passwords.
 
That's what I thought too, but so far I've noticed it on two of our user's PCs.
 
Oops!! I was wrong.

It's not the API that's doing it. The actual culprit is the Client Access ODBC driver, it's just that the logon screen my program displays looks an awful lot like the one CA shows.

So, it's off to the IBM forum...
 
Turns out it was a misconfiguration in iSeries Navigator on the affected PCs, and the users somehow managed to get into it and incorrectly change the logon defaults. Needless to say, the users have no idea how it got changed...

Oh well, at least it taught me something new.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top