12.07.2015 Views

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

Red Hat Enterprise Linux 5 Administration Unleashed

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Enabling LDAP 277Many applications can connect to an LDAP server to query the database such asEvolution. Some applications can retrieve and modify entries in the directory. Others, likeEvolution, can just request entries. Refer to the documentation for each application fordetails on configuring it to connect to your LDAP server.Customizing LDAP LoggingLog messages for the OpenLDAP service are sent to /var/log/messages by default usingthe syslog mechanism. The log level can be set in slapd.conf using the following syntax:12loglevel where determines what type of messages to log and is one or more of the following(two or more should be space separated):. 1: trace function calls. 4: heavy trace debugging. 8: connection management. 16: packets sent and received. 32: search filter processing. 64: configuration file processing. 128: access control list processing. 256: statistics for log connections, operations, and results. 512: statistics for log entries sent. 1024: communication with shell backends. 2048: entry parsing. 4096: caching (unused). 8192: data indexing (unused). 16384: LDAPSync replication. 32768: log messages logged regardless of log levelThe log levels or combinations of log levels can be represented by values other than integers.See the slapd.conf man page for details.To write log messages to a separate file, add the following line to /etc/syslog.conf:local4.*/var/log/slapd.log

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!