From: kkplein Date: Mon, 18 Dec 2017 19:14:31 +0000 (+0100) Subject: Update util.c to include DBGC_AUTH class X-Git-Tag: talloc-2.1.11~49 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ce2ca7fa89921a4ccdac018558025a9d650b0154;p=thirdparty%2Fsamba.git Update util.c to include DBGC_AUTH class Signed-off-by: Mourik Jan C Heupink Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c index 49345e5ecde..3b416051ac1 100644 --- a/source4/dsdb/common/util.c +++ b/source4/dsdb/common/util.c @@ -5353,10 +5353,10 @@ NTSTATUS dsdb_update_bad_pwd_count(TALLOC_CTX *mem_ctx, TALLOC_FREE(mod_msg); return NT_STATUS_NO_MEMORY; } - DEBUG(5, ("Locked out user %s after %d wrong passwords\n", + DEBUGC( DBGC_AUTH, 1, ("Locked out user %s after %d wrong passwords\n", ldb_dn_get_linearized(user_msg->dn), badPwdCount)); } else { - DEBUG(5, ("Updated badPwdCount on %s after %d wrong passwords\n", + DEBUGC( DBGC_AUTH, 5, ("Updated badPwdCount on %s after %d wrong passwords\n", ldb_dn_get_linearized(user_msg->dn), badPwdCount)); }