summaryrefslogtreecommitdiff
path: root/source3/lib/ldap_debug_handler.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-23More warning fixes for Solaris.Jeremy Allison1-3/+1
Jeremy.
2008-02-06Add configure check for LBER_LOG_PRINT_FN - to intercept ldap debug.Michael Adam1-2/+2
Use the resulting HAVE_LBER_LOG_PRINT_FN to determine whether we can use it in init_ldap_debugging to intercept LDAP debug output and print it out in the samba logs (controlled with "ldap debug level"). Michael (This used to be commit 8dfc389ff678967a7b16ff1d68f00468a9925275)
2008-02-06Add support for LDAP debug output in Samba log file.Michael Adam1-0/+52
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)