summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/raw/context.c2
-rw-r--r--source4/torture/rpc/xplogin.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/raw/context.c b/source4/torture/raw/context.c
index d0a948c401..20b93792df 100644
--- a/source4/torture/raw/context.c
+++ b/source4/torture/raw/context.c
@@ -229,7 +229,7 @@ static BOOL test_tree(struct smbcli_state *cli, TALLOC_CTX *mem_ctx)
status = smb_tree_connect(tree, mem_ctx, &tcon);
CHECK_STATUS(status, NT_STATUS_OK);
- tree->tid = tcon.tconx.out.cnum;
+ tree->tid = tcon.tconx.out.tid;
printf("tid1=%d tid2=%d\n", cli->tree->tid, tree->tid);
printf("try a tconx with a bad device type\n");
diff --git a/source4/torture/rpc/xplogin.c b/source4/torture/rpc/xplogin.c
index 9002e4649a..ce16cf2b1d 100644
--- a/source4/torture/rpc/xplogin.c
+++ b/source4/torture/rpc/xplogin.c
@@ -163,7 +163,7 @@ static NTSTATUS anon_ipc(struct smbcli_transport *transport,
return NT_STATUS_UNSUCCESSFUL;
}
- tree->tid = tcon.tconx.out.cnum;
+ tree->tid = tcon.tconx.out.tid;
if (tcon.tconx.out.dev_type != NULL)
tree->device = talloc_strdup(tree, tcon.tconx.out.dev_type);