Commit ccffd160 authored by Howard Chu's avatar Howard Chu
Browse files

TS#7303 tweak

parent 7c284206
......@@ -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 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment