Jun 28th, 2012, 01:38 AM
How to store an encrypted password to ldap
I want to save a SHA-Encrypted password into a ldap database.
The problem is, that after I updated the new password, the user can't login anymore! How I have to save the password to the ldap database?
What I do:
Before saving the User to the ldap I encrypt the Passwort to a SHA string.
When I look into the LDAP-Database the user have the correct SHA string in BASE64.
When I try to login always get the error Bad Credentials.
When I change the password with a external tool the login works.
Tags for this Thread