#ldapmod#moduleload back_ldap.la
#monitormod#modulepath ../servers/slapd/back-monitor/
#monitormod#moduleload back_monitor.la
+#gluemod#moduleload ../servers/slapd/overlays/glue.la
#######################################################################
# database definitions
#nosasl#idassert-authcDN "uid=proxy,ou=People,dc=example,dc=com"
#nosasl#idassert-passwd proxy
idassert-mode self
-subordinate
# groups branch
database ldap
#nosasl#idassert-authcDN "uid=proxy,ou=Groups,dc=example,dc=com"
#nosasl#idassert-passwd proxy
idassert-mode self
-subordinate
# root
database @BACKEND@
rootpw secret
index objectClass eq
index cn,sn,uid pres,eq,sub
+overlay glue
+glue-sub ou=groups,dc=example,dc=com
+glue-sub ou=people,dc=example,dc=com
#monitor#database monitor
echo "running defines.sh"
. $SRCDIR/scripts/defines.sh
-echo "### This test requires the ldap backend."
+echo "### This test requires the ldap backend and glue overlay."
echo "### If available, and explicitly requested, it can use SASL bind;"
echo "### note that SASL must be properly set up, and the requested"
echo "### mechanism must be available. Define SLAPD_USE_SASL={yes|<mech>},"
exit 0
fi
+if test $GLUE = "glueno" ; then
+ echo "glue overlay not available, test skipped"
+ exit 0
+fi
+
if test $WITH_SASL = "yes" ; then
if test $USE_SASL != "no" ; then
if test $USE_SASL = "yes" ; then