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

Re: Hashing the userPassword



On Wednesday, 4 April 2012 08:50:08 Michael Ströder wrote:
> Suneet Shah wrote:
> > I am creating a user in OpenLDAP using Java. The user is being
> > successfully created, but the passwords are being stored in clear text.
> 
> How do you set the password? If you send attribute userPassword along when
> creating the user's entry with a AddRequest you have to perform the
> password hashing at the client's side.

Or you can (ab)use ppolicy, with the option 'ppolicy_hash_cleartext'

Regards,
Buchan