Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

pwdhash

2727882Apr 22 2015 — edited Apr 23 2015


Question: when I run pwdhash on same server (pointing to same directory instance, meaning that same hashing algorithm used), for same cleartext pwd, I got different hashed value. HOw to explain that?

If hashing is using random value, how the ldap authentication happens? My understanding is user give cleartext(or whatever form of pwd), ldap server will use the hashing algorithm it specifies in the server and hash the pwd. Then compare the hashed pwd with the one stored in ldap server. But if each hashed value is different each time, how it compare?

Also, I run pwdhash -D <DIRPATH> myclearpwd1, it give me one hashed string (SSHA)STRING1

Then I run pwdhash -D <DIRPATH> -c comparepwd (SSHA)STRING1 myclearpwd1, it gives me "not matched"

Any explaination? Very confused now.

Thanks!

Shelly

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details