Skip to content
Snippets Groups Projects
Commit 124a8b5e authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

TS#7303 tweak

parent 5ea4e4ee
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment