From 4355b31730f900fcae1ccb58df4feb387489e1e9 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 9 Jun 2008 21:41:06 +0200 Subject: libcli/smb2: sign SMB2 Logoff requests metze (This used to be commit 35ee165b146b9157b0cff49e1139a0cb37d98926) --- source4/libcli/smb2/logoff.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') diff --git a/source4/libcli/smb2/logoff.c b/source4/libcli/smb2/logoff.c index b38a08ca43..e3f83f27d8 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); -- cgit