s4/ldap_backend: modifyrequest: use modern DBG_ macro
authorBjörn Jacke <bjacke@samba.org>
Mon, 25 Dec 2023 20:31:27 +0000 (21:31 +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 90b31dffde3df6c39c308de6921be5d05111ed9a..58bcf816bbaf2d796438ded8b61da6b7e1a23167 100644 (file)
@@ -1057,8 +1057,7 @@ static NTSTATUS ldapsrv_ModifyRequest(struct ldapsrv_call *call)
        unsigned int i,j;
        struct ldb_result *res = NULL;
 
-       DEBUG(10, ("ModifyRequest"));
-       DEBUGADD(10, (" dn: %s\n", req->dn));
+       DBG_DEBUG("dn: %s\n", req->dn);
 
        local_ctx = talloc_named(call, 0, "ModifyRequest local memory context");
        NT_STATUS_HAVE_NO_MEMORY(local_ctx);
@@ -1066,7 +1065,7 @@ static NTSTATUS ldapsrv_ModifyRequest(struct ldapsrv_call *call)
        dn = ldb_dn_new(local_ctx, samdb, req->dn);
        NT_STATUS_HAVE_NO_MEMORY(dn);
 
-       DEBUG(10, ("ModifyRequest: dn: [%s]\n", req->dn));
+       DBG_DEBUG("dn: [%s]\n", req->dn);
 
        msg = ldb_msg_new(local_ctx);
        NT_STATUS_HAVE_NO_MEMORY(msg);