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