diff options
-rw-r--r-- | lib/util/util_runcmd.c | 2 | ||||
-rw-r--r-- | selftest/target/Samba4.pm | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/util/util_runcmd.c b/lib/util/util_runcmd.c index ef897d469f..54643d3292 100644 --- a/lib/util/util_runcmd.c +++ b/lib/util/util_runcmd.c @@ -183,7 +183,7 @@ struct tevent_req *samba_runcmd_send(TALLOC_CTX *mem_ctx, } va_end(ap); - ret = execv(state->arg0, argv); + ret = execvp(state->arg0, argv); fprintf(stderr, "Failed to exec child - %s\n", strerror(errno)); _exit(255); return NULL; diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 9370a17838..06a5326096 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -584,7 +584,7 @@ sub provision_raw_step1($$) gensec:require_pac = true log level = $ctx->{server_loglevel} lanman auth = Yes - rndc command = /bin/true + rndc command = true dns update command = $ENV{SRCDIR_ABS}/scripting/bin/samba_dnsupdate -s $ctx->{smb_conf} --all-interfaces --use-file=$ctx->{dns_host_file} resolv:host file = $ctx->{dns_host_file} "; |