summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-24 13:03:11 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-24 19:02:33 +0100
commita312a8c788385faf0d179a36ce226503a612943e (patch)
treefa70c1149729d37964d18d2066c1c0bb85611f21 /source3/torture
parent694b7d6f772a87df5adad12493f332fffc7fecee (diff)
downloadsamba-a312a8c788385faf0d179a36ce226503a612943e.tar.gz
samba-a312a8c788385faf0d179a36ce226503a612943e.tar.bz2
samba-a312a8c788385faf0d179a36ce226503a612943e.zip
s3:torture: use cli_tree_connect() instead of smb2cli_tcon()
metze
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/test_smb2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index 940f3a69e1..5e0f24cb51 100644
--- a/source3/torture/test_smb2.c
+++ b/source3/torture/test_smb2.c
@@ -61,9 +61,9 @@ bool run_smb2_basic(int dummy)
return false;
}
- status = smb2cli_tcon(cli, share);
+ status = cli_tree_connect(cli, share, "?????", "", 0);
if (!NT_STATUS_IS_OK(status)) {
- printf("smb2cli_tcon returned %s\n", nt_errstr(status));
+ printf("cli_tree_connect returned %s\n", nt_errstr(status));
return false;
}