Difference between revisions of "Change OpenLDAP slapd Logging"

m
m
Line 40: Line 40:
  
 
</pre>
 
</pre>
 
 
 
[http://www.casino-theory.com/online-casino-royale/play-free-online-casino.html play free online casino]
 
[http://www.slots-wiki.com/index.php/slots_online_bonus slots online bonus]
 
[http://www.online-casino-wiki.com/index.php/online_casino_tips online casino tips]
 
[http://www.fortune-slots.com/ slots online]
 
[http://www.web-craps.com craps]
 
[http://www.magical-casino.com/casino_risk.html Gambling Online - Risks.]
 
[http://www.gambling-online-theory.com/online-casino/bet-online-casino.html bet online casino]
 
[http://www.casino-games-wiki.com/index.php/play_casino_games_games_online play casino games games online]
 
[http://www.casinos-go.com/online-casino-tips/online-casino-games.html online casino games]
 
[http://www.casino-games-wiki.com/index.php/play_casino_games play casino games]
 

Revision as of 00:10, 4 January 2007

Zimbra platform leverages powerful OpenLDAP Directory Service as identity basis for Zimbra services.

Reference: http://www.openldap.org/

Two common things that you may want to change from default OpenLDAP slapd configuration:

  1. change logging location (Zimbra default: /var/log/zimbra.log).
  2. change slapd log level.


Change slapd logging location:
Requires two changes to (a) way zimbra starts slapd,  and (b) syslog config.

1. Edit file:   /opt/zimbra/bin/ldap
2. Find following line:  "sudo /opt/zimbra/openldap-2.3.21/libexec/slapd -l LOCAL0 ..." 
3. Duplicate the line and comment one line (ie. add "#" to beginning -- to save original version).
4. Modify the non-commented line and remove the "-l LOCAL0" portion. 

The default OpenLDAP slapd logging is to syslog facility Local4

Now update /etc/syslogd.conf and add following line at bottom:
 local4.*     /var/log/slapd.conf

Restart syslogd and zimbra (zmcontrol stop/start) for your changes to take affect.
Change slapd log level:

zmlocalconfig -e ldap_log_level=<number>

Typical example:  zmlocalconfig -e ldap_log_level=256

Note:   '256' will provide insight into connections, operations, and search filters.

Reference:
http://www.openldap.org/software/man.cgi?query=slapd.conf&sektion=5&apropos=0&manpath=OpenLDAP+2.3-Release

Jump to: navigation, search