git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5336447
)
s3:smb2_tcon: allow a compound request after a TreeConnect
author
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Jun 2017 21:01:18 +0000
(23:01 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 26 Jun 2017 10:34:22 +0000
(12:34 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12844
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit
f8974bcdbf8abe3803340dcd20206ff4de9d5079
)
source3/smbd/smb2_tcon.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_tcon.c
b/source3/smbd/smb2_tcon.c
index 5330fc39c36dfc8c674ebdd12bdcdc6599610ab7..914eb87aa8c2ec6d66c8cf23f57cbf977236489a 100644
(file)
--- a/
source3/smbd/smb2_tcon.c
+++ b/
source3/smbd/smb2_tcon.c
@@
-381,6
+381,8
@@
static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req,
*out_maximal_access = tcon->compat->share_access;
*out_tree_id = tcon->global->tcon_wire_id;
+ req->last_tid = tcon->global->tcon_wire_id;
+
return NT_STATUS_OK;
}