From: Howard Chu Date: Sun, 16 Jan 2005 18:23:13 +0000 (+0000) Subject: Fix ITS#3490, set proper overlay context X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~362 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56e45fc1ae8659d46b3e2b758fb7a6d9053d69cc;p=openldap Fix ITS#3490, set proper overlay context --- diff --git a/servers/slapd/backover.c b/servers/slapd/backover.c index 03010aa6a5..6e396a5904 100644 --- a/servers/slapd/backover.c +++ b/servers/slapd/backover.c @@ -279,7 +279,7 @@ over_op_func( for (; on; on=on->on_next ) { func = &on->on_bi.bi_op_bind; if ( func[which] ) { - db.bd_info = (BackendInfo *)on; + op->o_bd->bd_info = (BackendInfo *)on; rc = func[which]( op, rs ); if ( rc != SLAP_CB_CONTINUE ) break; } @@ -287,7 +287,7 @@ over_op_func( func = &oi->oi_orig->bi_op_bind; if ( func[which] && rc == SLAP_CB_CONTINUE ) { - db.bd_info = oi->oi_orig; + op->o_bd->bd_info = oi->oi_orig; rc = func[which]( op, rs ); } /* should not fall thru this far without anything happening... */