summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2021-10-04 14:39:03 -0700
committerVolker Lendecke <vl@samba.org>2021-12-10 14:02:30 +0000
commit8ffeb18b9a1aac87d5bcec09744c7c90f64fbdbd (patch)
tree6c9261e5bb16802adf5bb55ae967dbc03497e42b /source3/param
parenta697814eba925c0a1d7bea8210181adf370436be (diff)
downloadsamba-8ffeb18b9a1aac87d5bcec09744c7c90f64fbdbd.tar.gz
docs-xml: Add "rpc start on demand helpers", true by default.
If "true" allow smbd and winbindd to spawn samba-dcerpcd as a named pipe helper. Allows upgrade without any change to smb.conf. If samba-dcerpcd is run as a daemon this must be set to "false". Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 5c784400e48..a366870d1fe 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -980,6 +980,12 @@ static void init_globals(struct loadparm_context *lp_ctx, bool reinit_globals)
Globals.min_domain_uid = 1000;
+ /*
+ * By default allow smbd and winbindd to start samba-dcerpcd as
+ * a named-pipe helper.
+ */
+ Globals.rpc_start_on_demand_helpers = true;
+
/* Now put back the settings that were set with lp_set_cmdline() */
apply_lp_set_cmdline();
}