[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Configuring slapd.conf-less OpenLDAP

Le 17/07/2010 08:34, Braden McDaniel a écrit :
I added these lines to cn=config.ldif:

         olcLogLevel: 256
         olcLogLevel: trace
         olcLogLevel: packets
         olcLogLevel: args
         olcLogLevel: conns
         olcLogLevel: BER
         olcLogLevel: filter
         olcLogLevel: config
         olcLogLevel: ACL
         olcLogLevel: stats
         olcLogLevel: stats2
         olcLogLevel: shell
         olcLogLevel: parse
         olcLogLevel: sync

But after restarting slapd and trying ldapadd again, I still see nothing
related to OpenLDAP in /var/log/messages.

You need to configure syslog to send messages from the "local4" facility to a log file. Depending on your syslog, something like the following in /etc/syslog.conf:
local4.*		/var/log/slapd.log


Jonathan Clarke - jonathan@phillipoux.net
Ldap Synchronization Connector (LSC) - http://lsc-project.org