summaryrefslogtreecommitdiffstats
path: root/utils/gssd/gss_util.c
diff options
context:
space:
mode:
authorKevin Coffman <kwc@citi.umich.edu>2009-01-05 14:07:05 -0500
committerSteve Dickson <steved@redhat.com>2009-01-05 14:07:05 -0500
commit09c7ad1cd9c5ca2fc46631a0057d47309abc8706 (patch)
tree905ba6be74ed2305c930aa08d216b3f85a025060 /utils/gssd/gss_util.c
parent6e3f696e788a56f30b5b3f8250647fe4cd63c884 (diff)
downloadnfs-utils-09c7ad1cd9c5ca2fc46631a0057d47309abc8706.tar.gz
nfs-utils-09c7ad1cd9c5ca2fc46631a0057d47309abc8706.tar.xz
nfs-utils-09c7ad1cd9c5ca2fc46631a0057d47309abc8706.zip
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 <apollock@google.com>. Signed-off-by: Kevin Coffman <kwc@citi.umich.edu> Signed-off-by: Steve Dickson <steved@redhat.com> CC: Andrew Pollock <apollock@google.com>
Diffstat (limited to 'utils/gssd/gss_util.c')
-rw-r--r--utils/gssd/gss_util.c2
1 files changed, 1 insertions, 1 deletions
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);