From: Luke Howard Date: Sat, 30 Jul 2005 08:30:36 +0000 (+0000) Subject: Back out previous commit, appears not to match frontend - still X-Git-Tag: OPENLDAP_AC_BP~150 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f5afe4fdc7b4828edc3246733730cd1981c9e303;p=openldap Back out previous commit, appears not to match frontend - still investigating --- diff --git a/servers/slapd/slapi/slapi_ops.c b/servers/slapd/slapi/slapi_ops.c index 08cb56faeb..c224d7a667 100644 --- a/servers/slapd/slapi/slapi_ops.c +++ b/servers/slapd/slapi/slapi_ops.c @@ -391,7 +391,8 @@ slapi_int_func_internal_pb( Slapi_PBlock *pb, slap_operation_t which ) return rc; } - func = &pb->pb_op->o_bd->be_bind; + pb->pb_op->o_bd = frontendDB; + func = &frontendDB->be_bind; return func[which]( pb->pb_op, pb->pb_rs ); } @@ -446,6 +447,10 @@ slapi_add_internal_pb( Slapi_PBlock *pb ) * The caller can specify a new entry, or a target DN and set * of modifications, but not both. */ + pb->pb_op->ora_e = (Entry *)slapi_ch_calloc( 1, sizeof(Entry) ); + ber_dupbv( &pb->pb_op->ora_e->e_name, &pb->pb_op->o_req_dn ); + ber_dupbv( &pb->pb_op->ora_e->e_nname, &pb->pb_op->o_req_ndn ); + if ( entry_orig != NULL ) { assert( pb->pb_op->ora_modlist == NULL );