Hi guys,

I'm having issues trying to setup multiple databases with different password hash algos.

My first db has to have plaintext passwords and I'm using

password-hash {CLEARTEXT}
overlay ppolicy
ppolicy_hash_cleartext

and my second one needs to use SHA for password hash. I have it like this in slapd.conf

password-hash {SHA}
overlay ppolicy
ppolicy_hash_cleartext

When I insert user in ldap via ldapadd it stores plaintext password for that user in userPassword attribute.

Can I have different password-hash directives for each database? Or my ppolicy overlay doesn't work.


Thanks in advance.


BR,

Kreso

Reply via email to