summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-11-16 09:28:21 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-11-15 23:17:05 +0000
commit2b7730d291c49a427135ddf62c3aa2ff4b7997e7 (patch)
tree564409575cf4dcfb57e0a7f0c32c5b3b9ea148a1 /source4
parent329f76c410ec0d8eee9ee471dd79d192e305cdba (diff)
downloadsamba-2b7730d291c49a427135ddf62c3aa2ff4b7997e7.tar.gz
samba-2b7730d291c49a427135ddf62c3aa2ff4b7997e7.tar.bz2
samba-2b7730d291c49a427135ddf62c3aa2ff4b7997e7.zip
s4-gensec Indicate if GENSEC is in client or server mode in the debug
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/gensec/gensec_gssapi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index 1a2e03f08a..a6d0ef2771 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -594,13 +594,15 @@ static NTSTATUS gensec_gssapi_update(struct gensec_security *gensec_security,
/* garbage input, possibly from the auto-mech detection */
return NT_STATUS_INVALID_PARAMETER;
default:
- DEBUG(1, ("GSS Update(krb5)(%d) Update failed: %s\n",
+ DEBUG(1, ("GSS %s Update(krb5)(%d) Update failed: %s\n",
+ gensec_security->gensec_role == GENSEC_CLIENT ? "client" : "server",
gensec_gssapi_state->gss_exchange_count,
gssapi_error_string(out_mem_ctx, maj_stat, min_stat, gensec_gssapi_state->gss_oid)));
return nt_status;
}
} else {
- DEBUG(1, ("GSS Update(%d) failed: %s\n",
+ DEBUG(1, ("GSS %s Update(%d) failed: %s\n",
+ gensec_security->gensec_role == GENSEC_CLIENT ? "client" : "server",
gensec_gssapi_state->gss_exchange_count,
gssapi_error_string(out_mem_ctx, maj_stat, min_stat, gensec_gssapi_state->gss_oid)));
return nt_status;