create_password_hash() { # {{{ # Create the password hash for the given password # Usage: hash=`create_password_hash "$password"` slappasswd -s $1 } That line should maybe be changed to: slappasswd -s "$1" or any password containing spaces will trigger the slappasswd usage error. It might not be a good idea to put the LDAP password into debconf. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#631462: slapd: Post-installation configure fails
Schürer IT Beratung -- Urs J. Schürer Thu, 29 Sep 2011 10:27:18 -0700
This may have been caused by using a password that contains spaces. The reason
for this is that the slapd's config file contains a function to generate the
password hash: