From d3f33d8139fa73c7c239a04bba4bfff63527a7ed Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 1 Nov 2005 11:00:55 +0000 Subject: [PATCH] better fix: in case of error during bind, just bail out (very conservative, though) --- servers/slapd/back-meta/bind.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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; } } -- 2.39.5