From: Pierangelo Masarati Date: Tue, 1 Nov 2005 11:00:55 +0000 (+0000) Subject: better fix: in case of error during bind, just bail out (very conservative, though) X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~152 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d3f33d8139fa73c7c239a04bba4bfff63527a7ed;p=openldap better fix: in case of error during bind, just bail out (very conservative, though) --- diff --git a/servers/slapd/back-meta/bind.c b/servers/slapd/back-meta/bind.c index ccc5483dcc..6d890c5678 100644 --- a/servers/slapd/back-meta/bind.c +++ b/servers/slapd/back-meta/bind.c @@ -184,12 +184,8 @@ meta_back_bind( Operation *op, SlapReply *rs ) rs->sr_err = lerr; candidates[ i ].sr_tag = META_NOT_CANDIDATE; - if ( lerr == LDAP_INVALID_CREDENTIALS - || META_BACK_ONERR_STOP( mi ) ) - { - rc = rs->sr_err; - break; - } + rc = rs->sr_err; + break; } }