mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
reset candidates when intentionally abandoning; consistently handle referrals
This commit is contained in:
parent
06eef0c78d
commit
6c65ad09b0
@ -426,3 +426,5 @@ pager: +1 313 555 2844
|
||||
facsimileTelephoneNumber: +1 313 555 9700
|
||||
telephoneNumber: +1 313 555 5331
|
||||
|
||||
# refldap://:9010/cn=Somewhere,ou=Meta,dc=example,dc=com??sub
|
||||
|
||||
|
@ -43,7 +43,9 @@ database meta
|
||||
suffix "o=Example,c=US"
|
||||
rootdn "cn=Manager,o=Example,c=US"
|
||||
rootpw secret
|
||||
nretries forever
|
||||
dont-chase-referrals
|
||||
#nretries forever
|
||||
nretries 1000
|
||||
|
||||
# local
|
||||
uri "@URI2@ou=Meta,o=Example,c=US"
|
||||
|
@ -15,3 +15,10 @@ cn: Dan Aykroyd
|
||||
sn: Aykroyd
|
||||
userPassword: elwood
|
||||
description: Elwood Blues
|
||||
|
||||
dn: cn=Somewhere,ou=Meta,dc=example,dc=com
|
||||
objectClass: referral
|
||||
objectClass: extensibleObject
|
||||
cn: Somewhere
|
||||
ref: ldap://:9010
|
||||
|
||||
|
@ -170,6 +170,13 @@ for f in $TESTDIR/$DATADIR/do_read.* ; do
|
||||
echo "ou=Meta,$METABASEDN" >> $f
|
||||
done
|
||||
|
||||
# add a read that matches a referral in the local database only,
|
||||
# but selects also the remote as candidate; this should be removed
|
||||
# to compare execution times with test008...
|
||||
for f in $TESTDIR/$DATADIR/do_read.* ; do
|
||||
echo "cn=Somewhere,ou=Meta,$METABASEDN" >> $f
|
||||
done
|
||||
|
||||
echo "Using tester for concurrent server access..."
|
||||
$SLAPDTESTER -P "$PROGDIR" -d "$TESTDIR/$DATADIR" -h $LOCALHOST -p $PORT3 -D "cn=Manager,$METABASEDN" -w $PASSWD -l 50 # -r 20
|
||||
RC=$?
|
||||
|
Loading…
Reference in New Issue
Block a user