summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-01-09 14:05:58 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-01-28 17:26:45 +1300
commit826ba5f1177719881ff9a5619e3cda9d80520971 (patch)
treedf2b570329d87a9e175317d29b241b132f7c722a /source3
parent3afeeb6e313430dca732b50f2533d2982193244e (diff)
downloadsamba-826ba5f1177719881ff9a5619e3cda9d80520971.tar.gz
param: Add default for rndc command to s3 loadparm
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index ab663ee1bd3..c5528d1c007 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -1081,6 +1081,8 @@ static void init_globals(bool reinit_globals)
Globals.nsupdate_command = (const char **)str_list_make_v3(NULL, "/usr/bin/nsupdate -g", NULL);
+ Globals.rndc_command = (const char **)str_list_make_v3(NULL, "/usr/sbin/rndc", NULL);
+
/* Now put back the settings that were set with lp_set_cmdline() */
apply_lp_set_cmdline();
}