]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/search.c
When recreating a database from an ldif file created by ldbmcat,
[openldap] / servers / slapd / search.c
index cc74378ba992e8e16199394ee1734bf6c4da0a17..a24a9f68ee60fb9c76061a72b762bb0575171710 100644 (file)
@@ -200,6 +200,9 @@ do_search(
                goto return_results;
        }
 
+       /* deref the base if needed */
+       base = suffix_alias( be, base );
+
        /* actually do the search and send the result(s) */
        if ( be->be_search ) {
                (*be->be_search)( be, conn, op, base, scope, deref, sizelimit,