~ubuntu-branches/ubuntu/saucy/389-ds-base/saucy

« back to all changes in this revision

Viewing changes to ldap/servers/plugins/replication/repl5_agmtlist.c

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2013-02-06 18:06:31 UTC
  • mfrom: (11.1.1 raring-proposed)
  • Revision ID: package-import@ubuntu.com-20130206180631-h6ldv3k506hmm46e
Tags: 1.3.0.2-0ubuntu2
debian/*: Fix time stamps due to clock skew (FTBFS).

Show diffs side-by-side

added added

removed removed

Lines of Context:
248
248
            /* we don't allow delete attribute operations unless it was issued by
249
249
               the replication plugin - handled above */
250
250
            if (mods[i]->mod_op & LDAP_MOD_DELETE)
251
 
            {                
 
251
            {
 
252
                if(strcasecmp (mods[i]->mod_type, type_nsds5ReplicaCleanRUVnotified) == 0){
 
253
                    /* allow the deletion of cleanallruv agmt attr */
 
254
                    continue;
 
255
                }
 
256
 
252
257
                slapi_log_error(SLAPI_LOG_REPL, repl_plugin_name, "agmtlist_modify_callback: " 
253
258
                                "deletion of %s attribute is not allowed\n", type_nsds5ReplicaInitialize);      
254
259
                *returncode = LDAP_UNWILLING_TO_PERFORM;
508
513
                rc = SLAPI_DSE_CALLBACK_ERROR;
509
514
            }
510
515
        }
511
 
        else if (slapi_attr_types_equivalent(mods[i]->mod_type, type_nsds5ReplicaCleanRUVnotified))
512
 
        {
513
 
            agmt_set_cleanruv_notified_from_entry(agmt, e);
514
 
        }
515
516
        else if (0 == windows_handle_modify_agreement(agmt, mods[i]->mod_type, e))
516
517
        {
517
518
            slapi_log_error(SLAPI_LOG_REPL, repl_plugin_name, "agmtlist_modify_callback: "