]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Add "server addresses" parameter
authorVolker Lendecke <vl@samba.org>
Fri, 21 Oct 2022 15:01:21 +0000 (17:01 +0200)
committerVolker Lendecke <vl@samba.org>
Thu, 10 Nov 2022 07:27:31 +0000 (07:27 +0000)
This is a per-share parameter to limit share visibility and
accessibility to specific server IP addresses.

This can be used to limit the visibility and accessibility of shares
on different subnets offered by the server.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
docs-xml/smbdotconf/browse/server_addresses.xml [new file with mode: 0644]

diff --git a/docs-xml/smbdotconf/browse/server_addresses.xml b/docs-xml/smbdotconf/browse/server_addresses.xml
new file mode 100644 (file)
index 0000000..e1dd6d6
--- /dev/null
@@ -0,0 +1,12 @@
+<samba:parameter name="server addresses"
+                 context="S"
+                 type="cmdlist"
+                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+  <para>This is a per-share parameter to limit share visibility and
+  accessibility to specific server IP addresses. Multi-homed servers
+  can offer a different set of shares per interface.</para>
+  <para>An empty list means to offer a share on all interfaces.</para>
+</description>
+<value type="default"/>
+</samba:parameter>