Skip to content
Snippets Groups Projects
Commit d3ed899a authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

allow the test to succeed even if SLAP_ACL_HONOR_DISCLOSE is not #define'd

parent cd6a5abf
No related branches found
No related tags found
No related merge requests found
# 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." \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment