From 3ae39a87996ef2367d1dc851b2db3f1ecd51abb6 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 --- 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 5330fc3..8ae3c46 100644 --- a/source3/smbd/smb2_tcon.c +++ b/source3/smbd/smb2_tcon.c @@ -336,6 +336,8 @@ static NTSTATUS smbd_smb2_tree_connect(struct smbd_smb2_request *req, return status; } + req->last_tid = tcon->global->tcon_wire_id; + if (IS_PRINT(tcon->compat)) { *out_share_type = SMB2_SHARE_TYPE_PRINT; } else if (IS_IPC(tcon->compat)) { -- 1.9.1