From: Stefan Metzmacher Date: Thu, 15 Jun 2017 21:01:18 +0000 (+0200) Subject: s3:smb2_tcon: allow a compound request after a TreeConnect X-Git-Tag: samba-4.5.11~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48ab0c36a8f4d684e100c04251953bdb2dfa70bc;p=thirdparty%2Fsamba.git 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) --- 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; }