mirror of
https://github.com/samba-team/samba.git
synced 2025-02-01 05:47:28 +03:00
CVE-2020-25717: auth/ntlmssp: start with authoritative = 1
This is not strictly needed, but makes it easier to audit that we don't miss important places. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14556 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
ae21152809
commit
a65cd59b20
@ -799,7 +799,7 @@ static void ntlmssp_server_auth_done(struct tevent_req *subreq)
|
||||
struct gensec_security *gensec_security = state->gensec_security;
|
||||
struct gensec_ntlmssp_context *gensec_ntlmssp = state->gensec_ntlmssp;
|
||||
struct auth4_context *auth_context = gensec_security->auth_context;
|
||||
uint8_t authoritative = 0;
|
||||
uint8_t authoritative = 1;
|
||||
NTSTATUS status;
|
||||
|
||||
status = auth_context->check_ntlm_password_recv(subreq,
|
||||
|
Loading…
x
Reference in New Issue
Block a user