Lines Matching refs:op
35 meta_back_compare( Operation *op, SlapReply *rs )
37 metainfo_t *mi = ( metainfo_t * )op->o_bd->be_private;
44 struct berval mapped_attr = op->orc_ava->aa_desc->ad_cname;
45 struct berval mapped_value = op->orc_ava->aa_value;
50 mc = meta_back_getconn( op, rs, &candidate, LDAP_BACK_SENDERR );
51 if ( !mc || !meta_back_dobind( op, rs, mc, LDAP_BACK_SENDERR ) ) {
62 dc.conn = op->o_conn;
66 switch ( ldap_back_dn_massage( &dc, &op->o_req_dn, &mdn ) ) {
78 if ( op->orc_ava->aa_desc == slap_schema.si_ad_objectClass ) {
80 &op->orc_ava->aa_value,
92 &op->orc_ava->aa_desc->ad_cname,
98 if ( op->orc_ava->aa_desc->ad_type->sat_syntax == slap_schema.si_syn_distinguishedName )
102 switch ( ldap_back_dn_massage( &dc, &op->orc_ava->aa_value, &mapped_value ) )
115 ctrls = op->o_ctrls;
116 rc = meta_back_controls_add( op, rs, mc, candidate, &ctrls );
118 send_ldap_result( op, rs );
126 rs->sr_err = meta_back_op_result( mc, op, rs, candidate, msgid,
130 if ( meta_back_retry( op, rs, &mc, candidate, LDAP_BACK_SENDERR ) ) {
132 (void)mi->mi_ldap_extra->controls_free( op, rs, &ctrls );
138 (void)mi->mi_ldap_extra->controls_free( op, rs, &ctrls );
140 if ( mdn.bv_val != op->o_req_dn.bv_val ) {
144 if ( op->orc_ava->aa_value.bv_val != mapped_value.bv_val ) {