mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
libcli/smb2: sign SMB2 Logoff requests
metze (This used to be commit 35ee165b146b9157b0cff49e1139a0cb37d98926)
This commit is contained in:
parent
e80115deb9
commit
4355b31730
@ -33,6 +33,8 @@ struct smb2_request *smb2_logoff_send(struct smb2_session *session)
|
||||
req = smb2_request_init(session->transport, SMB2_OP_LOGOFF, 0x04, false, 0);
|
||||
if (req == NULL) return NULL;
|
||||
|
||||
req->session = session;
|
||||
|
||||
SBVAL(req->out.hdr, SMB2_HDR_SESSION_ID, session->uid);
|
||||
|
||||
SSVAL(req->out.body, 0x02, 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user