s3:smb2_tcon: allow a compound request after a TreeConnect
authorStefan Metzmacher <metze@samba.org>
Thu, 15 Jun 2017 21:01:18 +0000 (23:01 +0200)
committerJeremy Allison <jra@samba.org>
Sat, 17 Jun 2017 04:39:20 +0000 (06:39 +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>
source3/smbd/smb2_tcon.c

index 5330fc39c36dfc8c674ebdd12bdcdc6599610ab7..914eb87aa8c2ec6d66c8cf23f57cbf977236489a 100644 (file)
@@ -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;
 }