[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: How to make ldap evaluate clear text password vs DES stored password



Hi,

>LDAP’s userPassowrd stored in the RDB has been already DES hashed by
>original app. On the other hand, input password from ldapseach command
>line is CREARTEXT.
>  
>I’d like to change certification process of LDAP source file to make input
>password into DES hashed by using 2 characters of userPassword as its
>SALT.

That is how LDAP works if it knows that your passwrd is DES.

But the encoding for DES by LDAP may be slightly different from the
encoding for DES by your original app.

For a DES encrypted password, LDAP expects to see:
userpassword: {CRYPT}6FgwLHWxQzlgA
where 6F is the salt (LDAP knows that the 6F is the salt)

So if your RDB only contains 6FgwLHWxQzlgA, you may have to modify that.

Or I did not understood your question.

Best regards,

Olivier