summaryrefslogtreecommitdiffstats
path: root/source3/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-10-24 13:57:04 -0700
committerJeremy Allison <jra@samba.org>2014-10-31 03:47:40 +0100
commitb0a434386dc2f77df89811bc3f56c4cc7fb7b16c (patch)
treec41dbe10d017e23288fc3bebe1f71dd0065d0adb /source3/param
parent9010bbeb00264f4476c3be7d2e8c8420c695cfbb (diff)
downloadsamba-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 'source3/param')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index f68c001f46..d6ba8fba10 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -206,6 +206,7 @@ static struct loadparm_service sDefault =
.follow_symlinks = true,
.sync_always = false,
.strict_allocate = false,
+ .strict_rename = false,
.strict_sync = false,
.mangling_char = '~',
.copymap = NULL,