kludge fix for the problem

--- servers/slapd/back-meta/modify.c    2012-07-31 18:39:26.000000000 +0200
+++ servers/slapd/back-meta/modify.c    2013-05-14 12:45:39.273333000 +0200
@@ -176,6 +176,7 @@
        }
        modv[ i ] = 0;
 
+       rs->sr_type = -1;
 retry:;
        ctrls = op->o_ctrls;
        rc = meta_back_controls_add( op, rs, mc, candidate, &ctrls );
@@ -198,6 +200,10 @@
        }
 
 cleanup:;
+       if (rs->sr_type != REP_RESULT) {
+               send_ldap_error(op, rs, LDAP_OTHER, "connection problem trying 
to reach the other node");
+       }
+
        (void)mi->mi_ldap_extra->controls_free( op, rs, &ctrls );
 
        if ( mdn.bv_val != op->o_req_dn.bv_val ) {


Reply via email to