From 4c9608fb27b0f1bef846b72291ecb515045d3507 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 10 Aug 2017 15:04:08 +0200 Subject: param: Add 'binddns dir' parameter This allows to us to have restricted access to the directory by the group 'named' which bind is a member of. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12957 Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlet --- source3/param/loadparm.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index d5b1c56e21e..42e579efcfd 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -550,6 +550,8 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals) get_dyn_SMB_PASSWD_FILE()); lpcfg_string_set(Globals.ctx, &Globals.private_dir, get_dyn_PRIVATE_DIR()); + lpcfg_string_set(Globals.ctx, &Globals.binddns_dir, + get_dyn_BINDDNS_DIR()); /* use the new 'hash2' method by default, with a prefix of 1 */ lpcfg_string_set(Globals.ctx, &Globals.mangling_method, "hash2"); -- cgit v1.2.1