]> git.sur5r.net Git - openldap/commitdiff
More for ea248dacf4ffceeb51bb3240ef0efef4d83eefea
authorHoward Chu <hyc@openldap.org>
Tue, 4 Sep 2012 11:39:17 +0000 (04:39 -0700)
committerHoward Chu <hyc@openldap.org>
Tue, 4 Sep 2012 11:39:17 +0000 (04:39 -0700)
Fix search_aliases invocation

servers/slapd/back-mdb/search.c

index 46bc7b170eab23da36617fb632a1952571e306ee..624103657ae415d933eb93a487daf52247fe6e68 100644 (file)
@@ -1081,7 +1081,7 @@ static int search_candidates(
        }
 
        if( op->ors_deref & LDAP_DEREF_SEARCHING ) {
-               rc = search_aliases( op, rs, e, txn, mci, scopes, stack );
+               rc = search_aliases( op, rs, e->e_id, txn, mci, scopes, stack );
        } else {
                rc = LDAP_SUCCESS;
        }