mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-18 01:58:33 -05:00
allow the test to succeed even if SLAP_ACL_HONOR_DISCLOSE is not #define'd
This commit is contained in:
parent
cd6a5abf22
commit
d3ed899a81
2 changed files with 3 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
# Try to read an entry inside the Alumni Association container.
|
||||
# It should give us noSuchObject if we're not bound...
|
||||
No such object (32)
|
||||
# ... and should return all attributes if we're bound as anyone
|
||||
# under Example.
|
||||
dn: cn=James A Jones 1,ou=Alumni Association,ou=People,dc=example,dc=com
|
||||
|
|
|
|||
|
|
@ -59,8 +59,10 @@ cat /dev/null > $SEARCHOUT
|
|||
echo "# Try to read an entry inside the Alumni Association container.
|
||||
# It should give us noSuchObject if we're not bound..." \
|
||||
>> $SEARCHOUT
|
||||
# FIXME: temporarily remove the "No such object" message to make
|
||||
# the test succeed even if SLAP_ACL_HONOR_DISCLOSE is not #define'd
|
||||
$LDAPSEARCH -b "$JAJDN" -h $LOCALHOST -p $PORT1 "(objectclass=*)" \
|
||||
>> $SEARCHOUT 2>&1
|
||||
2>&1 | grep -v "^No such object" >> $SEARCHOUT
|
||||
|
||||
echo "# ... and should return all attributes if we're bound as anyone
|
||||
# under Example." \
|
||||
|
|
|
|||
Loading…
Reference in a new issue