diff options
author | Shirish Kalele <kalele@samba.org> | 2000-05-16 01:13:16 +0000 |
---|---|---|
committer | Shirish Kalele <kalele@samba.org> | 2000-05-16 01:13:16 +0000 |
commit | 651946153e41354769839fa6cbcfd36fd320efbe (patch) | |
tree | e0682dd8ef1f369e2a31846715ebc9cd2f17cc6e /source3/msdfs/README | |
parent | 210f11d0e346db3c38d4d4f19cf77773537c9560 (diff) | |
download | samba-651946153e41354769839fa6cbcfd36fd320efbe.tar.gz samba-651946153e41354769839fa6cbcfd36fd320efbe.tar.bz2 samba-651946153e41354769839fa6cbcfd36fd320efbe.zip |
The new msdfs implementation that uses symlinks to point to other
servers. Very intuitive.
Removed the dfs map parsing code and tdb maintenance code (files
msdfs/parse_dfs_map.c & msdfs/msdfs_tdb.c), dfs map loading and unloading
calls (param/loadparm.c smbd/server.c).
Added code to display msdfs format symlinks as directories in a
transact2_findfirst/findnext. (smbd/trans2.c)
Modified msdfs/msdfs.c to use the msdfs symlinks to
create dfs referrals.
Changed msdfs/README to reflect new operability.
(This used to be commit 6803d2574fab9e5931786d5c9aa5dc5867bb5f05)
Diffstat (limited to 'source3/msdfs/README')
-rw-r--r-- | source3/msdfs/README | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/source3/msdfs/README b/source3/msdfs/README index 62fded3f55..0e924b31dc 100644 --- a/source3/msdfs/README +++ b/source3/msdfs/README @@ -5,23 +5,28 @@ Currently, MS Dfs support is a configure time parameter (--with-msdfs). Can be c To have a server announce itself as a Dfs server, add a "host msdfs=yes" entry to smb.conf. -To make a share a Dfs root, add a "dfs map" entry to the share definition in the smb.conf file. +To make a share a Dfs root, add a "msdfs root=yes" entry to the share definition +in the smb.conf file. e.g. [pub] - dfs map = /usr/local/samba/lib/pub_dfs_map + path = /export/publicsmb + msdfs root = yes -The pub_dfs_map file would contain a list of junction points and their referral paths. +To create dfs volumes/junctions in the share, create symbolic links of the +format msdfs:server1\share1,server2\share2 and so on. -In our example, if you have a directory pub_dir1/ in the pub share and want to make it a dfs junction point to \\machineX\pub, you can have an entry in the pub_dfs_map file as: +In the above example, create a dfs volume "dfsstorage" in the [pub] share as: +cd /export/publicsmb +ln -s msdfs:serverA\\share dfsstorage -pub_dir1 -\\machineX\pub:0:600 +Clicking on dfsstorage from a dfs-aware client will show you the contents of +\\serverA\share -where: 0 is the proximity of the server. If you have multiple referred servers for one junction point, you can set up preferences among these using this field. -& 600 is the number of seconds the client must cache the referral. After this time period, the smb client supposedly should contact the server again for a fresh referral. +Shares with "msdfs root = no" (which is the default) entries are served as normal +shares and the client stops talking Dfs with Samba after a tconX. -NOTE: You can have multiple referral paths for one junction point. Currently, the parser code depends on the leading \ to determine if the line is a referral or a new junction point. - -Shares with no "dfs map" entries are served as normal shares and the client stops talking Dfs with Samba after a tconX. - -TODO: Dynamically showing junction points to dfs clients alone,probably in the findfirst reply. Currently, you need to have directories on the samba server as token junction points. +NOTES: +* Windows clients need to be rebooted if a non-dfs root is made a dfs root or + vice versa. A better option is to introduce a new share and make it the dfs root. +* Currently there's a restriction that msdfs symlink names should be all + lowercase. |