mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 15:49:34 -05:00
ITS#1727 return allids on unknown filters to allow extended filtering
This commit is contained in:
parent
170de200f8
commit
1dcbb23f5b
1 changed files with 12 additions and 0 deletions
|
|
@ -187,6 +187,18 @@ filter_candidates(
|
||||||
*/
|
*/
|
||||||
result = idl_allids( be );
|
result = idl_allids( be );
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
#ifdef NEW_LOGGING
|
||||||
|
LDAP_LOG(( "filter", LDAP_LEVEL_DETAIL1,
|
||||||
|
"filter_candidates: UNKNOWN\n" ));
|
||||||
|
#else
|
||||||
|
Debug( LDAP_DEBUG_FILTER, "\tUNKNOWN\n", 0, 0, 0 );
|
||||||
|
#endif
|
||||||
|
/* unknown filters must not return NULL, to allow
|
||||||
|
* extended filter processing to be done later.
|
||||||
|
*/
|
||||||
|
result = idl_allids( be );
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef NEW_LOGGING
|
#ifdef NEW_LOGGING
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue