Hi Richard, 

On Sun, Jan 30, 2005 at 03:35:04PM +0100, richard lucassen wrote:
> Debian Sarge. When setting these parameters in /etc/default/slapd:
> 
> SLAPD_USER=ldap
> SLAPD_GROUP=ldap
> 
> the slapd daemon runs as user "ldap" and works fine, but you will have
> to kill slapd manually when running a:
> 
> /etc/init.d/slapd stop

Easy fix: Make sure the pidfile is in a directory writable by the ldap
user. I use /var/run/slapd/ which is owned by the ldap user. The pidfile
is configured in slapd.conf.

Note for implementation using debconf: 
- database directories must be writable by ldap user
- config files must be readable by ldap user
- pidfile directory must be writable by ldap user

Greetings

        Torsten

Attachment: signature.asc
Description: Digital signature

Reply via email to