ITS#1727 return allids on unknown filters to allow extended filtering

This commit is contained in:
Howard Chu 2002-04-11 08:59:30 +00:00
parent 170de200f8
commit 1dcbb23f5b

View file

@ -187,6 +187,18 @@ filter_candidates(
*/
result = idl_allids( be );
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