Lines Matching refs:op
33 backsql_modify( Operation *op, SlapReply *rs )
35 backsql_info *bi = (backsql_info*)op->o_bd->be_private;
40 int manageDSAit = get_manageDSAit( op );
49 op->o_req_ndn.bv_val, 0, 0 );
51 rs->sr_err = backsql_get_db_conn( op, &dbh );
66 rs->sr_err = backsql_init_search( &bsi, &op->o_req_ndn,
68 (time_t)(-1), NULL, dbh, op, rs,
77 dn_match( &op->o_req_ndn, &bsi.bsi_e->e_nname ) )
110 if ( get_assert( op ) &&
111 ( test_filter( op, &m, get_assertion( op ) )
119 slap_mods_opattrs( op, &op->orm_modlist, 1 );
124 if ( !acl_check_modlist( op, &m, op->orm_modlist ) ) {
130 rs->sr_err = backsql_modify_internal( op, rs, dbh, oc,
131 &bsi.bsi_base_id, op->orm_modlist );
140 backsql_entry_clean( op, &m );
149 rs->sr_err = entry_schema_check( op, &m, NULL, 0, 0, NULL,
164 if ( rs->sr_err == LDAP_SUCCESS && !op->o_noop ) {
173 if ( !access_allowed( op, e, slap_schema.si_ad_entry, NULL,
186 if ( op->o_noop && rs->sr_err == LDAP_SUCCESS ) {
190 send_ldap_result( op, rs );
191 slap_graduate_commit_csn( op );
194 (void)backsql_free_entryID( &bsi.bsi_base_id, 0, op->o_tmpmemctx );
198 backsql_entry_clean( op, &m );
202 op->o_tmpfree( bsi.bsi_attrs, op->o_tmpmemctx );