diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-26 05:07:15 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:30:04 -0500 |
commit | 176ed87e48134fc998b417242943cfb2e7b4ce6a (patch) | |
tree | ac89825bd6b1505a50c0a4961b0fd60271fd0656 /source4 | |
parent | 5f0c8df55afd09169a945438088b4da1bf1809bb (diff) | |
download | samba-176ed87e48134fc998b417242943cfb2e7b4ce6a.tar.gz samba-176ed87e48134fc998b417242943cfb2e7b4ce6a.tar.bz2 samba-176ed87e48134fc998b417242943cfb2e7b4ce6a.zip |
r8774: make some gensec errors a bit less verbose
(This used to be commit 2134ca475586ed9e062fbf4ef7222fe286c60c57)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/gensec/gensec.c | 2 | ||||
-rw-r--r-- | source4/auth/gensec/gensec_gssapi.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c index cdfa854851..b500a09fdc 100644 --- a/source4/auth/gensec/gensec.c +++ b/source4/auth/gensec/gensec.c @@ -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; diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c index a803e8649a..0a98b69f82 100644 --- a/source4/auth/gensec/gensec_gssapi.c +++ b/source4/auth/gensec/gensec_gssapi.c @@ -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; |