mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +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 ) {
|
||||
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 );
|
||||
} else {
|
||||
rc = bdb_dn2idl( op, txn, &e->e_nname, BEI(e), ids, stack );
|
||||
|
Loading…
Reference in New Issue
Block a user