Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-01-2007, 01:56 PM
Partner (VAR/HSP)
 
Posts: 110
Default How to tail the LDAP logs

I have a system up and running so searching for this was tough, most LDAP queries are problems getting things to work.

I just need to know how to watch the LDAP in real time. I'm trying to access data from an external program and when I run a query with ldapsearch I get what I want, but my program is not working correctly.

I'd really like to watch the LDAP server in action to see what's being passed in exactly so I can figure out why there are no matching records when I really think there should be.

Help please.

Peter
__________________
Peter LeBlond
Product Development Engineer
http://www.mxtoolbox.com

Reply With Quote
  #2 (permalink)  
Old 05-01-2007, 07:33 PM
Former Zimbran
 
Posts: 5,606
Default

There are a lot of errors that you can ignore in the ldap logs.
This is because we increased the logging level.
Reply With Quote
  #3 (permalink)  
Old 05-01-2007, 07:41 PM
Partner (VAR/HSP)
 
Posts: 110
Default

I'll be more clear / brief.

Where are the LDAP logs?

I have found the binary logs in /opt/zimbra/openldap-data but I don't know how to read them.
__________________
Peter LeBlond
Product Development Engineer
http://www.mxtoolbox.com

Reply With Quote
  #4 (permalink)  
Old 05-02-2007, 09:49 AM
Zimbra Employee
 
Posts: 604
Default

openldap logs via syslog so the details will be in /var/log/zimbra.log. By default we only log error level messages (ldap_log_level 32768). If you want to see query level logging you will need to change ldap_log_level to 256 and restart the ldap process.

Code:
% zmlocalconfig -e ldap_log_level=256
% ldap stop
% ldap start
__________________
Bugzilla - Wiki - Downloads - Before posting... Search!
Reply With Quote
  #5 (permalink)  
Old 05-02-2007, 09:52 AM
Partner (VAR/HSP)
 
Posts: 110
Default

Brian,

Thanks so much. That is exactly what I needed. Fantastic support.

Peter
__________________
Peter LeBlond
Product Development Engineer
http://www.mxtoolbox.com

Reply With Quote
  #6 (permalink)  
Old 02-26-2010, 09:32 PM
Starter Member
 
Posts: 1
Default

I configured an external program (Pgina) to work on Zimbra's ldap server.
/etc/log/Zimbra.log contains all the logs of zimbra and mail servers and all
is there a way i can log ldap logs in a seperate file?
is there a slapd.conf file somewhere so that i can configure manually?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.