mirror of
https://github.com/samba-team/samba.git
synced 2025-01-24 02:04:21 +03:00
r8774: make some gensec errors a bit less verbose
(This used to be commit 2134ca475586ed9e062fbf4ef7222fe286c60c57)
This commit is contained in:
parent
5f0c8df55a
commit
176ed87e48
@ -332,7 +332,7 @@ static NTSTATUS gensec_start_mech(struct gensec_security *gensec_security)
|
||||
if (gensec_security->ops->client_start) {
|
||||
status = gensec_security->ops->client_start(gensec_security);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(1, ("Failed to start GENSEC client mech %s: %s\n",
|
||||
DEBUG(2, ("Failed to start GENSEC client mech %s: %s\n",
|
||||
gensec_security->ops->name, nt_errstr(status)));
|
||||
}
|
||||
return status;
|
||||
|
@ -256,7 +256,7 @@ static NTSTATUS gensec_gssapi_client_start(struct gensec_security *gensec_securi
|
||||
GSS_C_NT_HOSTBASED_SERVICE,
|
||||
&gensec_gssapi_state->server_name);
|
||||
if (maj_stat) {
|
||||
DEBUG(1, ("GSS Import name of %s failed: %s\n",
|
||||
DEBUG(2, ("GSS Import name of %s failed: %s\n",
|
||||
(char *)name_token.value,
|
||||
gssapi_error_string(gensec_gssapi_state, maj_stat, min_stat)));
|
||||
return NT_STATUS_INVALID_PARAMETER;
|
||||
@ -271,7 +271,7 @@ static NTSTATUS gensec_gssapi_client_start(struct gensec_security *gensec_securi
|
||||
GSS_C_NT_USER_NAME,
|
||||
&gensec_gssapi_state->client_name);
|
||||
if (maj_stat) {
|
||||
DEBUG(1, ("GSS Import name of %s failed: %s\n",
|
||||
DEBUG(2, ("GSS Import name of %s failed: %s\n",
|
||||
(char *)name_token.value,
|
||||
gssapi_error_string(gensec_gssapi_state, maj_stat, min_stat)));
|
||||
return NT_STATUS_UNSUCCESSFUL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user