]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4/ldap_backend: delrequest: use modern DBG macros
authorBjörn Jacke <bjacke@samba.org>
Mon, 25 Dec 2023 20:34:28 +0000 (21:34 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 29 Dec 2023 12:49:34 +0000 (12:49 +0000)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source4/ldap_server/ldap_backend.c

index 40a25bea88547db56586f995f9bea4cd2eb4bd43..057ad308664101e63aa92e430450280d12d8d843 100644 (file)
@@ -1246,8 +1246,7 @@ static NTSTATUS ldapsrv_DelRequest(struct ldapsrv_call *call)
        int ldb_ret;
        struct ldb_result *res = NULL;
 
-       DEBUG(10, ("DelRequest"));
-       DEBUGADD(10, (" dn: %s\n", req->dn));
+       DBG_DEBUG("dn: %s\n", req->dn);
 
        local_ctx = talloc_named(call, 0, "DelRequest local memory context");
        NT_STATUS_HAVE_NO_MEMORY(local_ctx);
@@ -1255,7 +1254,7 @@ static NTSTATUS ldapsrv_DelRequest(struct ldapsrv_call *call)
        dn = ldb_dn_new(local_ctx, samdb, req->dn);
        NT_STATUS_HAVE_NO_MEMORY(dn);
 
-       DEBUG(10, ("DelRequest: dn: [%s]\n", req->dn));
+       DBG_DEBUG("dn: [%s]\n", req->dn);
 
        del_reply = ldapsrv_init_reply(call, LDAP_TAG_DelResponse);
        NT_STATUS_HAVE_NO_MEMORY(del_reply);