Skip to content
Snippets Groups Projects
Commit 3a47fd1f authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

backport hasSubordinate filter type assertion fix

parent cb4dd1a1
No related branches found
No related tags found
No related merge requests found
......@@ -463,10 +463,8 @@ test_ava_filter(
int hasSubordinates;
struct berval hs;
/*
* No other match should be allowed ...
*/
assert( type == LDAP_FILTER_EQUALITY );
/* No other match is supported */
if( type != LDAP_FILTER_EQUALITY ) return LDAP_OTHER;
if ( op->o_bd->be_has_subordinates( op, e, &hasSubordinates ) !=
LDAP_SUCCESS )
......
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