mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
ITS#1837, one-level searches on leaf entries
This commit is contained in:
parent
b89c4539b9
commit
3304d125c4
@ -65,6 +65,10 @@ bdb_filter_candidates(
|
||||
Debug( LDAP_DEBUG_FILTER, "\tDN ONE\n", 0, 0, 0 );
|
||||
#endif
|
||||
rc = bdb_dn2idl( be, f->f_dn, DN_ONE_PREFIX, ids );
|
||||
if( rc == DB_NOTFOUND ) {
|
||||
BDB_IDL_ZERO( ids );
|
||||
rc = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
case SLAPD_FILTER_DN_SUBTREE:
|
||||
|
Loading…
Reference in New Issue
Block a user