summaryrefslogtreecommitdiff
path: root/docs/smbdotconf/misc/followsymlinks.xml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/smbdotconf/misc/followsymlinks.xml')
-rw-r--r--docs/smbdotconf/misc/followsymlinks.xml21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/smbdotconf/misc/followsymlinks.xml b/docs/smbdotconf/misc/followsymlinks.xml
new file mode 100644
index 0000000000..441a08d26c
--- /dev/null
+++ b/docs/smbdotconf/misc/followsymlinks.xml
@@ -0,0 +1,21 @@
+<samba:parameter name="follow symlinks"
+ context="S"
+ type="boolean"
+ xmlns:samba="http://samba.org/common">
+<description>
+ <para>This parameter allows the Samba administrator
+ to stop <citerefentry><refentrytitle>smbd</refentrytitle>
+ <manvolnum>8</manvolnum></citerefentry> from following symbolic
+ links in a particular share. Setting this
+ parameter to <constant>no</constant> prevents any file or directory
+ that is a symbolic link from being followed (the user will get an
+ error). This option is very useful to stop users from adding a
+ symbolic link to <filename moreinfo="none">/etc/passwd</filename> in their home
+ directory for instance. However it will slow filename lookups
+ down slightly.</para>
+
+ <para>This option is enabled (i.e. <command moreinfo="none">smbd</command> will
+ follow symbolic links) by default.</para>
+</description>
+<value type="default">yes</value>
+</samba:parameter>