]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
docs-xml:smb.conf: Fix "ctdbd socket" documentation gitlab/master
authorMartin Schwenke <mschwenke@ddn.com>
Wed, 21 Jan 2026 23:41:54 +0000 (10:41 +1100)
committerMartin Schwenke <martins@samba.org>
Thu, 22 Jan 2026 23:06:20 +0000 (23:06 +0000)
This has been wrong for a very long time.  I only noticed it just
now...  :-(

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15977

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Thu Jan 22 23:06:20 UTC 2026 on atb-devel-224

docs-xml/smbdotconf/misc/ctdbdsocket.xml

index 2bc118bd7a76c2ff56d496345d53212c13d8cbe6..40cd3fb4634a0888c7fa36162689268d73147eb9 100644 (file)
@@ -4,12 +4,16 @@
                  function="_ctdbd_socket"
                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
 <description>
-       <para>If you set <value type="example">clustering=yes</value>,
-       you need to tell Samba where ctdbd listens on its unix domain
-       socket. The default path as of ctdb 1.0 is /tmp/ctdb.socket which
-       you have to explicitly set for Samba in smb.conf.
-       </para>
+  <para>
+    In a test environment, this parameter can be used when
+    <value type="example">clustering=yes</value> to specify an alternate
+    location for the CTDB Unix domain socket.
+  </para>
+  <para>
+    This parameter should not be set in production environments.  If it
+    is not set then the (correct) build-time default is used.
+  </para>
 </description>
 <value type="default"></value>
-<value type="example">/tmp/ctdb.socket</value>
+<value type="example">/var/run/altctdb/ctdbd.socket</value>
 </samba:parameter>