Skip to content
Snippets Groups Projects
Commit 9cf14d67 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

make sure back-ldap is available; only load required modules (ITS#5355)

parent a472c15a
No related branches found
No related tags found
No related merge requests found
......@@ -22,18 +22,12 @@ include @SCHEMADIR@/ppolicy.schema
pidfile @TESTDIR@/slapd.m.pid
argsfile @TESTDIR@/slapd.m.args
#mod#modulepath ../servers/slapd/back-@BACKEND@/
#mod#moduleload back_@BACKEND@.la
#relaymod#modulepath ../servers/slapd/back-relay/
#relaymod#moduleload back_relay.la
#ldapmod#modulepath ../servers/slapd/back-ldap/
#ldapmod#moduleload back_ldap.la
#metamod#modulepath ../servers/slapd/back-meta/
#metamod#moduleload back_meta.la
#monitormod#modulepath ../servers/slapd/back-monitor/
#monitormod#moduleload back_monitor.la
#rwmmod#modulepath ../servers/slapd/overlays/
#rwmmod#moduleload rwm.la
# seems to improve behavior under very heavy load
# (i.e. it alleviates load on target systems)
......@@ -53,6 +47,8 @@ nretries 100
# 1 sec timeout for binds
bind-timeout 1000000
idle-timeout 10
# local
uri "@URI2@ou=Meta,o=Example,c=US"
suffixmassage "ou=Meta,o=Example,c=US" "ou=Meta,dc=example,dc=com"
......
......@@ -23,6 +23,11 @@ if test $BACKMETA = metano ; then
exit 0
fi
if test $BACKLDAP = ldapno ; then
echo "ldap backend not available, test skipped"
exit 0
fi
rm -rf $TESTDIR
mkdir -p $TESTDIR $DBDIR1 $DBDIR2
......
......@@ -23,6 +23,11 @@ if test $BACKMETA = metano ; then
exit 0
fi
if test $BACKLDAP = ldapno ; then
echo "ldap backend not available, test skipped"
exit 0
fi
if test x$TESTLOOPS = x ; then
TESTLOOPS=50
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment