diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2013-02-20 14:59:42 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-02-20 05:31:20 +0100 |
commit | 3c9c3029f2bcf10ef614dd9f923d02232db3ac8d (patch) | |
tree | 4302afa36dee7fc05863a0e467c468f2b7824bb6 /source3 | |
parent | e201033e84b54b13acc751db2b67cff159e12a0e (diff) | |
download | samba-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 'source3')
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/param/loadparm_ctx.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 77b949037b..c36125e53e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1161,6 +1161,7 @@ bool lp_client_ntlmv2_auth(void); bool lp_host_msdfs(void); bool lp_enhanced_browsing(void); bool lp_use_mmap(void); +bool lp_use_ntdb(void); bool lp_unix_extensions(void); bool lp_unicode(void); bool lp_use_spnego(void); diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c index 75f7e38957..63ead53ac1 100644 --- a/source3/param/loadparm_ctx.c +++ b/source3/param/loadparm_ctx.c @@ -112,6 +112,7 @@ static const struct loadparm_s3_helpers s3_fns = .unix_extensions = lp_unix_extensions, .use_spnego = lp_use_spnego, .use_mmap = lp_use_mmap, + .use_ntdb = lp_use_ntdb, .srv_minprotocol = lp_srv_minprotocol, .srv_maxprotocol = lp_srv_maxprotocol, |