From 09c7ad1cd9c5ca2fc46631a0057d47309abc8706 Mon Sep 17 00:00:00 2001 From: Kevin Coffman Date: Mon, 5 Jan 2009 14:07:05 -0500 Subject: gssd: By default, don't spam syslog when users' credentials expire Change the priority of "common" log messages so that syslog doesn't get slammed/spammed when users' credentials expire, or there is another common problem which would cause error messages for all context creation requests. Note that this will now require that gssd or svcgssd option "-v" is used to debug these common cases. Original patch from Andrew Pollock . Signed-off-by: Kevin Coffman Signed-off-by: Steve Dickson CC: Andrew Pollock --- utils/gssd/gss_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/gssd/gss_util.c') diff --git a/utils/gssd/gss_util.c b/utils/gssd/gss_util.c index 8a7bcaa..2d66be9 100644 --- a/utils/gssd/gss_util.c +++ b/utils/gssd/gss_util.c @@ -216,7 +216,7 @@ gssd_acquire_cred(char *server_name) ignore_maj_stat = gss_display_name(&ignore_min_stat, target_name, &pbuf, NULL); if (ignore_maj_stat == GSS_S_COMPLETE) { - printerr(0, "Unable to obtain credentials for '%.*s'\n", + printerr(1, "Unable to obtain credentials for '%.*s'\n", pbuf.length, pbuf.value); ignore_maj_stat = gss_release_buffer(&ignore_min_stat, &pbuf); -- cgit