mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
84f07a8dcb
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
14 lines
509 B
XML
14 lines
509 B
XML
<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>
|