• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/back-sql/

Lines Matching refs:op

33 backsql_modrdn( Operation *op, SlapReply *rs )
35 backsql_info *bi = (backsql_info*)op->o_bd->be_private;
51 int manageDSAit = get_manageDSAit( op );
52 struct berval *newSuperior = op->oq_modrdn.rs_newSup;
56 op->o_req_dn.bv_val, op->oq_modrdn.rs_newrdn.bv_val,
59 rs->sr_err = backsql_get_db_conn( op, &dbh );
71 rs->sr_err = backsql_init_search( &bsi, &op->o_req_ndn,
73 (time_t)(-1), NULL, dbh, op, rs,
82 dn_match( &op->o_req_ndn, &bsi.bsi_e->e_nname ) )
114 if ( get_assert( op ) &&
115 ( test_filter( op, &r, get_assertion( op ) )
123 if ( backsql_has_children( op, dbh, &op->o_req_ndn ) == LDAP_COMPARE_TRUE ) {
126 op->o_req_dn.bv_val, 0, 0 );
136 if ( !access_allowed( op, &r, slap_schema.si_ad_entry,
143 dnParent( &op->o_req_dn, &pdn );
144 dnParent( &op->o_req_ndn, &pndn );
166 (time_t)(-1), NULL, dbh, op, rs,
182 if ( !access_allowed( op, &p, slap_schema.si_ad_children, NULL,
191 (void)backsql_free_entryID( &bsi.bsi_base_id, 0, op->o_tmpmemctx );
206 new_npdn = op->oq_modrdn.rs_nnewSup;
214 (time_t)(-1), NULL, dbh, op, rs,
231 if ( !access_allowed( op, &n, slap_schema.si_ad_children,
256 if ( newSuperior && dn_match( &op->o_req_ndn, new_npdn ) ) {
266 build_new_dn( &new_dn, new_pdn, &op->oq_modrdn.rs_newrdn,
267 op->o_tmpmemctx );
268 build_new_dn( &new_ndn, new_npdn, &op->oq_modrdn.rs_nnewrdn,
269 op->o_tmpmemctx );
275 if ( backsql_api_dn2odbc( op, rs, &realnew_dn ) ) {
278 op->o_req_dn.bv_val, realnew_dn.bv_val, 0 );
381 assert( op->orr_modlist != NULL );
383 slap_mods_opattrs( op, &op->orr_modlist, 1 );
387 rs->sr_err = backsql_modify_internal( op, rs, dbh, oc, &e_id, op->orr_modlist );
388 slap_graduate_commit_csn( op );
397 backsql_entry_clean( op, &r );
398 (void)backsql_free_entryID( &e_id, 0, op->o_tmpmemctx );
403 (time_t)(-1), NULL, dbh, op, rs,
442 rs->sr_err = entry_schema_check( op, &r, NULL, 0, 0, NULL,
455 if ( !access_allowed( op, e, slap_schema.si_ad_entry, NULL,
474 if ( rs->sr_err == LDAP_SUCCESS && !op->o_noop ) {
481 if ( op->o_noop && rs->sr_err == LDAP_SUCCESS ) {
485 send_ldap_result( op, rs );
486 slap_graduate_commit_csn( op );
493 slap_sl_free( new_dn.bv_val, op->o_tmpmemctx );
497 slap_sl_free( new_ndn.bv_val, op->o_tmpmemctx );
501 (void)backsql_free_entryID( &e_id, 0, op->o_tmpmemctx );
505 (void)backsql_free_entryID( &n_id, 0, op->o_tmpmemctx );
509 backsql_entry_clean( op, &r );
513 backsql_entry_clean( op, &p );
517 backsql_entry_clean( op, &n );