×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

advapi32-GetUserName problem

advapi32-GetUserName problem

advapi32-GetUserName problem

(OP)
This API is suddenly returning the user's password, instead of the user ID.

Any ideas?

RE: advapi32-GetUserName problem

That would be ... unusual, not least because Windows only stores (one-way) hashes of the user passwords.  

RE: advapi32-GetUserName problem

(OP)
That's what I thought too, but so far I've noticed it on two of our user's PCs.
 

RE: advapi32-GetUserName problem

(OP)
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...
 

RE: advapi32-GetUserName problem

<phew>

RE: advapi32-GetUserName problem

(OP)
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.
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close