diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-06-09 21:41:06 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-07-28 14:09:45 +0200 |
commit | 4355b31730f900fcae1ccb58df4feb387489e1e9 (patch) | |
tree | f52684e3d60fe1e432364407e50d4e203c937f05 /source4/libcli/smb2 | |
parent | e80115deb9f57d827f915b57b52961f1e2df682e (diff) | |
download | samba-4355b31730f900fcae1ccb58df4feb387489e1e9.tar.gz samba-4355b31730f900fcae1ccb58df4feb387489e1e9.tar.xz samba-4355b31730f900fcae1ccb58df4feb387489e1e9.zip |
libcli/smb2: sign SMB2 Logoff requests
metze
(This used to be commit 35ee165b146b9157b0cff49e1139a0cb37d98926)
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r-- | source4/libcli/smb2/logoff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/smb2/logoff.c b/source4/libcli/smb2/logoff.c index b38a08ca432..e3f83f27d88 100644 --- a/source4/libcli/smb2/logoff.c +++ b/source4/libcli/smb2/logoff.c @@ -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); |