mirror of
https://github.com/samba-team/samba.git
synced 2025-02-25 17:57:42 +03:00
s4-gensec Indicate if GENSEC is in client or server mode in the debug
This commit is contained in:
parent
329f76c410
commit
2b7730d291
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user