mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
Handle SLAPD_FILTER_COMPUTED cases
This commit is contained in:
parent
a0bcff1630
commit
792e97790d
@ -59,6 +59,17 @@ bdb_filter_candidates(
|
||||
|
||||
switch ( f->f_choice ) {
|
||||
case SLAPD_FILTER_COMPUTED:
|
||||
switch( f->f_result ) {
|
||||
case LDAP_COMPARE_FALSE:
|
||||
BDB_IDL_ZERO( ids );
|
||||
break;
|
||||
case LDAP_COMPARE_TRUE: {
|
||||
struct bdb_info *bdb = (struct bdb_info *)op->o_bd->be_private;
|
||||
BDB_IDL_ALL( bdb, ids );
|
||||
} break;
|
||||
case SLAPD_COMPARE_UNDEFINED:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case SLAPD_FILTER_DN_ONE:
|
||||
|
Loading…
Reference in New Issue
Block a user