gensec: Change log level of message when no PAC is found
authorChristof Schmitt <cs@samba.org>
Thu, 28 Apr 2016 18:23:41 +0000 (11:23 -0700)
committerJeremy Allison <jra@samba.org>
Fri, 29 Apr 2016 23:01:42 +0000 (01:01 +0200)
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 <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
auth/gensec/gensec_util.c

index 64fffb1efc99c9efc6a79ae6483adc45309b85df..da2e2e5f4b8214734f65af861b431abd83260a54 100644 (file)
@@ -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) {