summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smb2/compound.c3
-rw-r--r--source4/torture/smb2/notify.c1
-rw-r--r--source4/torture/smb2/util.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/smb2/compound.c b/source4/torture/smb2/compound.c
index da4de3a739..6b65d8a487 100644
--- a/source4/torture/smb2/compound.c
+++ b/source4/torture/smb2/compound.c
@@ -88,6 +88,7 @@ static bool test_compound_related1(struct torture_context *tctx,
tree->smbXcli = smbXcli_tcon_create(tree);
smb2cli_tcon_set_values(tree->smbXcli,
+ NULL, /* session */
0xFFFFFFFF, /* tcon_id */
0, /* type */
0, /* flags */
@@ -166,6 +167,7 @@ static bool test_compound_related2(struct torture_context *tctx,
tree->smbXcli = smbXcli_tcon_create(tree);
smb2cli_tcon_set_values(tree->smbXcli,
+ NULL, /* session */
0xFFFFFFFF, /* tcon_id */
0, /* type */
0, /* flags */
@@ -378,6 +380,7 @@ static bool test_compound_invalid2(struct torture_context *tctx,
tree->smbXcli = smbXcli_tcon_create(tree);
smb2cli_tcon_set_values(tree->smbXcli,
+ NULL, /* session */
0xFFFFFFFF, /* tcon_id */
0, /* type */
0, /* flags */
diff --git a/source4/torture/smb2/notify.c b/source4/torture/smb2/notify.c
index 4c53d65b2a..e83b099958 100644
--- a/source4/torture/smb2/notify.c
+++ b/source4/torture/smb2/notify.c
@@ -1821,6 +1821,7 @@ static struct smb2_tree *secondary_tcon(struct smb2_tree *tree,
}
smb2cli_tcon_set_values(tree1->smbXcli,
+ tree1->session->smbXcli,
tcon.smb2.out.tid,
tcon.smb2.out.share_type,
tcon.smb2.out.flags,
diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c
index 250c4a27c7..71e87f3961 100644
--- a/source4/torture/smb2/util.c
+++ b/source4/torture/smb2/util.c
@@ -296,6 +296,7 @@ bool torture_smb2_tree_connect(struct torture_context *tctx,
}
smb2cli_tcon_set_values(tree->smbXcli,
+ tree->session->smbXcli,
tcon.out.tid,
tcon.out.share_type,
tcon.out.flags,