summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-06-03 11:18:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:27 -0500
commitb910a7c5e3553113aeda83865276defa59f68691 (patch)
tree919354a5b4d2aaa681419b137faf614eb9299b7d /source4
parentafeaf137c4cbcbde1d6e4c9921bb769a1d486aff (diff)
downloadsamba-b910a7c5e3553113aeda83865276defa59f68691.tar.gz
samba-b910a7c5e3553113aeda83865276defa59f68691.tar.bz2
samba-b910a7c5e3553113aeda83865276defa59f68691.zip
r7218: Don't use an uninitialised variable in an error message.
Andrew Bartlett (This used to be commit 1f68cf7d0eb5de18da7f9d14c729caf314740601)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/gensec/gensec_gssapi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index 71d91a9c96..314f76038b 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -208,7 +208,6 @@ static NTSTATUS gensec_gssapi_client_start(struct gensec_security *gensec_securi
NTSTATUS nt_status;
gss_buffer_desc name_token;
OM_uint32 maj_stat, min_stat;
- const char *ccache_name;
nt_status = gensec_gssapi_start(gensec_security);
if (!NT_STATUS_IS_OK(nt_status)) {
@@ -262,7 +261,7 @@ static NTSTATUS gensec_gssapi_client_start(struct gensec_security *gensec_securi
NULL);
if (maj_stat) {
DEBUG(1, ("GSS krb5 ccache set %s failed: %s\n",
- ccache_name,
+ gensec_gssapi_state->ccache_name,
gssapi_error_string(gensec_gssapi_state, maj_stat, min_stat)));
return NT_STATUS_UNSUCCESSFUL;
}