]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:librpc/gse: include ccache_name in DEBUG message if krb5_cc_resolve() fails
authorStefan Metzmacher <metze@samba.org>
Thu, 22 Dec 2016 07:46:21 +0000 (08:46 +0100)
committerStefan Metzmacher <metze@samba.org>
Sat, 14 Jan 2017 09:27:06 +0000 (10:27 +0100)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12480

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 6f029d58703f657e46fee35fc663128157db4d9f)

source3/librpc/crypto/gse.c

index c4c4bbc8a0cfa9e7634126f12e746ccf07f6b7f9..3f1615d4a74a11dbdb6f881fef8b91bafb97e19d 100644 (file)
@@ -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;
        }