mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
r1687: Fix bogus requirement for SMB signing on guest connections.
Andrew Bartlett
This commit is contained in:
parent
64fcd8eceb
commit
3520af0f3d
@ -136,7 +136,10 @@ static NTSTATUS sesssetup_nt1(struct smbsrv_request *req, union smb_sesssetup *s
|
||||
&sess->nt1.out.domain);
|
||||
|
||||
req->session = smbsrv_session_find(req->smb_conn, sess->nt1.out.vuid);
|
||||
srv_setup_signing(req->smb_conn, &session_info->session_key, &sess->nt1.in.password2);
|
||||
if (!session_info->server_info->guest) {
|
||||
srv_setup_signing(req->smb_conn, &session_info->session_key, &sess->nt1.in.password2);
|
||||
}
|
||||
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user