Hello all...
I have a interesting problem that I need to get resolved regarding user authentication. We have a LDAP database that stores our user data, including username, password. Problem is the password field is hashed using SSHA. It used to be hashed with SHA1 and I would use PHP to convert the users plain text password to SHA1. Can't do that anymore!
So, is there a way to authenticate these users or am I stuck?
Thanks a bunch.. Jon
Can we see your code?
I cant say much without it.
Hm, well, if I'm not all wrong (I might be though)..
SSHA is only base64-encoded SHA-1 + salt used for SHA-1 generation. So,
base64_encode($sha1_hashed . $sha1_salt);
should give you the SSHA hash of the password.
I think. 🙂