git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28b48f8
)
s4:libcli/smb2: correctly sign SMB2_OP_CANCEL request if they belong to a session
author
Stefan Metzmacher
<metze@samba.org>
Wed, 28 Sep 2011 05:50:42 +0000
(07:50 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 28 Sep 2011 15:29:11 +0000
(17:29 +0200)
metze
source4/libcli/smb2/cancel.c
patch
|
blob
|
history
diff --git
a/source4/libcli/smb2/cancel.c
b/source4/libcli/smb2/cancel.c
index 28ef3099f3028a201b8e85ab7803f48d97b33162..9fcb8cffb51b066d189b1eb60de721f98d03cadc 100644
(file)
--- 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);