summaryrefslogtreecommitdiff
path: root/source3/client/smbspool.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/smbspool.c')
-rw-r--r--source3/client/smbspool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c
index b7955ee0c7..ddae1a6785 100644
--- a/source3/client/smbspool.c
+++ b/source3/client/smbspool.c
@@ -433,8 +433,8 @@ smb_complete_connection(const char *myname,
return NULL;
}
- nt_status = cli_tcon_andx(cli, share, "?????", password,
- strlen(password) + 1);
+ nt_status = cli_tree_connect(cli, share, "?????", password,
+ strlen(password) + 1);
if (!NT_STATUS_IS_OK(nt_status)) {
fprintf(stderr, "ERROR: Tree connect failed (%s)\n",
nt_errstr(nt_status));