From 1627fcda3eff6e636438c90d07ffcfd497ea68e2 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 12 Sep 2012 18:07:58 +1000 Subject: dns_server: Remove parameter 'dns recursive queries' and base this on 'dns forwarder' This simplifies a very common configuration. Andrew Bartlett Signed-off-by: Stefan Metzmacher --- lib/param/loadparm.c | 1 - lib/param/param_functions.c | 1 - lib/param/param_table.c | 8 -------- 3 files changed, 10 deletions(-) (limited to 'lib/param') diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 277a92124b..990dd294b9 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -2215,7 +2215,6 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx) lpcfg_do_global_parameter(lp_ctx, "nsupdate command", "/usr/bin/nsupdate -g"); lpcfg_do_global_parameter(lp_ctx, "allow dns updates", "secure only"); - lpcfg_do_global_parameter(lp_ctx, "dns recursive queries", "False"); lpcfg_do_global_parameter(lp_ctx, "dns forwarder", ""); for (i = 0; parm_table[i].label; i++) { diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index bf6863e76d..ce2f671d73 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -179,7 +179,6 @@ FN_GLOBAL_BOOL(defer_sharing_violations, bDeferSharingViolations) FN_GLOBAL_BOOL(disable_netbios, bDisableNetbios) FN_GLOBAL_BOOL(_disable_spoolss, bDisableSpoolss) FN_GLOBAL_BOOL(_domain_logons, bDomainLogons) -FN_GLOBAL_BOOL(dns_recursive_queries, dns_recursive_queries) FN_GLOBAL_BOOL(enable_asu_support, bASUSupport) FN_GLOBAL_BOOL(enable_core_files, bEnableCoreFiles) FN_GLOBAL_BOOL(enable_privileges, bEnablePrivileges) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index cb9596c5f7..325f295342 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -4260,14 +4260,6 @@ static struct parm_struct parm_table[] = { .enum_list = NULL, .flags = FLAG_ADVANCED, }, - { - .label = "dns recursive queries", - .type = P_BOOL, - .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(dns_recursive_queries), - .special = NULL, - .enum_list = NULL - }, { .label = "dns update command", .type = P_CMDLIST, -- cgit