summaryrefslogtreecommitdiff
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2013-02-20 14:59:42 +1030
committerRusty Russell <rusty@rustcorp.com.au>2013-02-20 05:31:20 +0100
commit3c9c3029f2bcf10ef614dd9f923d02232db3ac8d (patch)
tree4302afa36dee7fc05863a0e467c468f2b7824bb6 /lib/param/param_table.c
parente201033e84b54b13acc751db2b67cff159e12a0e (diff)
downloadsamba-3c9c3029f2bcf10ef614dd9f923d02232db3ac8d.tar.gz
samba-3c9c3029f2bcf10ef614dd9f923d02232db3ac8d.tar.bz2
samba-3c9c3029f2bcf10ef614dd9f923d02232db3ac8d.zip
param: 'use ntdb' flag (off by default).
For simplicity, we use this in the caller to choose between filenames. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/param/param_table.c')
-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 a73cd966bc..620f5f679b 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1895,6 +1895,15 @@ static struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED,
},
{
+ .label = "use ntdb",
+ .type = P_BOOL,
+ .p_class = P_GLOBAL,
+ .offset = GLOBAL_VAR(bUseNtdb),
+ .special = NULL,
+ .enum_list = NULL,
+ .flags = FLAG_ADVANCED,
+ },
+ {
.label = "use sendfile",
.type = P_BOOL,
.p_class = P_LOCAL,