diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-02-26 17:09:35 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-02-26 18:19:27 +1100 |
commit | b0b857d6ca842fb516b3330a11e0d6d78f35aded (patch) | |
tree | 0cf05ddaedb52df0211cbe2583298b86e745a1fd /source4/dsdb/dns | |
parent | 336ebeabad687dd81c87e0ac01e68853e15f27b1 (diff) | |
download | samba-b0b857d6ca842fb516b3330a11e0d6d78f35aded.tar.gz samba-b0b857d6ca842fb516b3330a11e0d6d78f35aded.tar.xz samba-b0b857d6ca842fb516b3330a11e0d6d78f35aded.zip |
s4-dns: use a loadparm list for samba_runcmd() commands
This allows commands with multiple arguments and quoting to be used,
while still avoiding running a shell (and this having shell expansion
problems)
Diffstat (limited to 'source4/dsdb/dns')
-rw-r--r-- | source4/dsdb/dns/dns_update.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/dsdb/dns/dns_update.c b/source4/dsdb/dns/dns_update.c index 82cb7155ac..4fefd656d7 100644 --- a/source4/dsdb/dns/dns_update.c +++ b/source4/dsdb/dns/dns_update.c @@ -157,10 +157,10 @@ static void dnsupdate_rebuild(struct dnsupdate_service *service) DEBUG(2,("Loading new DNS update grant rules\n")); service->confupdate.c = samba_runcmd(service->task->event_ctx, service, - timeval_current_ofs(10, 0), - 2, 0, - lp_rndc_command(service->task->lp_ctx), - "reload", NULL); + timeval_current_ofs(10, 0), + 2, 0, + lp_rndc_command(service->task->lp_ctx), + "reload", NULL); service->confupdate.c->async.fn = dnsupdate_rndc_done; service->confupdate.c->async.private_data = service; |