]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
mapping shortcut from HEAD
authorHoward Chu <hyc@openldap.org>
Sun, 12 Nov 2006 02:58:18 +0000 (02:58 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 12 Nov 2006 02:58:18 +0000 (02:58 +0000)
servers/slapd/saslauthz.c

index ae461f4af087c204217ffca5b18ce2d1e4c2836b..357433871266b69bf5dbdc8ba5ef2da20f5f2f01 100644 (file)
@@ -1590,7 +1590,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 );