[Pkg-openldap-devel] Bug#631462: slapd: Post-installation configure fails
Schürer IT Beratung -- Urs J. Schürer
urs at sitb.de
Thu Sep 29 17:09:26 UTC 2011
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:
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.
More information about the Pkg-openldap-devel
mailing list