summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/misc/usershareprefixdenylist.xml
blob: 75d4ba9afc1aa77565d67c19149f993026916c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<samba:parameter name="usershare prefix deny list"
	         context="G"
		 basic="1" advanced="1"
		 type="string"
		 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
	<para>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.
	</para>
	<para>
	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.
	</para>

</description>
<value type="default">NULL</value>
<value type="example">/etc /dev /private</value>
</samba:parameter>