Add support for LDAP debug output in Samba log file.
authorMichael Adam <obnox@samba.org>
Mon, 28 Jan 2008 13:47:01 +0000 (14:47 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 6 Feb 2008 17:16:22 +0000 (18:16 +0100)
commit7183e5811e00b650bd271c765562b9dcea8e2d09
treecac9a35793f9bf815508941910afcee997e54fcb
parent0e5344b53bcc16c4260cb805fcc58a74acba0b3a
Add support for LDAP debug output in Samba log file.

Logging of the ldap libraries appears with a [LDAP] prefix
inside the samba logs. This is controlled by two new parameters:

* "ldap debug level" sets the debug level of the ldap libraries.
  It is the bit-field as understood by the openldap server.

* "ldap debug threshold" is the samba debug level at which ldap
  logging appears inside the samba logs.

This probably needs some configure tests since it makes
use of the LBER_OPT_LOG_PRINT_FN option to redirect the
debug output of the ldap libraries.

Michael
(This used to be commit 15c25990bd0bfa3145ab3c26d2bdda72993d005c)
source3/Makefile.in
source3/lib/ldap_debug_handler.c [new file with mode: 0644]
source3/param/loadparm.c