diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/torture.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c index c3a2f53385..3d1353450d 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -486,7 +486,7 @@ static BOOL run_tcon_test(void) } tree1 = cli->tree; /* save old tree connection */ - if (NT_STATUS_IS_ERR(smbcli_send_tconX(cli, share, "?????", password))) { + if (NT_STATUS_IS_ERR(smbcli_tconX(cli, share, "?????", password))) { printf("%s refused 2nd tree connect (%s)\n", host, smbcli_errstr(cli->tree)); smbcli_shutdown(cli); @@ -564,7 +564,7 @@ static BOOL tcon_devtest(struct smbcli_state *cli, BOOL ret; const char *password = lp_parm_string(-1, "torture", "password"); - status = NT_STATUS_IS_OK(smbcli_send_tconX(cli, myshare, devtype, + status = NT_STATUS_IS_OK(smbcli_tconX(cli, myshare, devtype, password)); printf("Trying share %s with devtype %s\n", myshare, devtype); |