]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:libads: Trace ldap search base/filter/scope
authorPavel Filipenský <pfilipensky@samba.org>
Mon, 26 Feb 2024 07:31:24 +0000 (08:31 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 29 Feb 2024 01:31:31 +0000 (01:31 +0000)
Signed-off-by: Pavel Filipenský <pfilipensky@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/libads/ldap.c

index 7f3c20746c85c3262be888426c6c43a03c512657..ff67ad28a2a92e72735b5b02cdb7ac4b2dfa1b37 100644 (file)
@@ -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;