mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-16 20:06:06 -05:00
set LDAPURLDesc lud_scope to LDAP_SCOPE_DEFAULT if set to LDAP_SCOPE_BASE, so no trailing '??base' is added to referrals; little more cleanup
This commit is contained in:
parent
83dc46d1bf
commit
2c66d5f856
2 changed files with 21 additions and 6 deletions
|
|
@ -2490,7 +2490,7 @@ description: Just added as ldap://localhost.localdomain:389/ou=Referrals,o=Bei
|
|||
spiel,c=DE
|
||||
description: ...and modified as ldap://ldap.example.com:389/ou=Referrals,o=Bei
|
||||
spiel,c=DE
|
||||
ref: ldap://ldap.example.com:389/ou=Referrals,o=Beispiel,c=DE??base
|
||||
ref: ldap://ldap.example.com:389/ou=Referrals,o=Beispiel,c=DE
|
||||
|
||||
# base="o=Esempio,c=IT"...
|
||||
dn: ou=Referrals,o=Esempio,c=IT
|
||||
|
|
@ -2501,7 +2501,7 @@ description: Just added as ldap://localhost.localdomain:389/ou=Referrals,o=Bei
|
|||
spiel,c=DE
|
||||
description: ...and modified as ldap://ldap.example.com:389/ou=Referrals,o=Bei
|
||||
spiel,c=DE
|
||||
ref: ldap://ldap.example.com:389/ou=Referrals,o=Beispiel,c=DE??base
|
||||
ref: ldap://ldap.example.com:389/ou=Referrals,o=Beispiel,c=DE
|
||||
|
||||
# searching filter="(seeAlso=cn=all staff,ou=Groups,o=Example,c=US)"
|
||||
# attrs="seeAlso"
|
||||
|
|
|
|||
|
|
@ -29,25 +29,40 @@ if test "x$RELAYS" = "x" ; then
|
|||
if test $BACKRELAY = relayno ; then
|
||||
echo "relay backend not available, test skipped"
|
||||
else
|
||||
RELAYS="${RELAYS}relay "
|
||||
if test "x$RELAYS" != "x" ; then
|
||||
RELAYS="${RELAYS} "
|
||||
fi
|
||||
RELAYS="${RELAYS}relay"
|
||||
fi
|
||||
|
||||
# back-ldap
|
||||
if test $BACKLDAP = ldapno ; then
|
||||
echo "ldap backend not available, test skipped"
|
||||
else
|
||||
RELAYS="${RELAYS}ldap "
|
||||
if test "x$RELAYS" != "x" ; then
|
||||
RELAYS="${RELAYS} "
|
||||
fi
|
||||
RELAYS="${RELAYS}ldap"
|
||||
fi
|
||||
|
||||
# back-meta
|
||||
if test $BACKMETA = metano ; then
|
||||
echo "meta backend not available, test skipped"
|
||||
else
|
||||
RELAYS="${RELAYS}meta "
|
||||
if test "x$RELAYS" != "x" ; then
|
||||
RELAYS="${RELAYS} "
|
||||
fi
|
||||
RELAYS="${RELAYS}meta"
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Using $RELAYS..."
|
||||
if test "x$RELAYS" = "x" ; then
|
||||
echo "no relaying capable backend is available"
|
||||
echo ">>>>> Test succeeded"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
echo "Testing virtual naming context mapping with backend(s) $RELAYS..."
|
||||
echo ""
|
||||
|
||||
first=1
|
||||
|
|
|
|||
Loading…
Reference in a new issue