mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
CVE-2020-25717: s4:smb_server: 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
6aedd965e1
commit
9a23515814
@ -102,7 +102,7 @@ static void sesssetup_old_send(struct tevent_req *subreq)
|
||||
struct auth_session_info *session_info;
|
||||
struct smbsrv_session *smb_sess;
|
||||
NTSTATUS status;
|
||||
uint8_t authoritative = 0;
|
||||
uint8_t authoritative = 1;
|
||||
uint32_t flags;
|
||||
|
||||
status = auth_check_password_recv(subreq, req, &user_info_dc,
|
||||
@ -243,7 +243,7 @@ static void sesssetup_nt1_send(struct tevent_req *subreq)
|
||||
struct auth_user_info_dc *user_info_dc = NULL;
|
||||
struct auth_session_info *session_info;
|
||||
struct smbsrv_session *smb_sess;
|
||||
uint8_t authoritative = 0;
|
||||
uint8_t authoritative = 1;
|
||||
uint32_t flags;
|
||||
NTSTATUS status;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user