From: Christof Schmitt Date: Thu, 28 Apr 2016 18:23:41 +0000 (-0700) Subject: gensec: Change log level of message when no PAC is found X-Git-Tag: talloc-2.1.7~59 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8bb4fccd;p=thirdparty%2Fsamba.git gensec: Change log level of message when no PAC is found For a Samba server that uses a non-AD KDC this message is triggered on every new connection. Change the log level from warning/1 to a more appropriate notice/5. Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- diff --git a/auth/gensec/gensec_util.c b/auth/gensec/gensec_util.c index 64fffb1efc9..da2e2e5f4b8 100644 --- a/auth/gensec/gensec_util.c +++ b/auth/gensec/gensec_util.c @@ -48,8 +48,8 @@ NTSTATUS gensec_generate_session_info_pac(TALLOC_CTX *mem_ctx, principal_string)); return NT_STATUS_ACCESS_DENIED; } - DEBUG(1, ("Unable to find PAC for %s, resorting to local user lookup\n", - principal_string)); + DBG_NOTICE("Unable to find PAC for %s, resorting to local " + "user lookup\n", principal_string); } if (gensec_security->auth_context && gensec_security->auth_context->generate_session_info_pac) {