summaryrefslogtreecommitdiff
path: root/source3/libsmb/clidfs.c
diff options
context:
space:
mode:
authorSATOH Fumiyasu <fumiyas@osstech.co.jp>2009-10-28 12:48:36 -0700
committerJeremy Allison <jra@samba.org>2009-10-28 12:48:36 -0700
commitc27194a7e08b51a36a3214a84dcd3d6a12c7f891 (patch)
tree19ee6aec78b26ddc1008b8f8154a6f0ffe276d53 /source3/libsmb/clidfs.c
parent0ba004dc7df8b4b3558d7fc4512c9491aa5a646d (diff)
downloadsamba-c27194a7e08b51a36a3214a84dcd3d6a12c7f891.tar.gz
samba-c27194a7e08b51a36a3214a84dcd3d6a12c7f891.tar.bz2
samba-c27194a7e08b51a36a3214a84dcd3d6a12c7f891.zip
Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r--source3/libsmb/clidfs.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index 53dc6d7984..33529595a2 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -32,16 +32,6 @@
as a separator when looking at the pathname part.... JRA.
********************************************************************/
-static bool cli_check_msdfs_proxy(TALLOC_CTX *ctx,
- struct cli_state *cli,
- const char *sharename,
- char **pp_newserver,
- char **pp_newshare,
- bool force_encrypt,
- const char *username,
- const char *password,
- const char *domain);
-
/********************************************************************
Ensure a connection is encrypted.
********************************************************************/
@@ -241,7 +231,7 @@ static struct cli_state *do_connect(TALLOC_CTX *ctx,
/* here's the fun part....to support 'msdfs proxy' shares
(on Samba or windows) we have to issues a TRANS_GET_DFS_REFERRAL
here before trying to connect to the original share.
- check_dfs_proxy() will fail if it is a normal share. */
+ cli_check_msdfs_proxy() will fail if it is a normal share. */
if ((c->capabilities & CAP_DFS) &&
cli_check_msdfs_proxy(ctx, c, sharename,
@@ -984,7 +974,7 @@ bool cli_resolve_path(TALLOC_CTX *ctx,
/********************************************************************
********************************************************************/
-static bool cli_check_msdfs_proxy(TALLOC_CTX *ctx,
+bool cli_check_msdfs_proxy(TALLOC_CTX *ctx,
struct cli_state *cli,
const char *sharename,
char **pp_newserver,