echo "running defines.sh"
. $SRCDIR/scripts/defines.sh
-if test $BACKLDAP != "ldapno" ; then
+if test $BACKLDAP = "ldapno" ; then
echo "LDAP backend not available, test skipped"
exit 0
-fi
+fi
+
+if test $BACKEND = "ldap" ; then
+ echo "LDAP backend not valid, test skipped"
+ exit 0
+fi
mkdir -p $TESTDIR $DBDIR1 $DBDIR2
pidfile @TESTDIR@/slapd.2.pid
argsfile @TESTDIR@/slapd.2.args
-#mod#modulepath ../servers/slapd/back-ldap/
-#mod#moduleload back_ldap.la
+#ldapmod#modulepath ../servers/slapd/back-ldap/
+#ldapmod#moduleload back_ldap.la
#monitormod#modulepath ../servers/slapd/back-monitor/
#monitormod#moduleload back_monitor.la