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

Re: userPassword not crypted

Marcos Monge wrote:

Hi all.

I have a problem with OpenLDAP 2.0.11 and 'userPassword' attribute.

In slapd.conf I have a line like this:

password-hash   {SHA}

I add the following ldif with ldapadd without problem:

dn: uid=test3, ou=usuarios, o=dominio.com
objectclass: misusuarios
cn: Usuario de test3
uid: test3
userpassword: test3

you should add something like: userpassword: {SSHA}alshdva;skbvas;ivgawuc

use slappasswd to generate the crypted password

mail: test3 mail: test3@dominio.com ----