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

test undefined attribute in filter

parent 098153c5
No related branches found
No related tags found
No related merge requests found
......@@ -382,6 +382,15 @@ objectClass: dcObject
o: Example
dc: example
# Testing undefined attribute in filter...
# refldap://localhost:9012/dc=example,dc=com??sub
dn: dc=example,dc=com
objectClass: organization
objectClass: dcObject
o: Example
dc: example
# Testing objectClass inheritance in filter...
dn: cn=Mitya Kovalev,dc=example,dc=com
objectClass: inetOrgPerson
......
......@@ -326,6 +326,19 @@ if test $RC != 0 ; then
exit $RC
fi
# ITS#4604
echo "Testing undefined attribute in filter..."
echo "# Testing undefined attribute in filter..." >> $SEARCHOUT
$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" \
"(|(o=example)(foobar=x))" >> $SEARCHOUT 2>&1
RC=$?
if test $RC != 0 ; then
echo "ldapsearch failed ($RC)!"
test $KILLSERVERS != no && kill -HUP $KILLPIDS
exit $RC
fi
echo "Testing objectClass inheritance in filter..."
echo "# Testing objectClass inheritance in filter..." >> $SEARCHOUT
$LDAPSEARCH -h $LOCALHOST -p $PORT1 -b "$BASEDN" \
......
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