1
0
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:
Stefan Metzmacher 2016-12-09 09:49:17 +01:00 committed by Andreas Schneider
parent 65be3af952
commit 6a5943cfd0

View File

@ -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);