Lines Matching refs:op
32 backsql_compare( Operation *op, SlapReply *rs )
39 int manageDSAit = get_manageDSAit( op );
44 rs->sr_err = backsql_get_db_conn( op, &dbh );
55 anlist[ 0 ].an_name = op->oq_compare.rs_ava->aa_desc->ad_cname;
56 anlist[ 0 ].an_desc = op->oq_compare.rs_ava->aa_desc;
63 rc = backsql_init_search( &bsi, &op->o_req_ndn, LDAP_SCOPE_BASE,
64 (time_t)(-1), NULL, dbh, op, rs, anlist,
72 dn_match( &op->o_req_ndn, &bsi.bsi_e->e_nname ) )
92 if ( get_assert( op ) &&
93 ( test_filter( op, &e, get_assertion( op ) )
100 if ( is_at_operational( op->oq_compare.rs_ava->aa_desc->ad_type ) ) {
112 rs->sr_err = backsql_operational( op, &nrs );
120 if ( ! access_allowed( op, &e, op->oq_compare.rs_ava->aa_desc,
121 &op->oq_compare.rs_ava->aa_value,
129 for ( a = attrs_find( e.e_attrs, op->oq_compare.rs_ava->aa_desc );
131 a = attrs_find( a->a_next, op->oq_compare.rs_ava->aa_desc ) )
137 &op->oq_compare.rs_ava->aa_value, NULL,
138 op->o_tmpmemctx ) == 0 )
153 ! access_allowed( op, &e,
163 send_ldap_result( op, rs );
175 (void)backsql_free_entryID( &bsi.bsi_base_id, 0, op->o_tmpmemctx );
179 backsql_entry_clean( op, &e );
183 op->o_tmpfree( bsi.bsi_attrs, op->o_tmpmemctx );