diff options
author | Gerald Carter <jerry@samba.org> | 2005-02-23 17:29:28 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:55:44 -0500 |
commit | 01b87c63c90083dbb7a56d038f714bde1a49fb2a (patch) | |
tree | 65b73bed578bf66408369425ecc7d47c4d70ab1d /source3/include | |
parent | 96a3fede405cd095e353398ff05f4b43a07c457d (diff) | |
download | samba-01b87c63c90083dbb7a56d038f714bde1a49fb2a.tar.gz samba-01b87c63c90083dbb7a56d038f714bde1a49fb2a.tar.bz2 samba-01b87c63c90083dbb7a56d038f714bde1a49fb2a.zip |
r5518: Add initial msdfs support to smbclient. Currently I can only
cd up and down the tree and get directory listings.
Still have to figure out how to get a directory listing on a
2k dfs root. Also have to work out some issues with relative paths
that cross dfs mount points.
We're protected from the new code paths when connecting to
a non-dfs root share ( the flag from the tcon&X is stored
in the struct cli_state* )
(This used to be commit e57fd2c5f00de2b11a2b44374830e89a90bc0022)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/client.h | 1 | ||||
-rw-r--r-- | source3/include/msdfs.h | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index 8ae8faf90d..61c420c06b 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -106,6 +106,7 @@ struct cli_state { int initialised; int win95; uint32 capabilities; + BOOL dfsroot; TALLOC_CTX *mem_ctx; diff --git a/source3/include/msdfs.h b/source3/include/msdfs.h index 32aa7ecef2..eaefa81c5b 100644 --- a/source3/include/msdfs.h +++ b/source3/include/msdfs.h @@ -37,6 +37,12 @@ /* Maximum number of referrals for each Dfs volume */ #define MAX_REFERRAL_COUNT 256 +typedef struct _client_referral { + uint32 proximity; + uint32 ttl; + pstring dfspath; +} CLIENT_DFS_REFERRAL; + struct referral { pstring alternate_path; /* contains the path referred */ |