From e8f11edd449000a9e174d2efbe25042ec74f132c Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 26 Jun 2007 08:11:40 +0000 Subject: [PATCH] Fix a couple of tags. It is a little cumbersome for me to debug my manpage-sourcecode since I can only see useful output once It is on http://samba.org/~samba-bugs/docs/ ... :-/ (I have not yet come across a system that can produce readable manpage output from the source.) Michael --- docs/manpages-3/smb.conf.5.xml | 33 +++++++++++++++++++-------------- docs/smbdotconf/misc/include.xml | 5 +++-- docs/smbdotconf/misc/registryshares.xml | 2 +- 3 files changed, 23 insertions(+), 17 deletions(-) diff --git a/docs/manpages-3/smb.conf.5.xml b/docs/manpages-3/smb.conf.5.xml index ff527c1f53c..1592195f98c 100644 --- a/docs/manpages-3/smb.conf.5.xml +++ b/docs/manpages-3/smb.conf.5.xml @@ -724,17 +724,18 @@ chmod 1770 /usr/local/samba/lib/usershares Share definitions stored in registry are used. This is triggered by setting the global parameter registry shares to - yes in smb.conf. + yes in smb.conf. - Note: Shares defined in smb.conf always take priority over + + Note: Shares defined in smb.conf always take priority over shares of the same name defined in registry. - Global smb.conf options stored in + Global smb.conf options stored in registry are used. This is triggered by a new special meaning of the - parameter include = registry in - the [global] section of smb.conf. + parameter registry in + the [global] section of smb.conf. This reads the content of the global configuration section from the regsitry and includes the result with the same priorities as @@ -746,7 +747,7 @@ chmod 1770 /usr/local/samba/lib/usershares Even when global registry options are used, the initial source of - configuration is still the smb.conf file. + configuration is still the smb.conf file. It is this possible though, to produce a registry-only configuration with a minimal configuration file like this: @@ -755,8 +756,10 @@ chmod 1770 /usr/local/samba/lib/usershares This is also currently the only supported configuration with global registry options activated. More precisely, it is only supported to - specify options in smb.conf before the - occurrence of include = registry. + specify options in smb.conf + before the + occurrence of + registry. @@ -769,22 +772,24 @@ chmod 1770 /usr/local/samba/lib/usershares do not see the configuration they loaded once it is active. This phenomenon can of course also be triggered by specifying lock directory after the - include = registry directive. This is why + registry directive. + This is why this type of configuration is classified "unsupported" above. The registry configuration can be accessed with - tools like regedit or net rpc - registry in the key - HKLM\Software\Samba\smbconf. + tools like regedit or net rpc + registry in the key + HKLM\Software\Samba\smbconf. - More conveniently, the conf subcommand of the + More conveniently, the conf subcommand of the net 7 utility offers a dedicated interface to read and write the registry based configuration locally, i.e. directly - on the server. + accessing the database file, circumventing the + server. diff --git a/docs/smbdotconf/misc/include.xml b/docs/smbdotconf/misc/include.xml index 84e20dff89a..d8179ef1b0d 100644 --- a/docs/smbdotconf/misc/include.xml +++ b/docs/smbdotconf/misc/include.xml @@ -15,9 +15,10 @@ - The parameter include = registry has + Since Samba version 3.0.26, setting + registry has a special meaning: It does not include - a file named registry from the current working + a file named registry from the current working directory, but instead reads the global configuration options from the registry. See the section on registry-based configuration for details. Note that this option diff --git a/docs/smbdotconf/misc/registryshares.xml b/docs/smbdotconf/misc/registryshares.xml index 5557661998b..0295c5c85cd 100644 --- a/docs/smbdotconf/misc/registryshares.xml +++ b/docs/smbdotconf/misc/registryshares.xml @@ -6,7 +6,7 @@ This turns on or off support for share definitions read from - registry. Shares in defined in smb.conf take + registry. Shares in defined in smb.conf take precedence over shares with the same name defined in registry. See the section on registry-based configuration for details. -- 2.11.4.GIT