From ArchWiki
Jump to navigation Jump to search

Proposing adding section on groups/ --StrayArch (talk) 15:37, 28 June 2017 (UTC)

I suggest replacing the line # slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/ with $ sudo -u ldap slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/

This avoids the need to fix the ownership of /etc/openldap/slapd.d/* again. --Langen (talk) 09:32, 6 September 2017 (UTC)

You could still improve the original wiki line with: slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d/; chown -R ldap:ldap /etc/openldap/* that way you always ensure everything in /etc/openldap is owned by the ldap user and group Cirkit (talk) 00:37, 17 September 2017 (UTC)

slapd.conf(5) is deprecated

Configuration is now performed with a slapd-config(5) LDIF database.

Official OpenLDAP documentation mentions: The older style slapd.conf(5) file is still supported, but its use is deprecated and support for it will be withdrawn in a future OpenLDAP release

slapd might be considered "deprecated", but that doesn't mean it still cannot be used. The slapd.conf file is still useful and can assist with cn=config using slaptest as outlined in this wiki. IMO there is a lack of official documentation around the use of cn=config. Also, OpenLDAP's official documentation hardly even touches on the use of cn=config. Cirkit (talk) 19:07, 18 September 2018 (UTC)