On Wed, Jul 09, 2025 at 10:21:55AM +0100, Kaya Saman wrote:
Has something with the configuration file changed in the meantime, or based off this line: "ldif_read_file: no entry file "/usr/local/etc/openldap//cn=config.ldif"" is it something to do with the slapd.ldif file in the openldap directory?


If need be I can post my slapd.conf file too.... any pointers would be great or at least if there was somewhere to increase the logging to say exactly what and where is wrong would be great.

Does your slapd command line include an -f or -F argument?

If I remember correctly, in 2.4 the default if not specified was to use a traditional config file (slapd.conf(5); -f .../slapd.conf).

In 2.5 (and later), I believe the default is a configuration database (slapd-config(5) aka cn=config; -F .../slapd.d).

You can use a slapd.conf file with 2.5. You just have to run slapd with an explicit '-f /usr/local/etc/openldap/slapd.conf'.

The slapd.ldif file is an example of an LDIF file for bootstrapping a cn=config database (input to slapadd(8)). It is not a usable config file on its own.

Reply via email to