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:
parent
4f9fa5a81d
commit
c0c1b26a76
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user