1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

smbd: use req->session instead of vuser->session in make_connection_smb1()

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Ralph Boehme 2020-01-02 17:06:23 +01:00 committed by Jeremy Allison
parent 8be0ca8e19
commit 9ef30c75b0

View File

@ -968,7 +968,7 @@ static connection_struct *make_connection_smb1(struct smb_request *req,
return NULL;
}
tcon->global->session_global_id =
vuser->session->global->session_global_id;
req->session->global->session_global_id;
tcon->compat = talloc_move(tcon, &conn);
tcon->status = NT_STATUS_OK;