mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:torture/masktest: Use cli_tree_connect_creds()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
65be3af952
commit
6a5943cfd0
@ -218,8 +218,7 @@ static struct cli_state *connect_one(char *share)
|
||||
|
||||
DEBUG(4,(" session setup ok\n"));
|
||||
|
||||
status = cli_tree_connect(c, share, "?????", password,
|
||||
strlen(password)+1);
|
||||
status = cli_tree_connect_creds(c, share, "?????", test_creds);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(0,("tree connect failed: %s\n", nt_errstr(status)));
|
||||
cli_shutdown(c);
|
||||
|
Loading…
Reference in New Issue
Block a user