Pages

Saturday, July 20, 2013

Enabling logging in Openldap

To enable logging in the Openldap follow the steps given below.
# vim /etc/openldap/slapd.conf
Add the below line
 loglevel 256
Save the file
Restart ldap
# service ldap restart
Open /etc/syslogd.conf
# vi /etc/syslogd.conf
Add the lone at the end of the file
local4.*   /var/log/openldap.log
Create a file in /var/log/openldap.log
# touch /var/log/openldap.log
Save the file
Restart Syslog
#service syslog restart


Enjoy !!!!!

No comments:

Post a Comment