]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-ldbm/search.c
Add basic support for per-replica update referrals.
[openldap] / servers / slapd / back-ldbm / search.c
index 7abce79feb9f1306728a6543a7345199eb40ef01..8aae226f5ab4609782ce68913b6276e05dbbd90b 100644 (file)
@@ -361,7 +361,7 @@ search_candidates(
        af = NULL;
 #endif
 
-       if ( scope == LDAP_SCOPE_SUBTREE && !be_issuffix( be,  e->e_ndn ) ) {
+       if ( scope == LDAP_SCOPE_SUBTREE ) {
                lf = (Filter *) ch_malloc( sizeof(Filter) );
                lf->f_next = NULL;
                lf->f_choice = LDAP_FILTER_AND;