summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-09 00:31:21 +0000
committerGerald W. Carter <jerry@samba.org>2008-04-23 08:47:19 -0500
commitee4c020510614783bc992d1019e6b6ecf8239cea (patch)
tree445cd68c0816ea52cd2935eefa6b0fa2580d6607
parente7cc9e63ed574d25a820c1fcd6a8e5589f1766d8 (diff)
downloadsamba-ee4c020510614783bc992d1019e6b6ecf8239cea.tar.gz
samba-ee4c020510614783bc992d1019e6b6ecf8239cea.tar.bz2
samba-ee4c020510614783bc992d1019e6b6ecf8239cea.zip
Fix formatting a bit + small typo
(This used to be commit 842bdfe5083f735b7ccc9020baf548b8b958558a)
-rw-r--r--docs/manpages-3/smb.conf.5.xml26
1 files changed, 16 insertions, 10 deletions
diff --git a/docs/manpages-3/smb.conf.5.xml b/docs/manpages-3/smb.conf.5.xml
index 5376b74c23..94539a29ab 100644
--- a/docs/manpages-3/smb.conf.5.xml
+++ b/docs/manpages-3/smb.conf.5.xml
@@ -299,8 +299,8 @@ alias|alias|alias|alias...
<para>Starting with Samba version 3.0.23 the capability for non-root users to add, modify, and delete
their own share definitions has been added. This capability is called <emphasis>usershares</emphasis> and
- is controlled by a set of parameters in the <literal>[global]</literal> section of the smb.conf.
- The relevent parameters are :
+ is controlled by a set of parameters in the <smbconfsection>[global]</smbconfsection> section of the smb.conf.
+ The relevant parameters are :
</para>
<variablelist>
@@ -349,14 +349,20 @@ alias|alias|alias|alias...
shares, create the directory to contain the share definitions as follows:
</para>
<para>Become root:</para>
- <programlisting>
- mkdir /usr/local/samba/lib/usershares
- chgrp foo /usr/local/samba/lib/usershares
- chmod 1770 /usr/local/samba/lib/usershares
- </programlisting>
- <para>Then add the parameters <literal>usershare path = /usr/local/samba/lib/usershares</literal>,
- <literal>usershare max shares = 10</literal> (or the desired number of shares) to the global
- section of your smb.conf. Members of the group foo may then manipulate the user defined shares
+<programlisting>
+mkdir /usr/local/samba/lib/usershares
+chgrp foo /usr/local/samba/lib/usershares
+chmod 1770 /usr/local/samba/lib/usershares
+</programlisting>
+<para>Then add the parameters
+
+<programlisting>
+ <smbconfoption name="usershare path">/usr/local/samba/lib/usershares</smbconfoption>
+ <smbconfoption name="usershare max shares">10</smbconfoption> # (or the desired number of shares)
+</programlisting>
+
+ to the global
+ section of your <filename>smb.conf</filename>. Members of the group foo may then manipulate the user defined shares
using the following commands.</para>
<variablelist>