summaryrefslogtreecommitdiff
path: root/source4/selftest
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-02-21 10:43:13 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-02-21 10:43:13 +1100
commit0b1a24681e6b41129e05a9612610fade27aecd4d (patch)
tree1a0535bd6c27fdc30931cb2dd2a749e4ab0e670d /source4/selftest
parent774fa12ac1695600710ce9fac18024edd38161ee (diff)
downloadsamba-0b1a24681e6b41129e05a9612610fade27aecd4d.tar.gz
samba-0b1a24681e6b41129e05a9612610fade27aecd4d.tar.bz2
samba-0b1a24681e6b41129e05a9612610fade27aecd4d.zip
Be consistant about --ldap-backend-type
Make the EJS provision and the selftest scripts both use the new syntax for speicifying the ldap backend type. Andrew Bartlett (This used to be commit b1d2584277304be3f2a640465cbf6b2a3ec571cc)
Diffstat (limited to 'source4/selftest')
-rw-r--r--source4/selftest/target/Samba4.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/selftest/target/Samba4.pm b/source4/selftest/target/Samba4.pm
index 563aca876e..11d4c85aee 100644
--- a/source4/selftest/target/Samba4.pm
+++ b/source4/selftest/target/Samba4.pm
@@ -729,9 +729,10 @@ nogroup:x:65534:nobody
if ($self->{ldap} eq "openldap") {
($ret->{SLAPD_CONF}, $ret->{OPENLDAP_PIDFILE}) = $self->mk_openldap($ldapdir, $configuration) or die("Unable to create openldap directories");
+ push (@provision_options, "--ldap-backend-type=openldap");
} elsif ($self->{ldap} eq "fedora-ds") {
($ret->{FEDORA_DS_DIR}, $ret->{FEDORA_DS_PIDFILE}) = $self->mk_fedora_ds($ldapdir, $configuration) or die("Unable to create fedora ds directories");
- push (@provision_options, "--ldap-module=nsuniqueid");
+ push (@provision_options, "--ldap-backend-type=fedora-ds");
push (@provision_options, "'--aci=aci:: KHRhcmdldGF0dHIgPSAiKiIpICh2ZXJzaW9uIDMuMDthY2wgImZ1bGwgYWNjZXNzIHRvIGFsbCBieSBhbGwiO2FsbG93IChhbGwpKHVzZXJkbiA9ICJsZGFwOi8vL2FueW9uZSIpOykK'");
}