Package: slapd
Version: 2.2.23-8

The package includes instructions for running slapd as a non root user,
however these do not work. Attempting to run as non-root causes the
daemon to fail to start.

This happens because the init script runs :-

"db4.2_recover -eh /var/lib/ldap"

This command gets run as root, and resets permissions and ownership on
the __db.00? files, which in turn causes slapd to be unable to open them.

If the -e switch is omitted, the __db.00? files do not get re-created by
the recovery process, but instead get created when slapd starts, so they
get created with the correct ownership.

Mike


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to