1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

s4/ldap_backend: addrequest: use modern DBG macros

Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Björn Jacke 2023-12-25 21:32:49 +01:00 committed by Stefan Metzmacher
parent ac3ed2486b
commit 9129042eb0

View File

@ -1161,8 +1161,7 @@ static NTSTATUS ldapsrv_AddRequest(struct ldapsrv_call *call)
unsigned int i,j;
struct ldb_result *res = NULL;
DEBUG(10, ("AddRequest"));
DEBUGADD(10, (" dn: %s\n", req->dn));
DBG_DEBUG("dn: %s\n", req->dn);
local_ctx = talloc_named(call, 0, "AddRequest local memory context");
NT_STATUS_HAVE_NO_MEMORY(local_ctx);
@ -1170,7 +1169,7 @@ static NTSTATUS ldapsrv_AddRequest(struct ldapsrv_call *call)
dn = ldb_dn_new(local_ctx, samdb, req->dn);
NT_STATUS_HAVE_NO_MEMORY(dn);
DEBUG(10, ("AddRequest: dn: [%s]\n", req->dn));
DBG_DEBUG("dn: [%s]\n", req->dn);
msg = talloc(local_ctx, struct ldb_message);
NT_STATUS_HAVE_NO_MEMORY(msg);