Discussion in 'Mail Server' started by ranjeet_azad, May 31, 2012.
i m using RHEL5.5 and configure OPENLDAP . so plz anyone help me and share thd doc
Please follow link for openldap setup
people.math.gatech.edu / ~dijuremo / ldap / openldapframes.html
i m using RHEL5.5 and i want to generate log file for openldap server. so plz tell me what is the procedure......
Logging in OpenLDAP
If you do, you will get info about loglevel
> man slapd.conf
Specify the level at which debugging statements and
operation statistics should be syslogged (currently
logged to the syslogd(8) LOG_LOCAL4 facility). Log
levels are additive, and available levels are:
1 trace function calls
2 debug packet handling
4 heavy trace debugging
8 connection management
16 print out packets sent and received
32 search filter processing
64 configuration file processing
128 access control list processing
256 stats log
512 stats log entries sent
1024 print communication with shell
2048 entry parsing
Add following line in you slapd.conf
Add this line to /etc/syslog.conf, so that stuff will actually go to a log, /var/log/slapd.log:
# save OpenLDAP log
Restart slapd and syslogd:
sudo /sbin/service syslog restart
sudo /sbin/service ldap restart
Grep whatever you want to from ldap.log file.
Now log file is generated
Separate names with a comma.