From: Howard Chu Date: Tue, 4 Sep 2012 11:39:17 +0000 (-0700) Subject: More for ea248dacf4ffceeb51bb3240ef0efef4d83eefea X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c9c24fbafe005bca29f09db8a4870ee23201c7d2;p=openldap More for ea248dacf4ffceeb51bb3240ef0efef4d83eefea Fix search_aliases invocation --- diff --git a/servers/slapd/back-mdb/search.c b/servers/slapd/back-mdb/search.c index 46bc7b170e..624103657a 100644 --- a/servers/slapd/back-mdb/search.c +++ b/servers/slapd/back-mdb/search.c @@ -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; }