diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-11-25 14:08:38 +1300 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-04-02 17:12:45 +0200 |
commit | c3baddf271b9d09819aff4ce05314f940c6f1e4d (patch) | |
tree | 89df6e2a915346ed48c80b56897165a3838142b8 /auth | |
parent | 6f8297d3cfa0beb4c21101b528dfa598a24700ba (diff) | |
download | samba-c3baddf271b9d09819aff4ce05314f940c6f1e4d.tar.gz |
auth: Pass though error from GENSEC sub-mechanism
This allows wrong-password or account-locked-out errors to be passed
though from Kerberos (gssapi).
Andrew Bartlett
Change-Id: I4bc11a1ad98dfbcc5a4ad9101cd843a7a59f0b59
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'auth')
-rw-r--r-- | auth/gensec/spnego.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/gensec/spnego.c b/auth/gensec/spnego.c index 7e9dcaee70c..20cacdb9b45 100644 --- a/auth/gensec/spnego.c +++ b/auth/gensec/spnego.c @@ -705,7 +705,7 @@ static NTSTATUS gensec_spnego_create_negTokenInit(struct gensec_security *gensec spnego_state->sub_sec_security = NULL; DEBUG(1, ("Failed to setup SPNEGO negTokenInit request: %s\n", nt_errstr(nt_status))); - return NT_STATUS_INVALID_PARAMETER; + return nt_status; } |