mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r24503: Make 'make test TEST_LDAP=yes' pass on Fedora 7, by trying more
combinations of modules. Andrew Bartlett
This commit is contained in:
parent
fb1e1eebda
commit
481a3f0b2a
20
source/selftest/env/Samba4.pm
vendored
20
source/selftest/env/Samba4.pm
vendored
@ -232,6 +232,26 @@ moduleload syncprov
|
||||
close(CONF);
|
||||
}
|
||||
|
||||
if (system("slaptest -u -f $slapd_conf >&2") != 0) {
|
||||
open(CONF, ">$modconf");
|
||||
# enable slapd modules (Fedora layout)
|
||||
print CONF "
|
||||
modulepath /usr/lib/openldap
|
||||
moduleload syncprov
|
||||
";
|
||||
close(CONF);
|
||||
}
|
||||
|
||||
if (system("slaptest -u -f $slapd_conf >&2") != 0) {
|
||||
open(CONF, ">$modconf");
|
||||
# enable slapd modules (Fedora x86_64 layout)
|
||||
print CONF "
|
||||
modulepath /usr/lib64/openldap
|
||||
moduleload syncprov
|
||||
";
|
||||
close(CONF);
|
||||
}
|
||||
|
||||
system("slaptest -u -f $slapd_conf") == 0 or die("slaptest still fails after adding modules");
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user