(blind) fix for ITS#6661

This commit is contained in:
Pierangelo Masarati 2010-09-29 16:34:36 +00:00
parent aecd2f33d6
commit e04ff8fbf1

View File

@ -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;
}