summaryrefslogtreecommitdiff
path: root/docs/htmldocs/Samba3-HOWTO/msdfs.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/htmldocs/Samba3-HOWTO/msdfs.html')
-rw-r--r--docs/htmldocs/Samba3-HOWTO/msdfs.html64
1 files changed, 32 insertions, 32 deletions
diff --git a/docs/htmldocs/Samba3-HOWTO/msdfs.html b/docs/htmldocs/Samba3-HOWTO/msdfs.html
index ec59057001..29f51808d6 100644
--- a/docs/htmldocs/Samba3-HOWTO/msdfs.html
+++ b/docs/htmldocs/Samba3-HOWTO/msdfs.html
@@ -1,41 +1,41 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 20. Hosting a Microsoft Distributed File System Tree</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.72.0"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"><link rel="next" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 20. Hosting a Microsoft Distributed File System Tree</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="InterdomainTrusts.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="classicalprinting.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="msdfs"></a>Chapter 20. Hosting a Microsoft Distributed File System Tree</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Shirish</span> <span class="surname">Kalele</span></h3><div class="affiliation"><span class="orgname">Samba Team &amp; Veritas Software<br></span><div class="address"><p><br>
- <code class="email">&lt;<a href="mailto:samba@samba.org">samba@samba.org</a>&gt;</code><br>
- </p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">12 Jul 2000</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="msdfs.html#id390330">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id390715">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id390744">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id390330"></a>Features and Benefits</h2></div></div></div><p>
-<a class="indexterm" name="id390338"></a>
-<a class="indexterm" name="id390347"></a>
-<a class="indexterm" name="id390354"></a>
-<a class="indexterm" name="id390361"></a>
-<a class="indexterm" name="id390368"></a>
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter 20. Hosting a Microsoft Distributed File System Tree</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.73.1"><link rel="start" href="index.html" title="The Official Samba 3.2.x HOWTO and Reference Guide"><link rel="up" href="optional.html" title="Part III. Advanced Configuration"><link rel="prev" href="InterdomainTrusts.html" title="Chapter 19. Interdomain Trust Relationships"><link rel="next" href="classicalprinting.html" title="Chapter 21. Classical Printing Support"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter 20. Hosting a Microsoft Distributed File System Tree</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="InterdomainTrusts.html">Prev</a> </td><th width="60%" align="center">Part III. Advanced Configuration</th><td width="20%" align="right"> <a accesskey="n" href="classicalprinting.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="msdfs"></a>Chapter 20. Hosting a Microsoft Distributed File System Tree</h2></div><div><div class="author"><h3 class="author"><span class="firstname">Shirish</span> <span class="surname">Kalele</span></h3><div class="affiliation"><span class="orgname">Samba Team &amp; Veritas Software<br></span><div class="address"><p><br>
+ <code class="email">&lt;<a class="email" href="mailto:samba@samba.org">samba@samba.org</a>&gt;</code><br>
+ </p></div></div></div></div><div><div class="author"><h3 class="author"><span class="firstname">John</span> <span class="othername">H.</span> <span class="surname">Terpstra</span></h3><div class="affiliation"><span class="orgname">Samba Team<br></span><div class="address"><p><code class="email">&lt;<a class="email" href="mailto:jht@samba.org">jht@samba.org</a>&gt;</code></p></div></div></div></div><div><p class="pubdate">12 Jul 2000</p></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="sect1"><a href="msdfs.html#id2643470">Features and Benefits</a></span></dt><dt><span class="sect1"><a href="msdfs.html#id2643882">Common Errors</a></span></dt><dd><dl><dt><span class="sect2"><a href="msdfs.html#id2643915">MSDFS UNIX Path Is Case-Critical</a></span></dt></dl></dd></dl></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2643470"></a>Features and Benefits</h2></div></div></div><p>
+<a class="indexterm" name="id2643478"></a>
+<a class="indexterm" name="id2643487"></a>
+<a class="indexterm" name="id2643494"></a>
+<a class="indexterm" name="id2643501"></a>
+<a class="indexterm" name="id2643508"></a>
The distributed file system (DFS) provides a means of separating the logical
view of files and directories that users see from the actual physical locations
of these resources on the network. It allows for higher availability, smoother
storage expansion, load balancing, and so on.
</p><p>
-<a class="indexterm" name="id390380"></a>
-<a class="indexterm" name="id390387"></a>
-<a class="indexterm" name="id390394"></a>
- For information about DFS, refer to the <a href="http://www.microsoft.com/NTServer/nts/downloads/winfeatures/NTSDistrFile/AdminGuide.asp" target="_top">Microsoft
+<a class="indexterm" name="id2643523"></a>
+<a class="indexterm" name="id2643530"></a>
+<a class="indexterm" name="id2643537"></a>
+ For information about DFS, refer to the <a class="ulink" href="http://www.microsoft.com/NTServer/nts/downloads/winfeatures/NTSDistrFile/AdminGuide.asp" target="_top">Microsoft
documentation</a>. This document explains how to host a DFS tree on a UNIX machine (for DFS-aware clients
to browse) using Samba.
</p><p>
-<a class="indexterm" name="id390412"></a>
-<a class="indexterm" name="id390418"></a>
-<a class="indexterm" name="id390425"></a>
-<a class="indexterm" name="id390432"></a>
- A Samba server can be made a DFS server by setting the global Boolean <a class="indexterm" name="id390440"></a>host msdfs
+<a class="indexterm" name="id2643557"></a>
+<a class="indexterm" name="id2643564"></a>
+<a class="indexterm" name="id2643570"></a>
+<a class="indexterm" name="id2643577"></a>
+ A Samba server can be made a DFS server by setting the global Boolean <a class="link" href="smb.conf.5.html#HOSTMSDFS">host msdfs</a>
parameter in the <code class="filename">smb.conf</code> file. You designate a share as a DFS root using the share-level Boolean
- <a class="indexterm" name="id390453"></a>msdfs root parameter. A DFS root directory on Samba hosts DFS links in the form of
+ <a class="link" href="smb.conf.5.html#MSDFSROOT">msdfs root</a> parameter. A DFS root directory on Samba hosts DFS links in the form of
symbolic links that point to other servers. For example, a symbolic link
<code class="filename">junction-&gt;msdfs:storage1\share1</code> in the share directory acts as the DFS junction. When
DFS-aware clients attempt to access the junction link, they are redirected to the storage location (in this
case, <em class="parameter"><code>\\storage1\share1</code></em>).
</p><p>
-<a class="indexterm" name="id390479"></a>
-<a class="indexterm" name="id390485"></a>
-<a class="indexterm" name="id390492"></a>
-<a class="indexterm" name="id390499"></a>
+<a class="indexterm" name="id2643639"></a>
+<a class="indexterm" name="id2643646"></a>
+<a class="indexterm" name="id2643653"></a>
+<a class="indexterm" name="id2643660"></a>
DFS trees on Samba work with all DFS-aware clients ranging from Windows 95 to 200x.
- <a href="msdfs.html#dfscfg" title="Example 20.1. smb.conf with DFS Configured">The following sample configuration</a> shows how to setup a DFS tree on a Samba server.
+ <a class="link" href="msdfs.html#dfscfg" title="Example 20.1. smb.conf with DFS Configured">The following sample configuration</a> shows how to setup a DFS tree on a Samba server.
In the <code class="filename">/export/dfsroot</code> directory, you set up your DFS links to
other servers on the network.
</p><pre class="screen">
@@ -45,28 +45,28 @@
<code class="prompt">root# </code><strong class="userinput"><code>ln -s msdfs:storageA\\shareA linka</code></strong>
<code class="prompt">root# </code><strong class="userinput"><code>ln -s msdfs:serverB\\share,serverC\\share linkb</code></strong>
</pre><p>
-</p><div class="example"><a name="dfscfg"></a><p class="title"><b>Example 20.1. smb.conf with DFS Configured</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id390604"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id390617"></a><em class="parameter"><code>host msdfs = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[dfs]</code></em></td></tr><tr><td><a class="indexterm" name="id390638"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id390651"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table></div></div><br class="example-break"><p>
-<a class="indexterm" name="id390667"></a>
-<a class="indexterm" name="id390673"></a>
-<a class="indexterm" name="id390680"></a>
+</p><div class="example"><a name="dfscfg"></a><p class="title"><b>Example 20.1. smb.conf with DFS Configured</b></p><div class="example-contents"><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[global]</code></em></td></tr><tr><td><a class="indexterm" name="id2643768"></a><em class="parameter"><code>netbios name = GANDALF</code></em></td></tr><tr><td><a class="indexterm" name="id2643780"></a><em class="parameter"><code>host msdfs = yes</code></em></td></tr><tr><td> </td></tr><tr><td><em class="parameter"><code>[dfs]</code></em></td></tr><tr><td><a class="indexterm" name="id2643801"></a><em class="parameter"><code>path = /export/dfsroot</code></em></td></tr><tr><td><a class="indexterm" name="id2643813"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table></div></div><br class="example-break"><p>
+<a class="indexterm" name="id2643828"></a>
+<a class="indexterm" name="id2643834"></a>
+<a class="indexterm" name="id2643841"></a>
You should set up the permissions and ownership of the directory acting as the DFS root so that only
designated users can create, delete, or modify the msdfs links. Also note that symlink names should be all
lowercase. This limitation exists to have Samba avoid trying all the case combinations to get at the link
name. Finally, set up the symbolic links to point to the network shares you want and start Samba.
</p><p>
-<a class="indexterm" name="id390694"></a>
-<a class="indexterm" name="id390701"></a>
+<a class="indexterm" name="id2643858"></a>
+<a class="indexterm" name="id2643865"></a>
Users on DFS-aware clients can now browse the DFS tree on the Samba server at
<code class="constant">\\samba\dfs</code>. Accessing links linka or linkb (which appear as directories to the client)
takes users directly to the appropriate shares on the network.
- </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id390715"></a>Common Errors</h2></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>Windows clients need to be rebooted
+ </p></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2643882"></a>Common Errors</h2></div></div></div><div class="itemizedlist"><ul type="disc"><li><p>Windows clients need to be rebooted
if a previously mounted non-DFS share is made a DFS
root, or vice versa. A better way is to introduce a
new share and make it the DFS root.</p></li><li><p>Currently, there's a restriction that msdfs
symlink names should all be lowercase.</p></li><li><p>For security purposes, the directory
acting as the root of the DFS tree should have ownership
and permissions set so only designated users can
- modify the symbolic links in the directory.</p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id390744"></a>MSDFS UNIX Path Is Case-Critical</h3></div></div></div><p>
+ modify the symbolic links in the directory.</p></li></ul></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="id2643915"></a>MSDFS UNIX Path Is Case-Critical</h3></div></div></div><p>
A network administrator sent advice to the Samba mailing list
after long sessions trying to determine why DFS was not working.
His advice is worth noting.
@@ -78,7 +78,7 @@
in lowercase as well.
</span>&#8221;</p><p>
&#8220;<span class="quote">For example, I had a share defined as such:</span>&#8221;
- </p><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[pub]</code></em></td></tr><tr><td><a class="indexterm" name="id390781"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id390794"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table><p>
+ </p><table class="simplelist" border="0" summary="Simple list"><tr><td> </td></tr><tr><td><em class="parameter"><code>[pub]</code></em></td></tr><tr><td><a class="indexterm" name="id2643955"></a><em class="parameter"><code>path = /export/home/Shares/public_share</code></em></td></tr><tr><td><a class="indexterm" name="id2643967"></a><em class="parameter"><code>msdfs root = yes</code></em></td></tr></table><p>
&#8220;<span class="quote">and I could not make my Windows 9x/Me (with the dfs client installed) follow this symlink:</span>&#8221;
</p><pre class="screen">
damage1 -&gt; msdfs:damage\test-share