diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-10-31 17:49:29 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-24 19:02:32 +0100 |
commit | 2d9a8898f27b3d80851c7bd99b525118abeb92bc (patch) | |
tree | 608f7cf0b20b2921e3f80b18ba69b003c141626e /source3/torture/torture.c | |
parent | c6ed8e3211aa22e4a2a88ddb6a98c79e6c11dee7 (diff) | |
download | samba-2d9a8898f27b3d80851c7bd99b525118abeb92bc.tar.gz samba-2d9a8898f27b3d80851c7bd99b525118abeb92bc.tar.bz2 samba-2d9a8898f27b3d80851c7bd99b525118abeb92bc.zip |
s3:torture: make use of cli_tree_connect()
metze
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); |