summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-07-25 12:33:39 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-25 14:48:50 +0200
commit0aac3c09f19875f670ac5f6438bb03f5a296cfab (patch)
treefb202743f10e4bc92f2217560c73b52b986c7279 /source4/torture
parent4d6d783afeb64da85f89117324e43e4171df0d02 (diff)
downloadsamba-0aac3c09f19875f670ac5f6438bb03f5a296cfab.tar.gz
samba-0aac3c09f19875f670ac5f6438bb03f5a296cfab.tar.bz2
samba-0aac3c09f19875f670ac5f6438bb03f5a296cfab.zip
libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()
metze
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,