From caef1c7d2132fb9f669dd1e77c06172408386fc3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 28 Sep 2011 07:50:42 +0200 Subject: s4:libcli/smb2: correctly sign SMB2_OP_CANCEL request if they belong to a session metze --- source4/libcli/smb2/cancel.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4') diff --git a/source4/libcli/smb2/cancel.c b/source4/libcli/smb2/cancel.c index 28ef3099f3..9fcb8cffb5 100644 --- a/source4/libcli/smb2/cancel.c +++ b/source4/libcli/smb2/cancel.c @@ -57,6 +57,7 @@ NTSTATUS smb2_cancel(struct smb2_request *r) SBVAL(c->out.hdr, SMB2_HDR_MESSAGE_ID, c->seqnum); if (r->session) { SBVAL(c->out.hdr, SMB2_HDR_SESSION_ID, r->session->uid); + c->session = r->session; } SSVAL(c->out.body, 0x02, 0); -- cgit