To enable logging in the Openldap follow the steps given below.
Restart ldap
Restart Syslog
Enjoy !!!!!
# vim /etc/openldap/slapd.confAdd the below line
loglevel 256Save the file
Restart ldap
# service ldap restartOpen /etc/syslogd.conf
# vi /etc/syslogd.conf
Create a file in /var/log/openldap.logAdd the lone at the end of the filelocal4.* /var/log/openldap.log
# touch /var/log/openldap.logSave the file
Restart Syslog
#service syslog restart
Enjoy !!!!!
No comments:
Post a Comment