From a41625455f07538547928992cf852264343bea82 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 19 May 2006 01:22:17 +0000 Subject: [PATCH] Add usershare prefix allow/deny list docs. Jeremy. --- docs/smbdotconf/misc/usershareprefixallowlist.xml | 24 ++++++++++++++++++++++ docs/smbdotconf/misc/usershareprefixdenylist.xml | 25 +++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 docs/smbdotconf/misc/usershareprefixallowlist.xml create mode 100644 docs/smbdotconf/misc/usershareprefixdenylist.xml diff --git a/docs/smbdotconf/misc/usershareprefixallowlist.xml b/docs/smbdotconf/misc/usershareprefixallowlist.xml new file mode 100644 index 00000000000..bacc2e9530e --- /dev/null +++ b/docs/smbdotconf/misc/usershareprefixallowlist.xml @@ -0,0 +1,24 @@ + + + This parameter specifies a list of absolute pathnames + the root of which are allowed to be exported by user defined share definitions. + If the pathname exported doesn't start with one of the strings in this + list the user defined share will not be allowed. This allows the Samba + administrator to restrict the directories on the system that can be + exported by user defined shares. + + + If there is a "usershare prefix deny list" and also a + "usershare prefix allow list" the deny list is processed + first, followed by the allow list, thus leading to the most + restrictive interpretation. + + + +NULL +/home /data /space + diff --git a/docs/smbdotconf/misc/usershareprefixdenylist.xml b/docs/smbdotconf/misc/usershareprefixdenylist.xml new file mode 100644 index 00000000000..75d4ba9afc1 --- /dev/null +++ b/docs/smbdotconf/misc/usershareprefixdenylist.xml @@ -0,0 +1,25 @@ + + + This parameter specifies a list of absolute pathnames + the root of which are NOT allowed to be exported by user defined share definitions. + If the pathname exported starts with one of the strings in this + list the user defined share will not be allowed. Any pathname not + starting with one of these strings will be allowed to be exported + as a usershare. This allows the Samba administrator to restrict the + directories on the system that can be exported by user defined shares. + + + If there is a "usershare prefix deny list" and also a + "usershare prefix allow list" the deny list is processed + first, followed by the allow list, thus leading to the most + restrictive interpretation. + + + +NULL +/etc /dev /private + -- 2.11.4.GIT