From 05863957014139d99eefe170116cfbb8c28a2e0b Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 3 May 2019 16:30:10 +1200 Subject: [PATCH] s4/auth/sam: silence CID 1435849 Signed-off-by: Douglas Bagnall Reviewed-by: Gary Lockyer --- source4/auth/sam.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source4/auth/sam.c b/source4/auth/sam.c index 6c7fb221699..39e48c26b52 100644 --- a/source4/auth/sam.c +++ b/source4/auth/sam.c @@ -886,8 +886,10 @@ NTSTATUS authsam_update_bad_pwd_count(struct ldb_context *sam_ctx, done: if (ret != LDB_SUCCESS) { - DEBUG(0, ("Failed to update badPwdCount, badPasswordTime or set lockoutTime on %s: %s\n", - ldb_dn_get_linearized(msg_mod->dn), ldb_errstring(sam_ctx))); + DBG_ERR("Failed to update badPwdCount, badPasswordTime or " + "set lockoutTime on %s: %s\n", + ldb_dn_get_linearized(msg->dn), + ldb_errstring(sam_ctx)); TALLOC_FREE(mem_ctx); return NT_STATUS_INTERNAL_ERROR; } -- 2.47.3