(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Configuration : (Category) SLAPD Configuration : (Category) Passwords : (Answer) How do I specify the crypt(3) salt format to use?
If you need to use a special salt format for the specific version of crypt(3) that you use, you may use the password-crypt-salt-format directive.
  password-crypt-salt-format "$1$%.8s"
will get you an md5-style crypted password on some modern unices. Check your version to make sure it does the right thing by using the scripts in earlier sections of this FAQ.
Note: this directive only impacts passwords set using the LDAP Password Modify operation (RFC 3062). slapd(8) does not otherwise hash passwords.
[Append to This Answer]
Previous: (Answer) How do I specify what type of password are stored?
Next: (Answer) Is there an alternative to {KERBEROS} passwords in current versions of slapd(8)?
This document is: http://www.openldap.org/faq/index.cgi?file=1053
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org