summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-01-09 14:04:24 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-01-28 17:26:45 +1300
commit3afeeb6e313430dca732b50f2533d2982193244e (patch)
tree3d9d2ba3b09e73672d81d7722bad253a34d7d473 /source3
parent6b040b2f542d41d53a9a42ed95e085beeb54f93b (diff)
downloadsamba-3afeeb6e313430dca732b50f2533d2982193244e.tar.gz
param: Add default for nsupdate 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 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();
}