Tuesday, September 29, 2015

openLDAP log

OpenLDAP Log:
To get a summary on OpenLDAP Log files, openLDAP is using the Linux system log as log.
:/opt/openldap-production/var/openldap-slurp/replica (replicate log, not sys log)
config file: /opt/openldap-production/etc/config/master-sldap.conf  (loglevel 256)
syslog file: /etc/syslog.conf  

# For slapd.log
local4.* /var/log/slapd.log (log file location)
 grep "BIND dn=\"uid"  slapd.log > log.txt
 grep "BIND dn=\"uid=" slapd.log | sort -k8 -u


No comments: