]> git.sur5r.net Git - openldap/commitdiff
better fix: in case of error during bind, just bail out (very conservative, though)
authorPierangelo Masarati <ando@openldap.org>
Tue, 1 Nov 2005 11:00:55 +0000 (11:00 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 1 Nov 2005 11:00:55 +0000 (11:00 +0000)
servers/slapd/back-meta/bind.c

index ccc5483dcc8bf9e73fd755cc7d440c93432582e6..6d890c56781c77b89656d2cead94c6fac637b2c9 100644 (file)
@@ -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;
                }
        }