diff options
author | Jeremy Allison <jra@samba.org> | 2014-10-24 13:57:04 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-10-31 03:47:40 +0100 |
commit | b0a434386dc2f77df89811bc3f56c4cc7fb7b16c (patch) | |
tree | c41dbe10d017e23288fc3bebe1f71dd0065d0adb /docs-xml/smbdotconf | |
parent | 9010bbeb00264f4476c3be7d2e8c8420c695cfbb (diff) | |
download | samba-b0a434386dc2f77df89811bc3f56c4cc7fb7b16c.tar.gz samba-b0a434386dc2f77df89811bc3f56c4cc7fb7b16c.tar.xz samba-b0a434386dc2f77df89811bc3f56c4cc7fb7b16c.zip |
s3:param: Add new option "strict rename".
Control whether smbd can rename directories containing
open files. Defaults to "no" (meaning we *can* do
such renames).
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'docs-xml/smbdotconf')
-rw-r--r-- | docs-xml/smbdotconf/tuning/strictrename.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs-xml/smbdotconf/tuning/strictrename.xml b/docs-xml/smbdotconf/tuning/strictrename.xml new file mode 100644 index 0000000000..54788634d8 --- /dev/null +++ b/docs-xml/smbdotconf/tuning/strictrename.xml @@ -0,0 +1,25 @@ +<samba:parameter name="strict rename" + context="S" + type="boolean" + xmlns:samba="http://www.samba.org/samba/DTD/samba-doc"> +<description> + <para>By default a Windows SMB server prevents directory + renames when there are open file or directory handles below + it in the filesystem hierarchy. Historically Samba has always + allowed this as POSIX filesystem semantics require it.</para> + + <para>This boolean parameter allows Samba to match the Windows + behavior. Setting this to "yes" is a very expensive change, + as it forces Samba to travers the entire open file handle + database on every directory rename request. In a clustered + Samba system the cost is even greater than the non-clustered + case.</para> + + <para>For this reason the default is "no", and it is recommended + to be left that way unless a specific Windows application requires + it to be changed.</para> + +</description> + +<value type="default">no</value> +</samba:parameter> |