summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-07-20 10:54:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:29:49 -0500
commit5bf8d0f51680ba2a44fd954049bd658436f18152 (patch)
tree0622415802803d587624ff53c6d738f0efe46f80
parent2f5f01567b4c30cd764843a1ca0c7ab6d9bc0882 (diff)
downloadsamba-5bf8d0f51680ba2a44fd954049bd658436f18152.tar.gz
samba-5bf8d0f51680ba2a44fd954049bd658436f18152.tar.bz2
samba-5bf8d0f51680ba2a44fd954049bd658436f18152.zip
r8644: This is a more useful error than unsuccesful.
Andrew Bartlett (This used to be commit d7136c93fb7ddf27d914329a7c9fd77de22d4356)
-rw-r--r--source4/auth/gensec/gensec_gssapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/gensec/gensec_gssapi.c b/source4/auth/gensec/gensec_gssapi.c
index a080e75d5c..a803e8649a 100644
--- a/source4/auth/gensec/gensec_gssapi.c
+++ b/source4/auth/gensec/gensec_gssapi.c
@@ -259,7 +259,7 @@ static NTSTATUS gensec_gssapi_client_start(struct gensec_security *gensec_securi
DEBUG(1, ("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;
+ return NT_STATUS_INVALID_PARAMETER;
}
name_token.value = cli_credentials_get_principal(creds,