1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3:client: make use of cli_tree_connect_creds() in smbspool.c

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Stefan Metzmacher 2016-12-08 06:54:29 +01:00 committed by Andreas Schneider
parent bae607af36
commit 9bf8805ee9

View File

@ -453,8 +453,7 @@ smb_complete_connection(const char *myname,
return NULL;
}
nt_status = cli_tree_connect(cli, share, "?????", password,
strlen(password) + 1);
nt_status = cli_tree_connect_creds(cli, share, "?????", creds);
if (!NT_STATUS_IS_OK(nt_status)) {
fprintf(stderr, "ERROR: Tree connect failed (%s)\n",
nt_errstr(nt_status));