mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Use glue overlay
This commit is contained in:
parent
553d9f6d66
commit
0c8851ff9b
2 changed files with 10 additions and 3 deletions
|
|
@ -29,6 +29,7 @@ argsfile ./testrun/slapd.1.args
|
|||
#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
|
||||
|
|
@ -58,7 +59,6 @@ uri "@URI2@"
|
|||
#nosasl#idassert-authcDN "uid=proxy,ou=People,dc=example,dc=com"
|
||||
#nosasl#idassert-passwd proxy
|
||||
idassert-mode self
|
||||
subordinate
|
||||
|
||||
# groups branch
|
||||
database ldap
|
||||
|
|
@ -70,7 +70,6 @@ uri "@URI3@"
|
|||
#nosasl#idassert-authcDN "uid=proxy,ou=Groups,dc=example,dc=com"
|
||||
#nosasl#idassert-passwd proxy
|
||||
idassert-mode self
|
||||
subordinate
|
||||
|
||||
# root
|
||||
database @BACKEND@
|
||||
|
|
@ -80,5 +79,8 @@ rootdn "cn=Manager,dc=example,dc=com"
|
|||
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
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
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>},"
|
||||
|
|
@ -27,6 +27,11 @@ if test $BACKLDAP = "ldapno" ; then
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue