From dc8cf856d8466bfc3d4876e118c541aafe36fe3d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 15 Jun 2017 23:01:18 +0200 Subject: [PATCH] s3:smb2_tcon: allow a compound request after a TreeConnect BUG: https://bugzilla.samba.org/show_bug.cgi?id=12844 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison (cherry picked from commit f8974bcdbf8abe3803340dcd20206ff4de9d5079) --- source3/smbd/smb2_tcon.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/smbd/smb2_tcon.c b/source3/smbd/smb2_tcon.c index 5330fc39c36..914eb87aa8c 100644 --- 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; } -- 2.11.0