]> git.sur5r.net Git - openldap/commitdiff
slapi_add_internal_pb() should not set op->ora_e, this is done by frontend
authorLuke Howard <lukeh@openldap.org>
Sat, 30 Jul 2005 08:19:26 +0000 (08:19 +0000)
committerLuke Howard <lukeh@openldap.org>
Sat, 30 Jul 2005 08:19:26 +0000 (08:19 +0000)
servers/slapd/slapi/slapi_ops.c

index 7ad05b1c49a7ec0f67087c635506b663d3f4ef7b..08cb56faeb6124e32d8d0eeb7bb59db2915adc71 100644 (file)
@@ -446,10 +446,6 @@ 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 );