diff options
author | Karolin Seeger <ks@samba.org> | 2008-01-18 10:19:31 +0000 |
---|---|---|
committer | Gerald W. Carter <jerry@samba.org> | 2008-04-23 08:47:42 -0500 |
commit | 119ed5711429078235b7fa915ea657661f2abea5 (patch) | |
tree | 1409530ba9586c4740c8bed38ad100e93d119f37 /docs/manpages-3/smb.conf.5.xml | |
parent | 9a18c2ae733772c9b76798107732bd17d92081e8 (diff) | |
download | samba-119ed5711429078235b7fa915ea657661f2abea5.tar.gz samba-119ed5711429078235b7fa915ea657661f2abea5.tar.bz2 samba-119ed5711429078235b7fa915ea657661f2abea5.zip |
-fix some typos
-add missing whitespaces
-fix example for 'registry shares'
still missing: Description of 'config backend'
Karolin
(This used to be commit 7d0986b90e089a9d340eb796dc151981eed97aef)
Diffstat (limited to 'docs/manpages-3/smb.conf.5.xml')
-rw-r--r-- | docs/manpages-3/smb.conf.5.xml | 37 |
1 files changed, 18 insertions, 19 deletions
diff --git a/docs/manpages-3/smb.conf.5.xml b/docs/manpages-3/smb.conf.5.xml index 87584de650..0b2df36d80 100644 --- a/docs/manpages-3/smb.conf.5.xml +++ b/docs/manpages-3/smb.conf.5.xml @@ -717,14 +717,14 @@ chmod 1770 /usr/local/samba/lib/usershares <para> Starting with Samba version 3.2.0, the capability to store Samba configuration in the registry is available. - There are two levels of registry configuration. + There are two levels of registry configuration: </para> <orderedlist continuation="restarts" inheritnum="ignore" numeration="arabic"> <listitem><para>Share definitions stored in registry are used. - This is triggered by setting the global parameter - <parameter>registry shares</parameter> to - <quote>yes</quote> in <emphasis>smb.conf</emphasis>. + This is triggered by setting the global + parameter <parameter>registry shares</parameter> to <quote>yes</quote> + in <emphasis>smb.conf</emphasis>. </para> <para>Note: Shares defined in <emphasis>smb.conf</emphasis> @@ -733,15 +733,14 @@ chmod 1770 /usr/local/samba/lib/usershares </para></listitem> <listitem><para>Global <emphasis>smb.conf</emphasis> options stored in - registry are used. This - is triggered by a new parameter - <smbconfoption name="config backend">registry</smbconfoption> in + registry are used. This is triggered by the + parameter <smbconfoption name="config backend">registry</smbconfoption> in the [global] section of <emphasis>smb.conf</emphasis>. - This this removes everything that has been red from config files - to this poing and reads the content of the global configuration - section from the regsitry + This removes everything that has been read from config files + to this point and reads the content of the global configuration + section from the registry. Activation of global registry options automatically - activates registry shares. In this case, no share definition + activates registry shares. In this case, no share definitions from smb.conf are read: This is a registry only configuration with the advantage that share definitions are not read in a bulk at startup time but on demand when a share is @@ -750,13 +749,13 @@ chmod 1770 /usr/local/samba/lib/usershares </orderedlist> <para> - Caveat: To make registry-based configurations foolprof at least to a - certain extent, the use of - <parameter>lock directory</parameter>, - <parameter>config backend</parameter>, - and <parameter>include</parameter> inside the registry + Caveat: To make registry-based configurations foolproof at least to a + certain extent, the use + of <parameter>lock directory</parameter>, + <parameter>config backend</parameter>, and + <parameter>include</parameter> inside the registry configuration has been disabled. Especially, by changing the - <parameter>lock directory</parameter> inside the registry + <parameter>lock directory</parameter> inside the registry configuration, one would create a broken setup where the daemons do not see the configuration they loaded once it is active. </para> @@ -765,10 +764,10 @@ chmod 1770 /usr/local/samba/lib/usershares The registry configuration can be accessed with tools like <emphasis>regedit</emphasis> or <emphasis>net rpc registry</emphasis> in the key - <emphasis><literal>HKLM\Software\Samba\smbconf</literal></emphasis>. + <emphasis><literal>HKLM\Software\Samba\smbconf</literal></emphasis>. More conveniently, the <emphasis>conf</emphasis> subcommand of the - <citerefentry><refentrytitle>net</refentrytitle> + <citerefentry><refentrytitle>net</refentrytitle> <manvolnum>8</manvolnum></citerefentry> utility offers a dedicated interface to read and write the registry based configuration locally, i.e. directly |