summaryrefslogtreecommitdiff
path: root/lib/param
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2021-05-12 11:24:45 +0200
committerRalph Boehme <slow@samba.org>2024-11-05 14:39:30 +0000
commitae3e9dde4c5f400a70d15f5ef199c5d8100a0c69 (patch)
tree0c51ac6d540518a68d42c268c626017558167696 /lib/param
parent7b5914592293fb2c2a7e8cce18028dc66879b0fb (diff)
downloadsamba-ae3e9dde4c5f400a70d15f5ef199c5d8100a0c69.tar.gz
samba-ae3e9dde4c5f400a70d15f5ef199c5d8100a0c69.tar.bz2
samba-ae3e9dde4c5f400a70d15f5ef199c5d8100a0c69.zip
smbd: add option "smb3 directory leases"
By default enabled on non-clustered Samba, disabled on clustered Samba, the reason being the expected additional load caused by forcing strict rename to be enabled. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index db434e66262..c867527f255 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -3077,6 +3077,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
lpcfg_do_global_parameter(lp_ctx, "smb2 leases", "yes");
+ lpcfg_do_global_parameter(lp_ctx, "smb3 directory leases", "Auto");
+
lpcfg_do_global_parameter(lp_ctx, "server multi channel support", "yes");
lpcfg_do_global_parameter(lp_ctx, "kerberos encryption types", "all");