summaryrefslogtreecommitdiff
path: root/docs-xml
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2018-01-11 17:52:06 +0100
committerRalph Boehme <slow@samba.org>2018-02-03 23:42:16 +0100
commit84f07a8dcb8ee3a27be96f3baea5313bd0eaa084 (patch)
tree92a7b980cc278570694af6c4e9a1b69dd00bd72d /docs-xml
parent4c857e08a019174b16155fc9311ad788cdafd4cc (diff)
downloadsamba-84f07a8dcb8ee3a27be96f3baea5313bd0eaa084.tar.gz
s3/smbd: fix handling of delete-on-close on directories
This implements a check to test the delete-on-close flag of a directory for requests to create files in this directory. Windows server implement this check, Samba doesn't as it has performance implications. This commit implements the check and a new option to control it. By default the check is skipped, setting "check parent directory delete on close = yes" enables it. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Ralph Böhme <slow@samba.org> Autobuild-Date(master): Sat Feb 3 23:42:16 CET 2018 on sn-devel-144
Diffstat (limited to 'docs-xml')
-rw-r--r--docs-xml/smbdotconf/tuning/checkparentdirectorydeleteonclose.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/tuning/checkparentdirectorydeleteonclose.xml b/docs-xml/smbdotconf/tuning/checkparentdirectorydeleteonclose.xml
new file mode 100644
index 00000000000..1de06091dd7
--- /dev/null
+++ b/docs-xml/smbdotconf/tuning/checkparentdirectorydeleteonclose.xml
@@ -0,0 +1,13 @@
+<samba:parameter name="check parent directory delete on close"
+ context="S"
+ type="boolean"
+ xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
+<description>
+ <para>A Windows SMB server prevents the client from creating files in a
+ directory that has the delete-on-close flag set. By default Samba doesn't
+ perform this check as this check is a quite expensive operation in Samba.
+ </para>
+</description>
+
+<value type="default">no</value>
+</samba:parameter>