Commit 3304d125 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#1837, one-level searches on leaf entries

parent b89c4539
......@@ -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:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment