summaryrefslogtreecommitdiffstats
path: root/lib/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-10-14 10:34:53 -0700
committerJeremy Allison <jra@samba.org>2014-12-04 05:45:10 +0100
commit44d2612822a39b980fe2b85b2a780de2f3902155 (patch)
tree0f662bec127e8ab819b81624799354eae5927150 /lib/param
parente2d80a89d53fdd6794a344649c3c9728db93adce (diff)
downloadsamba-44d2612822a39b980fe2b85b2a780de2f3902155.tar.gz
samba-44d2612822a39b980fe2b85b2a780de2f3902155.tar.xz
samba-44d2612822a39b980fe2b85b2a780de2f3902155.zip
s3:param: Add "smb2 leases" parameter. Default "false".
This is currently marked as experimental! Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/param')
-rw-r--r--lib/param/param_table.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 5dbcda8f94..18b0628791 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -3023,6 +3023,15 @@ struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED | FLAG_SHARE | FLAG_GLOBAL,
},
{
+ .label = "smb2 leases",
+ .type = P_BOOL,
+ .p_class = P_GLOBAL,
+ .offset = GLOBAL_VAR(smb2_leases),
+ .special = NULL,
+ .enum_list = NULL,
+ .flags = FLAG_ADVANCED,
+ },
+ {
.label = "locking",
.type = P_BOOL,
.p_class = P_LOCAL,