1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

util: on FreeBSD true is in /usr/bin. Use execvp to find it

This commit is contained in:
Andrew Tridgell 2010-03-26 19:03:22 +11:00
parent fae84f98e3
commit 525a4fb2c4
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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}
";