From: Pavel Filipenský Date: Mon, 26 Feb 2024 07:31:24 +0000 (+0100) Subject: s3:libads: Trace ldap search base/filter/scope X-Git-Tag: tdb-1.4.11~1670 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=801e3fd6dd102e33f789cbe1e604b728aafc96bb;p=thirdparty%2Fsamba.git s3:libads: Trace ldap search base/filter/scope Signed-off-by: Pavel Filipenský Reviewed-by: Andrew Bartlett --- diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index 7f3c20746c8..ff67ad28a2a 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -154,6 +154,11 @@ static int ldap_search_with_timeout(LDAP *ld, struct timeval *timeout_ptr = NULL; int result; + DBG_DEBUG("ldap_search: base => [%s], filter => [%s], scope => [%d]\n", + base, + filter, + scope); + /* Setup timeout for the ldap_search_ext_s call - local and remote. */ gotalarm = 0;