diff options
-rw-r--r-- | source3/client/client.c | 2 | ||||
-rw-r--r-- | source3/client/smbspool.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index f06b241f64..22f861bb02 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -4346,7 +4346,7 @@ static int cmd_tcon(void) return 1; } - status = cli_tcon_andx(cli, sharename, "?????", "", 0); + status = cli_tree_connect(cli, sharename, "?????", "", 0); if (!NT_STATUS_IS_OK(status)) { d_printf("tcon failed: %s\n", nt_errstr(status)); return -1; 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)); |