diff options
author | SATOH Fumiyasu <fumiyas@osstech.co.jp> | 2009-10-28 12:48:36 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-10-28 12:48:36 -0700 |
commit | c27194a7e08b51a36a3214a84dcd3d6a12c7f891 (patch) | |
tree | 19ee6aec78b26ddc1008b8f8154a6f0ffe276d53 /source3/libsmb/clidfs.c | |
parent | 0ba004dc7df8b4b3558d7fc4512c9491aa5a646d (diff) | |
download | samba-c27194a7e08b51a36a3214a84dcd3d6a12c7f891.tar.gz |
Fix bug 6572 - libsmbclient: unable to access 'msdfs proxy' share.
Diffstat (limited to 'source3/libsmb/clidfs.c')
-rw-r--r-- | source3/libsmb/clidfs.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index 53dc6d79844..33529595a20 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, |