summaryrefslogtreecommitdiff
path: root/source3/libsmb/passchange.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-31 17:51:11 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-24 19:02:32 +0100
commitee36217c408c5306f9fca12d64c0d5fbd3b2b31e (patch)
tree69e0f068a89059b2c103cffd5ae87470ca86f32b /source3/libsmb/passchange.c
parentb378abe4555a342b0db7f12ca142591dfcb6ad3b (diff)
downloadsamba-ee36217c408c5306f9fca12d64c0d5fbd3b2b31e.tar.gz
samba-ee36217c408c5306f9fca12d64c0d5fbd3b2b31e.tar.bz2
samba-ee36217c408c5306f9fca12d64c0d5fbd3b2b31e.zip
s3:libsmb: make use of cli_tree_connect()
metze
Diffstat (limited to 'source3/libsmb/passchange.c')
-rw-r--r--source3/libsmb/passchange.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c
index 83fd9ebf1f..2f6ff51632 100644
--- a/source3/libsmb/passchange.c
+++ b/source3/libsmb/passchange.c
@@ -134,7 +134,7 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
}
}
- result = cli_tcon_andx(cli, "IPC$", "IPC", "", 1);
+ result = cli_tree_connect(cli, "IPC$", "IPC", "", 1);
if (!NT_STATUS_IS_OK(result)) {
if (asprintf(err_str, "machine %s rejected the tconX on the "
"IPC$ share. Error was : %s.\n",