mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 06:01:23 -05:00
Short-circuit the mapping search if more than 1 entry is found
This commit is contained in:
parent
f0fade4d96
commit
7a92d4af1f
1 changed files with 1 additions and 1 deletions
|
|
@ -1606,7 +1606,7 @@ static int sasl_sc_sasl2dn( Operation *op, SlapReply *rs )
|
|||
Debug( LDAP_DEBUG_TRACE,
|
||||
"%s: slap_sc_sasl2dn: search DN returned more than 1 entry\n",
|
||||
op->o_log_prefix, 0, 0 );
|
||||
return LDAP_OTHER;
|
||||
return LDAP_UNAVAILABLE; /* short-circuit the search */
|
||||
}
|
||||
|
||||
ber_dupbv_x( ndn, &rs->sr_entry->e_nname, op->o_tmpmemctx );
|
||||
|
|
|
|||
Loading…
Reference in a new issue