summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/base/configbackend.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/smbdotconf/base/configbackend.xml')
-rw-r--r--docs/smbdotconf/base/configbackend.xml26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/smbdotconf/base/configbackend.xml b/docs/smbdotconf/base/configbackend.xml
new file mode 100644
index 0000000000..f9da134555
--- /dev/null
+++ b/docs/smbdotconf/base/configbackend.xml
@@ -0,0 +1,26 @@
+<samba:parameter name="config backend"
+ context="G"
+ type="enum"
+ advanced="1" developer="1"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>
+ This controls the backend for storing the configuration.
+ Possible values are <emphasis>file</emphasis> (the default)
+ and <emphasis>registry</emphasis>.
+ When <smbconfoption name="config backend">registry</smbconfoption>
+ is encountered while loading <emphasis>smb.conf</emphasis>,
+ the configuration read so far is dropped and the global
+ options are read from registry instead. So this triggers a
+ registry only configuration. Share definitions are not read
+ immediately but instead <parameter>registry
+ shares</parameter> is set to <emphasis>yes</emphasis>.
+ </para>
+ <para>
+ Note: This option can not be set inside the registry
+ configuration itself.
+ </para>
+</description>
+<value type="default">file</value>
+<value type="example">registry</value>
+</samba:parameter>