From ArchWiki
Revision as of 20:34, 17 September 2018 by Alx741 (talk | contribs) (slapd.conf(5) is deprecated: new section)
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)

== Installation Guide Not Working ==

  • The Installation Guide as it stands now doesn't work. I'm getting errors about not being able to listen on ipv6 (Which if there is a configuration I'm missing, would be a missing switch in the systemd unit file - bug?)
  • There is no explanation of schemas or indexes and which to enable or leave out.
  • I'm told to configure the /etc/openldap/slapd.conf file and then I'm told that it is deprecated and should be using slapd.d. Thereafter I'm told to edit slapd.conf, delete all files in slapd.d and run slaptest every time I want to make a configuration change. There is no explanation for directly working with slapd.d.
  • The automated setup script fails to create a working ldap installation. Various "No such file or directory" errors throughout the running of the script. Also puts invalid syntax into slapd.conf.

--Tedd (talk) 21:06, 5 August 2014 (UTC)

Yes, this page is outdated or poorly written. Following the examples is not working without issues. I'm currently thinking of reorganizing the whole LDAP section. If you were able to figure out the issues, please correct the sections. --T.ask (talk) 11:51, 2 April 2015 (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