summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/selftest/env/Samba4.pm1
-rwxr-xr-xsource4/selftest/selftest.pl4
2 files changed, 2 insertions, 3 deletions
diff --git a/source4/selftest/env/Samba4.pm b/source4/selftest/env/Samba4.pm
index d0f6d522e9..d7c37fab3e 100644
--- a/source4/selftest/env/Samba4.pm
+++ b/source4/selftest/env/Samba4.pm
@@ -647,7 +647,6 @@ nogroup:x:65534:nobody
DOMAIN => $domain,
USERNAME => $username,
REALM => $realm,
- LDB_MODULES_PATH => "$self->{bindir}/modules/ldb",
PASSWORD => $password,
LDAPDIR => $ldapdir,
WINBINDD_SOCKET_DIR => $winbindd_socket_dir,
diff --git a/source4/selftest/selftest.pl b/source4/selftest/selftest.pl
index c84f151043..2615390b92 100755
--- a/source4/selftest/selftest.pl
+++ b/source4/selftest/selftest.pl
@@ -403,7 +403,7 @@ if (defined($ENV{RUN_FROM_BUILD_FARM}) and
my $tls_enabled = not $opt_quick;
$ENV{TLS_ENABLED} = ($tls_enabled?"yes":"no");
-$ENV{LD_LDB_MODULE_PATH} = "$old_pwd/bin/modules/ldb";
+$ENV{LDB_MODULE_PATH} = "$old_pwd/bin/modules/ldb";
$ENV{LD_SAMBA_MODULE_PATH} = "$old_pwd/bin/modules";
if (defined($ENV{LD_LIBRARY_PATH})) {
$ENV{LD_LIBRARY_PATH} = "$old_pwd/bin/shared:$ENV{LD_LIBRARY_PATH}";
@@ -546,7 +546,7 @@ sub write_clientconf($$)
torture:basedir = $prefix_abs/client
#We don't want to pass our self-tests if the PAC code is wrong
gensec:require_pac = true
- modules dir = $prefix_abs/../bin/modules
+ modules dir = $ENV{LD_SAMBA_MODULE_PATH}
";
close(CF);
}