diff options
Diffstat (limited to 'source3/torture/torture.c')
-rw-r--r-- | source3/torture/torture.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index db8f1cd20f..64b1e930f4 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -1399,8 +1399,8 @@ static bool run_tcon_test(int dummy) return False; } - status = cli_tcon_andx(cli, share, "?????", - password, strlen(password)+1); + status = cli_tree_connect(cli, share, "?????", + password, strlen(password)+1); if (!NT_STATUS_IS_OK(status)) { printf("%s refused 2nd tree connect (%s)\n", host, nt_errstr(status)); @@ -1525,8 +1525,8 @@ static bool tcon_devtest(struct cli_state *cli, NTSTATUS status; bool ret; - status = cli_tcon_andx(cli, myshare, devtype, - password, strlen(password)+1); + status = cli_tree_connect(cli, myshare, devtype, + password, strlen(password)+1); if (NT_STATUS_IS_OK(expected_error)) { if (NT_STATUS_IS_OK(status)) { @@ -2845,7 +2845,7 @@ static bool run_fdsesstest(int dummy) return False; saved_cnum = cli_state_get_tid(cli); - if (!NT_STATUS_IS_OK(cli_tcon_andx(cli, share, "?????", "", 1))) + if (!NT_STATUS_IS_OK(cli_tree_connect(cli, share, "?????", "", 1))) return False; new_cnum = cli_state_get_tid(cli); cli_state_set_tid(cli, saved_cnum); |