summaryrefslogtreecommitdiffstats
path: root/utils/gssd/context_lucid.c
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2015-11-07 12:51:37 -0500
committerSteve Dickson <steved@redhat.com>2015-11-16 15:56:52 -0500
commitbe40202f194877306c19929479114b90a08363c1 (patch)
treeb2dc235084b7b718b52c0e3e53b0bd79e2dcbf21 /utils/gssd/context_lucid.c
parentf1172857775d7be47b9ffb51825001cf39e23e70 (diff)
downloadnfs-utils-be40202f194877306c19929479114b90a08363c1.tar.gz
nfs-utils-be40202f194877306c19929479114b90a08363c1.tar.xz
nfs-utils-be40202f194877306c19929479114b90a08363c1.zip
gssd: reworked second level of debugging
Trimmed down the number messages being logged by moving them into level 3 or 4 of debugging Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/context_lucid.c')
-rw-r--r--utils/gssd/context_lucid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/gssd/context_lucid.c b/utils/gssd/context_lucid.c
index badbe88..5d77c21 100644
--- a/utils/gssd/context_lucid.c
+++ b/utils/gssd/context_lucid.c
@@ -206,7 +206,7 @@ prepare_krb5_rfc4121_buffer(gss_krb5_lucid_context_v1_t *lctx,
if (WRITE_BYTES(&p, end, lctx->send_seq)) goto out_err;
/* Protocol 0 here implies DES3 or RC4 */
- printerr(2, "%s: protocol %d\n", __FUNCTION__, lctx->protocol);
+ printerr(4, "%s: protocol %d\n", __FUNCTION__, lctx->protocol);
if (lctx->protocol == 0) {
enctype = lctx->rfc1964_kd.ctx_key.type;
keysize = lctx->rfc1964_kd.ctx_key.length;
@@ -219,7 +219,7 @@ prepare_krb5_rfc4121_buffer(gss_krb5_lucid_context_v1_t *lctx,
keysize = lctx->cfx_kd.ctx_key.length;
}
}
- printerr(2, "%s: serializing key with enctype %d and size %d\n",
+ printerr(4, "%s: serializing key with enctype %d and size %d\n",
__FUNCTION__, enctype, keysize);
if (WRITE_BYTES(&p, end, enctype)) goto out_err;
@@ -265,7 +265,7 @@ serialize_krb5_ctx(gss_ctx_id_t *ctx, gss_buffer_desc *buf, int32_t *endtime)
gss_krb5_lucid_context_v1_t *lctx = 0;
int retcode = 0;
- printerr(2, "DEBUG: %s: lucid version!\n", __FUNCTION__);
+ printerr(4, "DEBUG: %s: lucid version!\n", __FUNCTION__);
maj_stat = gss_export_lucid_sec_context(&min_stat, ctx,
1, &return_ctx);
if (maj_stat != GSS_S_COMPLETE) {