From: Pierangelo Masarati Date: Wed, 29 Sep 2010 16:34:36 +0000 (+0000) Subject: (blind) fix for ITS#6661 X-Git-Tag: MIGRATION_CVS2GIT~471 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e04ff8fbf1ec26768826e38ad081509b7ba10398;p=openldap (blind) fix for ITS#6661 --- diff --git a/servers/slapd/back-ndb/bind.cpp b/servers/slapd/back-ndb/bind.cpp index 33257d6670..f80902015e 100644 --- a/servers/slapd/back-ndb/bind.cpp +++ b/servers/slapd/back-ndb/bind.cpp @@ -42,11 +42,8 @@ ndb_back_bind( Operation *op, SlapReply *rs ) op->o_req_dn.bv_val, 0, 0); /* allow noauth binds */ - switch ( be_rootdn_bind( op, NULL ) ) { - case SLAP_CB_CONTINUE: - break; - - default: + rs->sr_err = be_rootdn_bind( op, NULL ); + if ( rs->sr_err != SLAP_CB_CONTINUE ) { return rs->sr_err; }