Skip to content

Correct problem with example slapd.conf

Lars Kellogg-Stedman requested to merge larsks/aports:pkg/openldap into master

The example slapd.conf included with this package had some erroneous content:

  • It would try to store slapd.{pid,args} in /var/lib/openldap/run, which (a) doesn't exist and (b) isn't really the right place for ephemeral runtime state.

    Fix: remove pidfile (since this is managed by openrc in any case) and argsfile from the example configuration.

  • It attempted to load modules using a .la extension (e.g., back_mdb.la), but the package only provides the .so version of the modules.

    Fix: Update module names

After installing this package, with no further configuration, slapd -u ldap -d1 will run without errors.

Edited by Lars Kellogg-Stedman

Merge request reports

Loading