mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
TS#7303 tweak
This commit is contained in:
parent
7c28420618
commit
ccffd16085
@ -1253,7 +1253,7 @@ static int search_candidates(
|
|||||||
|
|
||||||
if( op->ors_deref & LDAP_DEREF_SEARCHING ) {
|
if( op->ors_deref & LDAP_DEREF_SEARCHING ) {
|
||||||
rc = search_aliases( op, rs, e, txn, ids, scopes, stack );
|
rc = search_aliases( op, rs, e, txn, ids, scopes, stack );
|
||||||
if ( BDB_IDL_IS_ZERO( ids ))
|
if ( BDB_IDL_IS_ZERO( ids ) && rc == LDAP_SUCCESS )
|
||||||
rc = bdb_dn2idl( op, txn, &e->e_nname, BEI(e), ids, stack );
|
rc = bdb_dn2idl( op, txn, &e->e_nname, BEI(e), ids, stack );
|
||||||
} else {
|
} else {
|
||||||
rc = bdb_dn2idl( op, txn, &e->e_nname, BEI(e), ids, stack );
|
rc = bdb_dn2idl( op, txn, &e->e_nname, BEI(e), ids, stack );
|
||||||
|
Loading…
Reference in New Issue
Block a user