Hello. The initd script of openldap-2.1.20 slapd seems to be a bit broken. - it installs slapd.conf to /etc/conf.d as slapd.conf so init script doesn't find the file - has bad quotes.. slapd tells it has a parse error.. So here's the fix.. --- files/2.0/slapd.conf.orig 2003-06-12 12:59:28.000000000 +0300 +++ files/2.0/slapd.conf 2003-06-12 13:00:24.000000000 +0300 @@ -4,5 +4,5 @@ # one uncomment this line or set any other server starting options # you may desire. # -# OPTS="-h \'ldaps://0.0.0.0/ ldap://0.0.0.0/\'" +# OPTS="-h ldaps:// ldap://" --- openldap-2.1.20.ebuild.orig 2003-06-12 13:05:34.000000000 +0300 +++ openldap-2.1.20.ebuild 2003-06-12 13:05:55.000000000 +0300 @@ -162,7 +162,7 @@ newexe ${FILESDIR}/2.0/slapd slapd newexe ${FILESDIR}/2.0/slurpd slurpd insinto /etc/conf.d - newins ${FILESDIR}/2.0/slapd.conf slapd.conf + newins ${FILESDIR}/2.0/slapd.conf slapd # install MDK's ssl cert script dodir /etc/openldap/ssl --- slapd.orig 2003-06-12 13:06:54.000000000 +0300 +++ slapd 2003-06-12 13:07:11.000000000 +0300 @@ -9,7 +9,7 @@ start() { ebegin "Starting ldap-server" - start-stop-daemon --start --quiet --pidfile /var/run/openldap/slapd.pid --exec /usr/lib/openldap/slapd -- -u ldap -g ldap ${OPTS} + start-stop-daemon --start --quiet --pidfile /var/run/openldap/slapd.pid --exec /usr/lib/openldap/slapd -- -u ldap -g ldap "${OPTS}" eend $? }
openldap-2.1.21 has been added to portage with the associated fix and I have updated the conf.d/init.d files as well.