summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-02-20 14:59:42 +1030
committerRusty Russell <rusty@rustcorp.com.au>2013-02-20 05:31:20 +0100
commit3c9c3029f2bcf10ef614dd9f923d02232db3ac8d (patch)
tree4302afa36dee7fc05863a0e467c468f2b7824bb6 /docs-xml
parente201033e84b54b13acc751db2b67cff159e12a0e (diff)
downloadsamba-3c9c3029f2bcf10ef614dd9f923d02232db3ac8d.tar.gz
samba-3c9c3029f2bcf10ef614dd9f923d02232db3ac8d.tar.bz2
samba-3c9c3029f2bcf10ef614dd9f923d02232db3ac8d.zip
param: 'use ntdb' flag (off by default).
For simplicity, we use this in the caller to choose between filenames. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/smbdotconf/tuning/usentdb.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/tuning/usentdb.xml b/docs-xml/smbdotconf/tuning/usentdb.xml
new file mode 100644
index 0000000000..9a0d2cde79
--- /dev/null
+++ b/docs-xml/smbdotconf/tuning/usentdb.xml
@@ -0,0 +1,23 @@
+<samba:parameter name="use ntdb"
+ context="G"
+ type="boolean"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>Beginning in Samba 4.1, a growing number of databases can
+ use the NTDB format rather than TDB.
+ </para>
+ <para>If you enable this option these databases will defaul to a
+ <filename>.ntdb</filename> extension rather than
+ <filename>.tdb</filename>: If the <filename>.tdb</filename> file
+ exists, it will automatically be converted to NTDB and renamed to
+ <filename>.tdb.bak</filename>.
+ </para>
+ <para>Filenames explicitly specified in
+ <filename>smb.conf</filename> will be respected (ie. the format
+ will depend on the <filename>.ntdb</filename> or
+ <filename>.tdb</filename> extension).
+ </para>
+</description>
+
+<value type="default">no</value>
+</samba:parameter>