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

Lines Matching refs:op

148 	Operation* op, Entry *e );
151 static int syncrepl_op_modify( Operation *op, SlapReply *rs );
496 Operation *op,
506 * there's no overlay, this will be a no-op. That means
521 op->o_req_dn = e.e_name;
522 op->o_req_ndn = e.e_nname;
525 i = backend_operational( op, &rs );
603 Operation *op,
668 op->o_protocol = LDAP_VERSION3;
671 op->o_sasl_ssf = 0;
672 op->o_tls_ssf = 0;
673 op->o_transport_ssf = 0;
678 op->o_tls_ssf = ldap_pvt_tls_get_strength( ssl );
686 op->o_sasl_ssf = ssf;
688 op->o_ssf = ( op->o_sasl_ssf > op->o_tls_ssf )
689 ? op->o_sasl_ssf : op->o_tls_ssf;
732 void *ctx = op->o_tmpmemctx;
734 op->o_req_ndn = si->si_contextdn;
735 op->o_req_dn = op->o_req_ndn;
738 op->o_tmpmemctx = NULL;
739 backend_attribute( op, NULL, &op->o_req_ndn,
741 op->o_tmpmemctx = ctx;
775 check_syncprov( op, si );
784 rc = ldap_sync_search( si, op->o_tmpmemctx );
846 Operation *op,
876 ber_set_option( ber, LBER_OPT_BER_MEMCTX, &op->o_tmpmemctx );
982 check_syncprov( op, si );
1045 op->o_controls[slap_cids.sc_LDAPsync] = &syncCookie;
1051 if ( ( rc = syncrepl_message_to_op( si, op, msg ) ) == LDAP_SUCCESS &&
1054 rc = syncrepl_updateCookie( si, op, &syncCookie );
1075 } else if ( ( rc = syncrepl_message_to_entry( si, op, msg,
1078 if ( ( rc = syncrepl_entry( si, op, entry, &modlist,
1082 rc = syncrepl_updateCookie( si, op, &syncCookie );
1184 op->o_controls[slap_cids.sc_LDAPsync] = &syncCookie;
1193 if ( SLAP_MULTIMASTER( op->o_bd ) && check_syncprov( op, si )) {
1217 syncrepl_del_nonpresent( op, si, NULL,
1226 rc = syncrepl_updateCookie( si, op, &syncCookie );
1267 op->o_controls[slap_cids.sc_LDAPsync] = &syncCookie;
1300 op->o_controls[slap_cids.sc_LDAPsync] = &syncCookie;
1340 op->o_controls[slap_cids.sc_LDAPsync] = &syncCookie;
1353 syncrepl_del_nonpresent( op, si, syncUUIDs,
1355 ber_bvarray_free_x( syncUUIDs, op->o_tmpmemctx );
1360 slap_sl_free( syncUUIDs[i].bv_val, op->o_tmpmemctx );
1362 slap_sl_free( syncUUIDs, op->o_tmpmemctx );
1375 if ( SLAP_MULTIMASTER( op->o_bd ) && check_syncprov( op, si )) {
1392 syncrepl_del_nonpresent( op, si, NULL,
1398 rc = syncrepl_updateCookie( si, op, &syncCookie);
1478 Operation *op;
1529 op = &opbuf.ob_op;
1531 op->o_connid = SLAPD_SYNC_RID2SYNCCONN(si->si_rid);
1533 op->o_managedsait = SLAP_CONTROL_NONCRITICAL;
1568 op->o_no_schema_check = 1;
1581 op->o_bd = si->si_wbe;
1582 op->o_dn = op->o_bd->be_rootdn;
1583 op->o_ndn = op->o_bd->be_rootndn;
1584 rc = do_syncrep1( op, si );
1593 op->o_bd = be;
1594 op->o_dn = op->o_bd->be_rootdn;
1595 op->o_ndn = op->o_bd->be_rootndn;
1596 rc = do_syncrep2( op, si );
1598 rc = ldap_sync_search( si, op->o_tmpmemctx );
1749 rc = dnPrettyNormal( NULL, bv2.bv_val ? &bv2 : &bv, &dn, &ndn, op->o_tmpmemctx ); \
1754 rc = dnPrettyNormal( NULL, &bv, &dn, &ndn, op->o_tmpmemctx )
1777 short op;
1818 case '+': op = LDAP_MOD_ADD; break;
1819 case '-': op = LDAP_MOD_DELETE; break;
1820 case '=': op = LDAP_MOD_REPLACE; break;
1821 case '#': op = LDAP_MOD_INCREMENT; break;
1825 if ( !mod || ad != mod->sml_desc || op != mod->sml_op ) {
1828 mod->sml_op = op;
1869 static Modifications *mods_dup( Operation *op, Modifications *modlist, int match )
1881 mod = op->o_tmpalloc( sizeof(Modifications), op->o_tmpmemctx );
1902 mod = op->o_tmpalloc( size, op->o_tmpmemctx );
1977 syncrepl_resolve_cb( Operation *op, SlapReply *rs )
1980 resolve_ctxt *rx = op->o_callback->sc_private;
2001 op->o_tmpfree( m1, op->o_tmpmemctx );
2050 syncrepl_modify_cb( Operation *op, SlapReply *rs )
2052 slap_callback *sc = op->o_callback;
2056 op->orm_no_opattrs = 0;
2057 op->orm_modlist = mx->mx_orig;
2060 op->o_tmpfree( ml, op->o_tmpmemctx );
2062 op->o_callback = sc->sc_next;
2063 op->o_tmpfree( sc, op->o_tmpmemctx );
2068 syncrepl_op_modify( Operation *op, SlapReply *rs )
2070 slap_overinst *on = (slap_overinst *)op->o_bd->bd_info;
2077 LDAP_SLIST_FOREACH( oex, &op->o_extra, oe_next ) {
2087 * We do it here because the op has been serialized by accesslog
2092 for ( mod = op->orm_modlist; mod; mod=mod->sml_next ) {
2099 rc = overlay_entry_get_ov( op, &op->o_req_ndn, NULL, NULL, 0, &e, on );
2108 overlay_entry_release_ov( op, e, 0, on );
2143 newlist = mods_dup( op, op->orm_modlist, match );
2147 Operation op2 = *op;
2179 size += bv.bv_len + op->o_req_ndn.bv_len + si->si_logfilterstr.bv_len;
2180 op2.ors_filterstr.bv_val = op->o_tmpalloc( size, op->o_tmpmemctx );
2183 bv.bv_val, op->o_req_ndn.bv_val, si->si_logfilterstr.bv_val );
2184 op2.ors_filter = str2filter_x( op, op2.ors_filterstr.bv_val );
2193 slap_callback *sc = op->o_tmpalloc( sizeof(slap_callback) +
2194 sizeof(modify_ctxt), op->o_tmpmemctx );
2200 sc->sc_next = op->o_callback;
2202 op->o_callback = sc;
2203 op->orm_no_opattrs = 1;
2204 mx->mx_orig = op->orm_modlist;
2217 op->orm_modlist = newlist;
2218 op->o_csn = mod->sml_nvalues[0];
2226 Operation *op,
2269 op->o_tag = LBER_DEFAULT;
2270 op->o_bd = si->si_wbe;
2296 ber_dupbv( &op->o_req_dn, &dn );
2297 ber_dupbv( &op->o_req_ndn, &ndn );
2298 slap_sl_free( ndn.bv_val, op->o_tmpmemctx );
2299 slap_sl_free( dn.bv_val, op->o_tmpmemctx );
2305 "syncrepl_message_to_op: %s unknown op %s",
2311 op->o_tag = modops[i].mask;
2331 slap_queue_csn( op, bvals );
2338 if ( op->o_tag == LBER_DEFAULT || BER_BVISNULL( &dn ) ) {
2343 op->o_callback = &cb;
2344 slap_op_time( &op->o_time, &op->o_tincr );
2346 switch( op->o_tag ) {
2352 rc = slap_mods_check( op, modlist, &text, txtbuf, textlen, NULL );
2361 if ( op->o_tag == LDAP_REQ_ADD ) {
2363 op->ora_e = e;
2364 op->ora_e->e_name = op->o_req_dn;
2365 op->ora_e->e_nname = op->o_req_ndn;
2367 rc = slap_mods2entry( modlist, &op->ora_e, 1, 0, &text, txtbuf, textlen);
2373 rc = op->o_bd->be_add( op, &rs );
2376 si->si_ridtxt, op->o_req_dn.bv_val, rc );
2379 if ( e == op->ora_e )
2380 be_entry_release_w( op, op->ora_e );
2383 op->orm_modlist = modlist;
2384 op->o_bd = si->si_wbe;
2386 if ( SLAP_MULTIMASTER( op->o_bd )) {
2389 LDAP_SLIST_INSERT_HEAD( &op->o_extra, &oes.oe, oe_next );
2391 rc = op->o_bd->be_modify( op, &rs );
2392 if ( SLAP_MULTIMASTER( op->o_bd )) {
2393 LDAP_SLIST_REMOVE( &op->o_extra, &oes.oe, OpExtra, oe_next );
2394 BER_BVZERO( &op->o_csn );
2396 modlist = op->orm_modlist;
2399 si->si_ridtxt, op->o_req_dn.bv_val, rc );
2400 op->o_bd = si->si_be;
2417 op->orr_newSup = &psup;
2418 op->orr_nnewSup = ⊅
2420 op->orr_newSup = NULL;
2421 op->orr_nnewSup = NULL;
2423 op->orr_newrdn = prdn;
2424 op->orr_nnewrdn = nrdn;
2425 op->orr_deleteoldrdn = deleteOldRdn;
2426 op->orr_modlist = NULL;
2427 if ( slap_modrdn2mods( op, &rs ) ) {
2435 for ( m = op->orr_modlist; m->sml_next; m = m->sml_next )
2440 rc = op->o_bd->be_modrdn( op, &rs );
2441 slap_mods_free( op->orr_modlist, 1 );
2444 si->si_ridtxt, op->o_req_dn.bv_val, rc );
2448 rc = op->o_bd->be_delete( op, &rs );
2451 si->si_ridtxt, op->o_req_dn.bv_val, rc );
2457 slap_graduate_commit_csn( op );
2458 op->o_bd = si->si_be;
2459 op->o_tmpfree( op->o_csn.bv_val, op->o_tmpmemctx );
2460 BER_BVZERO( &op->o_csn );
2462 slap_mods_free( modlist, op->o_tag != LDAP_REQ_ADD );
2479 ch_free( op->o_req_ndn.bv_val );
2480 ch_free( op->o_req_dn.bv_val );
2489 Operation *op,
2519 op->o_tag = LDAP_REQ_ADD;
2529 if ( BER_BVISEMPTY( &bdn ) && !BER_BVISEMPTY( &op->o_bd->be_nsuffix[0] ) ) {
2539 (void)slap_uuidstr_from_normalized( &syncUUID[1], &syncUUID[0], op->o_tmpmemctx );
2570 ber_dupbv( &op->o_req_dn, &dn );
2571 ber_dupbv( &op->o_req_ndn, &ndn );
2572 slap_sl_free( ndn.bv_val, op->o_tmpmemctx );
2573 slap_sl_free( dn.bv_val, op->o_tmpmemctx );
2575 is_ctx = dn_match( &op->o_req_ndn, &op->o_bd->be_nsuffix[0] );
2578 e->e_name = op->o_req_dn;
2579 e->e_nname = op->o_req_ndn;
2639 rc = slap_mods_check( op, *modlist, &text, txtbuf, textlen, NULL );
2754 Operation *op,
2761 Backend *be = op->o_bd;
2821 op->ors_filter = &f;
2823 op->ors_filterstr.bv_len = STRLENOF( "(entryUUID=)" ) + syncUUID[1].bv_len;
2824 op->ors_filterstr.bv_val = (char *) slap_sl_malloc(
2825 op->ors_filterstr.bv_len + 1, op->o_tmpmemctx );
2826 AC_MEMCPY( op->ors_filterstr.bv_val, "(entryUUID=", STRLENOF( "(entryUUID=" ) );
2827 AC_MEMCPY( &op->ors_filterstr.bv_val[STRLENOF( "(entryUUID=" )],
2829 op->ors_filterstr.bv_val[op->ors_filterstr.bv_len - 1] = ')';
2830 op->ors_filterstr.bv_val[op->ors_filterstr.bv_len] = '\0';
2832 op->o_tag = LDAP_REQ_SEARCH;
2833 op->ors_scope = LDAP_SCOPE_SUBTREE;
2834 op->ors_deref = LDAP_DEREF_NEVER;
2839 op->o_req_dn = si->si_suffixm;
2840 op->o_req_ndn = si->si_suffixm;
2844 op->o_req_dn = si->si_base;
2845 op->o_req_ndn = si->si_base;
2848 op->o_time = slap_get_time();
2849 op->ors_tlimit = SLAP_NO_LIMIT;
2850 op->ors_slimit = 1;
2851 op->ors_limit = NULL;
2853 op->ors_attrs = slap_anlist_all_attributes;
2854 op->ors_attrsonly = 0;
2857 op->o_callback = &cb;
2863 rc = be->be_search( op, &rs_search );
2868 if ( !BER_BVISNULL( &op->ors_filterstr ) ) {
2869 slap_sl_free( op->ors_filterstr.bv_val, op->o_tmpmemctx );
2885 assert( BER_BVISNULL( &op->o_csn ) );
2887 slap_queue_csn( op, syncCSN );
2890 slap_op_time( &op->o_time, &op->o_tincr );
2894 if ( BER_BVISNULL( &op->o_csn ))
2899 /* FIXME: op->o_csn is assumed to be
2903 op->o_csn = a->a_vals[0];
2911 op->o_req_dn = entry->e_name;
2912 op->o_req_ndn = entry->e_nname;
2913 op->o_tag = LDAP_REQ_ADD;
2914 op->ora_e = entry;
2915 op->o_bd = si->si_wbe;
2917 rc = op->o_bd->be_add( op, &rs_add );
2920 si->si_ridtxt, op->o_req_dn.bv_val, rc );
2923 if ( op->ora_e == entry ) {
2924 be_entry_release_w( op, entry );
2949 rc = syncrepl_add_glue( op, entry );
2962 Operation op2 = *op;
2991 slap_op_time( &op->o_time, &op->o_tincr );
2999 si->si_ridtxt, op->o_req_dn.bv_val, rs_add.sr_err );
3003 op->o_bd = be;
3007 op->o_req_dn = dni.dn;
3008 op->o_req_ndn = dni.ndn;
3015 op->o_tag = LDAP_REQ_MODRDN;
3016 dnRdn( &entry->e_name, &op->orr_newrdn );
3017 dnRdn( &entry->e_nname, &op->orr_nnewrdn );
3021 op->orr_newSup = &newp;
3022 op->orr_nnewSup = &dni.nnewSup;
3024 op->orr_newSup = NULL;
3025 op->orr_nnewSup = NULL;
3027 op->orr_deleteoldrdn = dni.delOldRDN;
3028 op->orr_modlist = NULL;
3029 if ( ( rc = slap_modrdn2mods( op, &rs_modify ) ) ) {
3033 /* Drop the RDN-related mods from this op, because their
3039 * if oldNcount == 1, then Drop this op.
3040 * delete with 1 value: can only be the oldRDN value. Drop op.
3043 * newDesc == oldDesc, Drop this op.
3050 modtail = &op->orr_modlist;
3068 /* Drop this op */
3076 for ( m2 = op->orr_modlist; m2; m2=m2->sml_next ) {
3095 /* Drop this op */
3111 /* Drop this op */
3117 for ( m2 = op->orr_modlist; m2; m2=m2->sml_next ) {
3141 noldp = op->orr_newrdn;
3142 ber_dupbv_x( &op->orr_newrdn, &noldp, op->o_tmpmemctx );
3143 noldp = op->orr_nnewrdn;
3144 ber_dupbv_x( &op->orr_nnewrdn, &noldp, op->o_tmpmemctx );
3179 /* don't set a CSN for the rename op */
3181 slap_graduate_commit_csn( op );
3183 mod = op->orr_modlist;
3189 op->o_bd = si->si_wbe;
3192 rc = op->o_bd->be_modrdn( op, &rs_modify );
3196 if ( rc == LDAP_NO_SUCH_OBJECT && op->orr_nnewSup != NULL ) {
3197 Operation op2 = *op;
3204 op->o_tmpfree( op->orr_nnewrdn.bv_val, op->o_tmpmemctx );
3205 op->o_tmpfree( op->orr_newrdn.bv_val, op->o_tmpmemctx );
3207 slap_mods_free( op->orr_modlist, 1 );
3210 si->si_ridtxt, op->o_req_dn.bv_val, rc );
3211 op->o_bd = be;
3213 op->o_req_dn = entry->e_name;
3214 op->o_req_ndn = entry->e_nname;
3219 slap_queue_csn( op, syncCSN );
3224 op->o_tag = LDAP_REQ_MODIFY;
3225 op->orm_modlist = dni.mods;
3226 op->orm_no_opattrs = 1;
3227 op->o_bd = si->si_wbe;
3229 rc = op->o_bd->be_modify( op, &rs_modify );
3230 slap_mods_free( op->orm_modlist, 1 );
3231 op->orm_no_opattrs = 0;
3234 si->si_ridtxt, op->o_req_dn.bv_val, rc );
3241 op->o_bd = be;
3245 si->si_ridtxt, op->o_req_dn.bv_val, 0 );
3247 slap_graduate_commit_csn( op );
3255 op->o_req_dn = dni.dn;
3256 op->o_req_ndn = dni.ndn;
3257 op->o_tag = LDAP_REQ_DELETE;
3258 op->o_bd = si->si_wbe;
3260 slap_queue_csn( op, si->si_syncCookie.ctxcsn );
3262 rc = op->o_bd->be_delete( op, &rs_delete );
3265 si->si_ridtxt, op->o_req_dn.bv_val, rc );
3270 && op->o_delete_glue_parent ) {
3271 op->o_delete_glue_parent = 0;
3272 if ( !be_issuffix( be, &op->o_req_ndn ) ) {
3275 dnParent( &op->o_req_ndn, &pdn );
3276 op->o_req_dn = pdn;
3277 op->o_req_ndn = pdn;
3278 op->o_callback = &cb;
3280 op->o_bd->be_delete( op, &rs_delete );
3286 op->o_bd = be;
3297 slap_sl_free( syncUUID[1].bv_val, op->o_tmpmemctx );
3300 op->o_tmpfree( dni.ndn.bv_val, op->o_tmpmemctx );
3303 op->o_tmpfree( dni.dn.bv_val, op->o_tmpmemctx );
3309 slap_graduate_commit_csn( op );
3311 if ( !BER_BVISNULL( &op->o_csn ) && freecsn ) {
3312 op->o_tmpfree( op->o_csn.bv_val, op->o_tmpmemctx );
3314 BER_BVZERO( &op->o_csn );
3328 Operation *op,
3334 Backend* be = op->o_bd;
3345 op->o_req_dn = si->si_suffixm;
3346 op->o_req_ndn = si->si_suffixm;
3350 op->o_req_dn = si->si_base;
3351 op->o_req_ndn = si->si_base;
3357 op->o_callback = &cb;
3358 op->o_tag = LDAP_REQ_SEARCH;
3359 op->ors_scope = si->si_scope;
3360 op->ors_deref = LDAP_DEREF_NEVER;
3361 op->o_time = slap_get_time();
3362 op->ors_tlimit = SLAP_NO_LIMIT;
3370 op->ors_attrsonly = 1;
3371 op->ors_attrs = slap_anlist_no_attrs;
3372 op->ors_limit = NULL;
3373 op->ors_filter = &uf;
3384 op->ors_slimit = 1;
3386 filter2bv_x( op, op->ors_filter, &op->ors_filterstr );
3387 rc = be->be_search( op, &rs_search );
3388 op->o_tmpfree( op->ors_filterstr.bv_val, op->o_tmpmemctx );
3400 op->ors_attrs = an;
3401 op->ors_slimit = SLAP_NO_LIMIT;
3402 op->ors_tlimit = SLAP_NO_LIMIT;
3403 op->ors_limit = NULL;
3404 op->ors_attrsonly = 0;
3405 op->ors_filter = filter_dup( si->si_filter, op->o_tmpmemctx );
3410 if ( SLAP_MULTIMASTER( op->o_bd )) {
3416 f->f_next = op->ors_filter;
3429 of = op->ors_filter;
3430 op->ors_filter = mmf;
3431 filter2bv_x( op, op->ors_filter, &op->ors_filterstr );
3434 op->ors_filterstr = si->si_filterstr;
3436 op->o_nocaching = 1;
3439 rc = be->be_search( op, &rs_search );
3440 if ( SLAP_MULTIMASTER( op->o_bd )) {
3441 op->ors_filter = of;
3443 if ( op->ors_filter ) filter_free_x( op, op->ors_filter, 1 );
3444 if ( op->ors_filterstr.bv_val != si->si_filterstr.bv_val ) {
3445 op->o_tmpfree( op->ors_filterstr.bv_val, op->o_tmpmemctx );
3450 op->o_nocaching = 0;
3460 op->o_bd = si->si_wbe;
3461 slap_queue_csn( op, &csn );
3470 op->o_tag = LDAP_REQ_DELETE;
3471 op->o_callback = &cb;
3474 op->o_req_dn = *np_prev->npe_name;
3475 op->o_req_ndn = *np_prev->npe_nname;
3476 rc = op->o_bd->be_delete( op, &rs_delete );
3479 si->si_ridtxt, op->o_req_dn.bv_val, rc );
3502 op->o_tag = LDAP_REQ_MODIFY;
3503 op->orm_modlist = &mod1;
3505 rc = op->o_bd->be_modify( op, &rs_modify );
3510 op->o_delete_glue_parent ) {
3511 op->o_delete_glue_parent = 0;
3512 if ( !be_issuffix( be, &op->o_req_ndn ) ) {
3515 dnParent( &op->o_req_ndn, &pdn );
3516 op->o_req_dn = pdn;
3517 op->o_req_ndn = pdn;
3518 op->o_callback = &cb;
3521 op->o_bd->be_delete( op, &rs_delete );
3527 op->o_delete_glue_parent = 0;
3538 slap_graduate_commit_csn( op );
3539 op->o_bd = be;
3541 op->o_tmpfree( op->o_csn.bv_val, op->o_tmpmemctx );
3542 BER_BVZERO( &op->o_csn );
3550 Operation* op,
3553 Backend *be = op->o_bd;
3565 op->o_tag = LDAP_REQ_ADD;
3566 op->o_callback = &cb;
3650 op->o_req_dn = glue->e_name;
3651 op->o_req_ndn = glue->e_nname;
3652 op->ora_e = glue;
3653 rc = be->be_add ( op, &rs_add );
3655 if ( op->ora_e == glue )
3656 be_entry_release_w( op, glue );
3689 Operation* op,
3694 Backend *be = op->o_bd;
3697 rc = syncrepl_add_glue_ancestors( op, e );
3707 op->o_tag = LDAP_REQ_ADD;
3708 op->o_callback = &cb;
3712 op->o_req_dn = e->e_name;
3713 op->o_req_ndn = e->e_nname;
3714 op->ora_e = e;
3715 rc = be->be_add ( op, &rs_add );
3717 if ( op->ora_e == e )
3718 be_entry_release_w( op, e );
3729 Operation *op,
3732 Backend *be = op->o_bd;
3816 op->o_bd = si->si_wbe;
3817 slap_queue_csn( op, &first );
3819 op->o_tag = LDAP_REQ_MODIFY;
3824 op->o_callback = &cb;
3825 op->o_req_dn = si->si_contextdn;
3826 op->o_req_ndn = si->si_contextdn;
3829 op->o_dont_replicate = 1;
3834 op->orm_modlist = &mod;
3835 op->orm_no_opattrs = 1;
3836 rc = op->o_bd->be_modify( op, &rs_modify );
3839 SLAP_SYNC_SUBENTRY( op->o_bd )) {
3843 Entry *e = slap_create_context_csn_entry( op->o_bd, NULL );
3846 op->ora_e = e;
3847 rc = op->o_bd->be_add( op, &rs_modify );
3848 if ( e == op->ora_e )
3849 be_entry_release_w( op, op->ora_e );
3852 op->orm_no_opattrs = 0;
3853 op->o_dont_replicate = 0;
3881 op->o_bd = be;
3882 op->o_tmpfree( op->o_csn.bv_val, op->o_tmpmemctx );
3883 BER_BVZERO( &op->o_csn );
3900 attr_cmp( Operation *op, Attribute *old, Attribute *new,
3920 adds = op->o_tmpalloc( sizeof(struct berval *) * n, op->o_tmpmemctx );
3921 dels = op->o_tmpalloc( sizeof(struct berval *) * o, op->o_tmpmemctx );
3942 /* Don't delete/add an objectClass, always use the replace op.
3947 * Also use replace op if attr has no equality matching rule.
3958 /* all old values were deleted, just use the replace op */
3992 op->o_tmpfree( dels, op->o_tmpmemctx );
4024 op->o_tmpfree( adds, op->o_tmpmemctx );
4049 void syncrepl_diff_entry( Operation *op, Attribute *old, Attribute *new,
4063 attr_cmp( op, NULL, new, &modtail, &ml );
4089 attr_cmp( op, NULL, new, &modtail, &ml );
4114 attr_cmp( op, NULL, new, &modtail, &ml );
4116 attr_cmp( op, old, new, &modtail, &ml );
4126 Operation* op,
4129 dninfo *dni = op->o_callback->sc_private;
4137 ber_dupbv_x( &dni->dn, &rs->sr_entry->e_name, op->o_tmpmemctx );
4138 ber_dupbv_x( &dni->ndn, &rs->sr_entry->e_nname, op->o_tmpmemctx );
4184 &op->o_bd->be_nsuffix[0] );
4228 &oldVal, NULL, op->o_tmpmemctx ) != LDAP_SUCCESS )
4246 syncrepl_diff_entry( op, rs->sr_entry->e_attrs,
4264 Operation* op,
4267 syncinfo_t *si = op->o_callback->sc_private;
4317 Operation* op,
5564 if (c->op == SLAP_CONFIG_EMIT) {
5576 } else if ( c->op == LDAP_MOD_DELETE ) {