From: Björn Jacke Date: Mon, 25 Dec 2023 20:31:27 +0000 (+0100) Subject: s4/ldap_backend: modifyrequest: use modern DBG_ macro X-Git-Tag: talloc-2.4.2~177 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac3ed2486b793865133d2006031ccf4a2c37458b;p=thirdparty%2Fsamba.git s4/ldap_backend: modifyrequest: use modern DBG_ macro Signed-off-by: Bjoern Jacke Reviewed-by: Stefan Metzmacher --- diff --git a/source4/ldap_server/ldap_backend.c b/source4/ldap_server/ldap_backend.c index 90b31dffde3..58bcf816bba 100644 --- a/source4/ldap_server/ldap_backend.c +++ b/source4/ldap_server/ldap_backend.c @@ -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);