From: Douglas Bagnall Date: Fri, 3 May 2019 04:30:10 +0000 (+1200) Subject: s4/auth/sam: silence CID 1435849 X-Git-Tag: tdb-1.4.1~133 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=05863957014139d99eefe170116cfbb8c28a2e0b;p=thirdparty%2Fsamba.git s4/auth/sam: silence CID 1435849 Signed-off-by: Douglas Bagnall Reviewed-by: Gary Lockyer --- 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; }