From 3afeeb6e313430dca732b50f2533d2982193244e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 9 Jan 2014 14:04:24 +1300 Subject: [PATCH] param: Add default for nsupdate command to s3 loadparm Signed-off-by: Andrew Bartlett Reviewed-by: Alexander Bokovoy --- source3/param/loadparm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 484cd69ff09..ab663ee1bd3 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -1079,6 +1079,8 @@ static void init_globals(bool reinit_globals) Globals.spn_update_command = (const char **)str_list_make_v3(NULL, s, NULL); SAFE_FREE(s); + Globals.nsupdate_command = (const char **)str_list_make_v3(NULL, "/usr/bin/nsupdate -g", NULL); + /* Now put back the settings that were set with lp_set_cmdline() */ apply_lp_set_cmdline(); } -- 2.11.4.GIT