Lines Matching refs:op
33 Operation *op;
46 rc = backsql_modify_delete_all_values( bda->op,
58 Operation *op,
66 bda.op = op;
82 Operation *op,
89 backsql_info *bi = (backsql_info*)op->o_bd->be_private;
99 rs->sr_err = backsql_delete_all_attrs( op, rs, dbh, eid );
293 backsql_tree_delete_search_cb( Operation *op, SlapReply *rs )
299 btd = (backsql_tree_delete_t *)op->o_callback->sc_private;
320 eid = backsql_entryID_dup( eid, op->o_tmpmemctx );
330 Operation *op,
335 Operation op2 = *op;
355 btd.btd_op = op;
360 op2.o_dn = op->o_bd->be_rootdn;
361 op2.o_ndn = op->o_bd->be_rootndn;
374 rc = op->o_bd->be_search( &op2, &rs2 );
378 send_ldap_result( op, rs );
384 1, op->o_tmpmemctx ) )
387 rc = backsql_delete_int( op, rs, dbh, sthp, btd.btd_eid, &e );
396 1, op->o_tmpmemctx ) )
403 backsql_delete( Operation *op, SlapReply *rs )
412 int manageDSAit = get_manageDSAit( op );
415 op->o_req_ndn.bv_val, 0, 0 );
417 rs->sr_err = backsql_get_db_conn( op, &dbh );
432 rs->sr_err = backsql_init_search( &bsi, &op->o_req_ndn,
434 (time_t)(-1), NULL, dbh, op, rs, slap_anlist_no_attrs,
442 dn_match( &op->o_req_ndn, &bsi.bsi_e->e_nname ) )
470 if ( get_assert( op ) &&
471 ( test_filter( op, &d, get_assertion( op ) )
479 if ( !access_allowed( op, &d, slap_schema.si_ad_entry,
490 rs->sr_err = backsql_has_children( op, dbh, &op->o_req_ndn );
498 if ( get_treeDelete( op ) ) {
506 op->o_req_dn.bv_val, 0, 0 );
533 if ( !be_issuffix( op->o_bd, &op->o_req_ndn ) ) {
534 dnParent( &op->o_req_ndn, &pdn );
538 (time_t)(-1), NULL, dbh, op, rs,
550 (void)backsql_free_entryID( &bsi.bsi_base_id, 0, op->o_tmpmemctx );
553 if ( !access_allowed( op, &p, slap_schema.si_ad_children,
568 if ( get_treeDelete( op ) ) {
569 backsql_tree_delete( op, rs, dbh, &sth );
578 backsql_delete_int( op, rs, dbh, &sth, &e_id, &e );
587 if ( rs->sr_err == LDAP_SUCCESS && !op->o_noop ) {
597 if ( !access_allowed( op, e, slap_schema.si_ad_entry, NULL,
610 if ( op->o_noop && rs->sr_err == LDAP_SUCCESS ) {
614 send_ldap_result( op, rs );
619 (void)backsql_free_entryID( &e_id, 0, op->o_tmpmemctx );
623 backsql_entry_clean( op, &d );
627 backsql_entry_clean( op, &p );