[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: password-policy configuration problems: cannot change passwords
Marco Weber wrote:
> Indeed, I've changed the olcPasswordHash setting.
> And what kind of software "sends an appropriate ModifyRequest with MOD_REPLACE" ?
>
> Ldapmodify -D cn=username,dc=domain,dc=tld -W
> dn: cn=username,dc=domain,dc=tld
> changetype: modify
> replace: userPassword
> userPassword: TheNewValue
>
> Is this a MOD_REPLACE request?
Yes, this is correct. You can use slappasswd to generate pre-hashed passwords
and put it in the LDIF as TheNewValue.
Ciao, Michael.