summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/spnego.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c
index 4d9d124807..3d9dbfb1e7 100644
--- a/source4/auth/gensec/spnego.c
+++ b/source4/auth/gensec/spnego.c
@@ -382,6 +382,8 @@ static NTSTATUS gensec_spnego_client_parse_negTokenInit(struct gensec_security *
spnego_state->sub_sec_security->ops->name, nt_errstr(nt_status)));
talloc_free(spnego_state->sub_sec_security);
spnego_state->sub_sec_security = NULL;
+ /* If the mech failed on first packet generation, pretend it never actually started */
+ continue;
}
return nt_status;
}