]> git.sur5r.net Git - openldap/commitdiff
ITS#2751 additional fix
authorHoward Chu <hyc@openldap.org>
Sat, 11 Oct 2003 02:52:48 +0000 (02:52 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 11 Oct 2003 02:52:48 +0000 (02:52 +0000)
servers/slapd/backover.c

index ee3be9ccd00901540df984ca532b1e7db7862b03..8101030eea15bd1f04a94c5045dda9abd7ab57b8 100644 (file)
@@ -180,6 +180,7 @@ over_op_func(
                }
        }
 
+       op->o_bd = be;
        func = &oi->oi_bd.bd_info->bi_op_bind;
        if ( func[which] && rc == SLAP_CB_CONTINUE ) {
                rc = func[which]( op, rs );
@@ -188,7 +189,6 @@ over_op_func(
        if ( rc == SLAP_CB_CONTINUE ) {
                rc = LDAP_UNWILLING_TO_PERFORM;
        }
-       op->o_bd = be;
        op->o_callback = cb.sc_private;
        return rc;
 }