summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-09-20 04:45:45 +0200
committerIra Cooper <ira@samba.org>2015-04-22 13:57:30 +0200
commitaf539f44a98ca16a24f7014f27cde742725b18c7 (patch)
tree2cf7c68487c7f789e7613a04367275e2335cf784 /source3/param
parent3dbff676eaadb5140296b5ede7aba93a6d0311b7 (diff)
downloadsamba-af539f44a98ca16a24f7014f27cde742725b18c7.tar.gz
s3:param: use GLOBAL_SECTION_SNUM in lp_enforce_ad_dc_settings()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 53078e98ec0..b399f680b17 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3629,17 +3629,18 @@ static bool lp_is_in_client(void)
static void lp_enforce_ad_dc_settings(void)
{
- lp_do_parameter(-1, "passdb backend", "samba_dsdb");
- lp_do_parameter(-1, "winbindd:use external pipes", "true");
- lp_do_parameter(-1, "rpc_server:default", "external");
- lp_do_parameter(-1, "rpc_server:svcctl", "embedded");
- lp_do_parameter(-1, "rpc_server:srvsvc", "embedded");
- lp_do_parameter(-1, "rpc_server:eventlog", "embedded");
- lp_do_parameter(-1, "rpc_server:ntsvcs", "embedded");
- lp_do_parameter(-1, "rpc_server:winreg", "embedded");
- lp_do_parameter(-1, "rpc_server:spoolss", "embedded");
- lp_do_parameter(-1, "rpc_daemon:spoolssd", "embedded");
- lp_do_parameter(-1, "rpc_server:tcpip", "no");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "passdb backend", "samba_dsdb");
+ lp_do_parameter(GLOBAL_SECTION_SNUM,
+ "winbindd:use external pipes", "true");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "rpc_server:default", "external");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "rpc_server:svcctl", "embedded");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "rpc_server:srvsvc", "embedded");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "rpc_server:eventlog", "embedded");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "rpc_server:ntsvcs", "embedded");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "rpc_server:winreg", "embedded");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "rpc_server:spoolss", "embedded");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "rpc_daemon:spoolssd", "embedded");
+ lp_do_parameter(GLOBAL_SECTION_SNUM, "rpc_server:tcpip", "no");
}
/***************************************************************************