diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-10-31 17:51:11 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-24 19:02:32 +0100 |
commit | ee36217c408c5306f9fca12d64c0d5fbd3b2b31e (patch) | |
tree | 69e0f068a89059b2c103cffd5ae87470ca86f32b /source3/libsmb/clidfs.c | |
parent | b378abe4555a342b0db7f12ca142591dfcb6ad3b (diff) | |
download | samba-ee36217c408c5306f9fca12d64c0d5fbd3b2b31e.tar.gz samba-ee36217c408c5306f9fca12d64c0d5fbd3b2b31e.tar.xz samba-ee36217c408c5306f9fca12d64c0d5fbd3b2b31e.zip |
s3:libsmb: make use of cli_tree_connect()
metze
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r-- | source3/libsmb/clidfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 4d0e97a9b5..4e9ac0cd26 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/libsmb/clidfs.c @@ -223,8 +223,8 @@ static NTSTATUS do_connect(TALLOC_CTX *ctx, /* must be a normal share */ - status = cli_tcon_andx(c, sharename, "?????", - password, strlen(password)+1); + status = cli_tree_connect(c, sharename, "?????", + password, strlen(password)+1); if (!NT_STATUS_IS_OK(status)) { d_printf("tree connect failed: %s\n", nt_errstr(status)); cli_shutdown(c); @@ -1062,7 +1062,7 @@ bool cli_check_msdfs_proxy(TALLOC_CTX *ctx, /* check for the referral */ - if (!NT_STATUS_IS_OK(cli_tcon_andx(cli, "IPC$", "IPC", NULL, 0))) { + if (!NT_STATUS_IS_OK(cli_tree_connect(cli, "IPC$", "IPC", NULL, 0))) { return false; } |