From: Stefan Metzmacher Date: Thu, 22 Dec 2016 07:46:21 +0000 (+0100) Subject: s3:librpc/gse: include ccache_name in DEBUG message if krb5_cc_resolve() fails X-Git-Tag: samba-4.4.10~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=119ddfdfa7b1eb53ce399d5f10b2bb0ddffa909e;p=thirdparty%2Fsamba.git s3:librpc/gse: include ccache_name in DEBUG message if krb5_cc_resolve() fails BUG: https://bugzilla.samba.org/show_bug.cgi?id=12480 Signed-off-by: Stefan Metzmacher Reviewed-by: Andreas Schneider (cherry picked from commit 6f029d58703f657e46fee35fc663128157db4d9f) --- diff --git a/source3/librpc/crypto/gse.c b/source3/librpc/crypto/gse.c index c4c4bbc8a0c..3f1615d4a74 100644 --- a/source3/librpc/crypto/gse.c +++ b/source3/librpc/crypto/gse.c @@ -172,8 +172,8 @@ static NTSTATUS gse_context_init(TALLOC_CTX *mem_ctx, k5ret = krb5_cc_resolve(gse_ctx->k5ctx, ccache_name, &gse_ctx->ccache); if (k5ret) { - DEBUG(1, ("Failed to resolve credential cache! (%s)\n", - error_message(k5ret))); + DEBUG(1, ("Failed to resolve credential cache '%s'! (%s)\n", + ccache_name, error_message(k5ret))); status = NT_STATUS_INTERNAL_ERROR; goto err_out; }