Getting Slapd Under CentOS 6 To Log Connections, Etc.

Home » CentOS » Getting Slapd Under CentOS 6 To Log Connections, Etc.
CentOS 1 Comment

I am running the stock openLDAP-servers on a CentOS 6 system. Everything is working just fine, but I am trying to debug connections from a Ubuntu (18.04)
system and want to turn on logging in slapd, but although I can get slapd to create a log file, it never actually writes anything.

I have these two lines in /etc/openLDAP/slapd.d/cn=config.ldif:

olcLogFile: /var/log/slapd/log olcLogLevel: conns BER config ACL stats none

And although /var/log/slapd/log gets created, nothing is ever written to it.

What am I missing?

One thought on - Getting Slapd Under CentOS 6 To Log Connections, Etc.