Lines Matching refs:op
58 Operation *op,
64 backsql_info *bi = (backsql_info *)op->o_bd->be_private;
127 backsql_BindRowAsStrings_x( asth, &row, op->o_tmpmemctx );
246 rs->sr_text = op->o_req_dn.bv_val;
257 backsql_FreeRow_x( &row, op->o_tmpmemctx );
265 Operation *op,
272 backsql_info *bi = (backsql_info *)op->o_bd->be_private;
376 rs->sr_err = backsql_modify_delete_all_values( op, rs, dbh, e_id, at );
724 Operation *op,
731 backsql_info *bi = (backsql_info*)op->o_bd->be_private;
745 op->ora_e->e_name.bv_val,
763 op->ora_e->e_name.bv_val,
867 op->ora_e->e_name.bv_val,
879 op->ora_e->e_name.bv_val, rc, prc );
884 rs->sr_text = op->ora_e->e_name.bv_val;
892 rs->sr_text = op->ora_e->e_name.bv_val;
904 backsql_add( Operation *op, SlapReply *rs )
906 backsql_info *bi = (backsql_info*)op->o_bd->be_private;
930 if ( op->o_sync ) {
936 slap_get_csn( op, &csn, 1 );
939 send_ldap_result( op, rs );
941 slap_graduate_commit_csn( op );
948 op->ora_e->e_name.bv_val, 0, 0 );
954 rs->sr_err = entry_schema_check( op, op->ora_e, NULL, 0, 1, NULL,
959 op->ora_e->e_name.bv_val, 0, 0 );
965 slap_add_opattrs( op, &rs->sr_text, textbuf, textlen, 1 );
967 if ( get_assert( op ) &&
968 ( test_filter( op, op->ora_e, get_assertion( op )) != LDAP_COMPARE_TRUE ))
972 op->ora_e->e_name.bv_val, 0, 0 );
979 for ( at = op->ora_e->e_attrs; at != NULL; at = at->a_next ) {
991 for ( at = op->ora_e->e_attrs; at != NULL; at = at->a_next ) {
1000 op->ora_e->e_name.bv_val, 0, 0 );
1007 &text, buf, sizeof( buf ), op->o_tmpmemctx );
1011 op->ora_e->e_name.bv_val, text, rs->sr_err );
1027 op->ora_e->e_name.bv_val,
1039 op->ora_e->e_name.bv_val,
1052 op->ora_e->e_name.bv_val,
1061 if ( !access_allowed_mask( op, op->ora_e,
1066 e = op->ora_e;
1070 rs->sr_err = backsql_get_db_conn( op, &dbh );
1074 op->ora_e->e_name.bv_val, 0, 0 );
1087 realdn = op->ora_e->e_name;
1088 if ( backsql_api_dn2odbc( op, rs, &realdn ) ) {
1091 op->ora_e->e_name.bv_val, realdn.bv_val, 0 );
1098 rs->sr_err = backsql_dn2id( op, rs, dbh, &realdn, NULL, 0, 0 );
1102 op->ora_e->e_name.bv_val, 0, 0 );
1104 e = op->ora_e;
1111 if ( be_issuffix( op->o_bd, &op->ora_e->e_nname ) ) {
1115 dnParent( &op->ora_e->e_nname, &pdn );
1123 (time_t)(-1), NULL, dbh, op, rs, slap_anlist_no_attrs,
1137 if ( !access_allowed( op, &p, slap_schema.si_ad_children,
1167 op->ora_e->e_name.bv_val,
1182 at = attr_find( op->ora_e->e_attrs, oc->bom_create_hint );
1203 op->ora_e->e_name.bv_val, oc->bom_create_proc, 0 );
1208 op->ora_e->e_name.bv_val, 0, 0 );
1252 op->ora_e->e_name.bv_val, 0, 0 );
1263 op->ora_e->e_name.bv_val, ncols, 0 );
1300 op->ora_e->e_name.bv_val, 0, 0 );
1314 op->ora_e->e_name.bv_val, new_keyval, 0 );
1328 op->ora_e->e_name.bv_val,
1345 op->ora_e->e_name.bv_val,
1362 op->ora_e->e_name.bv_val,
1379 op->ora_e->e_name.bv_val,
1396 bi->sql_insentry_stmt, op->ora_e->e_name.bv_val,
1406 op->ora_e->e_name.bv_val, 0, 0 );
1421 for ( at = op->ora_e->e_attrs; at != NULL; at = at->a_next ) {
1442 rs->sr_err = backsql_add_attr( op, rs, dbh, oc, at, new_keyval );
1444 e = op->ora_e;
1450 rs->sr_err = backsql_add_attr( op, rs, dbh, oc,
1453 e = op->ora_e;
1465 if ( rs->sr_err == LDAP_SUCCESS && !op->o_noop ) {
1487 if ( e == op->ora_e && !ACL_GRANT( mask, ACL_DISCLOSE ) ) {
1491 } else if ( e == &p && !access_allowed( op, &p,
1509 if ( op->o_noop && rs->sr_err == LDAP_SUCCESS ) {
1513 send_ldap_result( op, rs );
1514 slap_graduate_commit_csn( op );
1517 && realdn.bv_val != op->ora_e->e_name.bv_val )
1523 (void)backsql_free_entryID( &bsi.bsi_base_id, 0, op->o_tmpmemctx );
1527 backsql_entry_clean( op, &p );
1531 op->ora_e->e_name.bv_val,