diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-10-31 17:51:47 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-24 19:02:33 +0100 |
commit | 694b7d6f772a87df5adad12493f332fffc7fecee (patch) | |
tree | 11013f724e009e4ebea48cf4889ab7a8ac2f37de /source3 | |
parent | ee36217c408c5306f9fca12d64c0d5fbd3b2b31e (diff) | |
download | samba-694b7d6f772a87df5adad12493f332fffc7fecee.tar.gz samba-694b7d6f772a87df5adad12493f332fffc7fecee.tar.bz2 samba-694b7d6f772a87df5adad12493f332fffc7fecee.zip |
s3:client: make use of cli_tree_connect()
metze
Diffstat (limited to 'source3')
-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)); |