diff options
Diffstat (limited to 'src/back-sch.c')
-rw-r--r-- | src/back-sch.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/back-sch.c b/src/back-sch.c index dedb50a..9203da0 100644 --- a/src/back-sch.c +++ b/src/back-sch.c @@ -139,6 +139,8 @@ backend_copy_set_config(const struct backend_set_data *data) format_dup_ref_attr_list(data->common.inref_attr_list) : NULL; ret->common.entry_filter = strdup(data->common.entry_filter); + ret->common.skip_uninteresting_updates = + data->common.skip_uninteresting_updates; ret->container_sdn = slapi_sdn_dup(data->container_sdn); ret->rdn_format = strdup(data->rdn_format); ret->attribute_format = backend_shr_dup_strlist(data->attribute_format); @@ -192,6 +194,12 @@ backend_set_config_read_config(struct plugin_state *state, Slapi_Entry *e, ret.common.inref_attrs = NULL; ret.common.ref_attr_list = NULL; ret.common.inref_attr_list = NULL; + if ((getenv(SCHEMA_COMPAT_PLUGIN_PROCESS_UNINTERESTING_UPDATES_ENV) == NULL) || + (atol(getenv(SCHEMA_COMPAT_PLUGIN_PROCESS_UNINTERESTING_UPDATES_ENV)) != 0)) { + ret.common.skip_uninteresting_updates = 0; + } else { + ret.common.skip_uninteresting_updates = 1; + } if (strlen(ret.common.set) > 0) { dn = slapi_dn_plus_rdn(ret.common.group, ret.common.set); } else { |