diff options
-rw-r--r-- | selftest/target/Samba4.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index 9563da642d..f1f2e17aab 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -525,7 +525,9 @@ sub provision_raw_prepare($$$$$$$$$$) if (defined($ENV{PYTHON})) { push (@provision_options, $ENV{PYTHON}); } - push (@provision_options, "$self->{srcdir}/source4/setup/provision"); + push (@provision_options, Samba::bindir_path($self, "samba-tool")); + push (@provision_options, "domain"); + push (@provision_options, "provision"); push (@provision_options, "--configfile=$ctx->{smb_conf}"); push (@provision_options, "--host-name=$ctx->{hostname}"); push (@provision_options, "--host-ip=$ctx->{ipv4}"); |