1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-26 21:57:41 +03:00

r6792: Allow a mech to fail on the first pass at the packet, and still fall

back to the other options.

Andrew Bartlett
(This used to be commit 9153d7306124d5e4ffc0467728210e2e2235059f)
This commit is contained in:
Andrew Bartlett 2005-05-15 03:07:20 +00:00 committed by Gerald (Jerry) Carter
parent 4f9fa5a81d
commit c0c1b26a76

View File

@ -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;
}