summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-05-30 10:20:11 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-30 10:24:57 +0200
commit9c02667b8220368b02fcae3ba90a0c8d801661bc (patch)
tree586e060aa3c7715c878bf72f8f37406e0d54ed05 /source3
parentbce43d75da8e73a00a6aeca7c4064f17e4f2804e (diff)
downloadsamba-9c02667b8220368b02fcae3ba90a0c8d801661bc.tar.gz
samba-9c02667b8220368b02fcae3ba90a0c8d801661bc.tar.bz2
samba-9c02667b8220368b02fcae3ba90a0c8d801661bc.zip
s3:libsmb: use cli_tree_connect() instead of cli_tcon_andx()
cli_tree_connect() is more generic and uses what the server supports metze
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/cliconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c
index e45bf25702..9481e75e64 100644
--- a/source3/libsmb/cliconnect.c
+++ b/source3/libsmb/cliconnect.c
@@ -2835,8 +2835,8 @@ NTSTATUS cli_full_connection(struct cli_state **output_cli,
}
if (service) {
- nt_status = cli_tcon_andx(cli, service, service_type, password,
- pw_len);
+ nt_status = cli_tree_connect(cli, service, service_type,
+ password, pw_len);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(1,("failed tcon_X with %s\n", nt_errstr(nt_status)));
cli_shutdown(cli);