tokkee.org
Running slapd as non-root user under Debian
The README.Debian file that ships with slapd nicely explains how to run slapd under a different uid/gid. However, one might just read over the following paragraph (at least I did so in the beginning ;-):Once you have done so, if you are using a bdb o hdb backend, always remember to execute the chown after running utilities such as db4.x_recover or db4.x_checkpoint.This paragraph basically states (amongst others) that you should add a line like "chown -R ldap.ldap /var/lib/ldap" at the end of the try_fix_db() function in /etc/init.d/slapd...
friday, february 10, 2006 | path: /doc | permanent link
Archive: 2007, 2006, 2005
RSS Feed
Copyright (C) 2005 Sebastian Harl
Last modified: january 28, 2007
You are: 38.103.63.61


![[Hacker]](/images/hacker.png)
![[Debian]](/images/debian.png)