diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/back-shr.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/back-shr.c b/src/back-shr.c index 7725cc5..51d4497 100644 --- a/src/back-shr.c +++ b/src/back-shr.c @@ -650,7 +650,7 @@ backend_shr_get_set_config_entry_cb(Slapi_Entry *e, void *callback_data, /* Given a map configuration, return true if the entry is supposed to be in the * map. */ -bool_t +static bool_t backend_shr_entry_matches_set(struct backend_shr_set_data *set_data, Slapi_PBlock *pb, Slapi_Entry *e) { @@ -855,11 +855,15 @@ backend_shr_update_references_cb(const char *group, const char *set, inref_attrs = set_data->inref_attrs; for (i = 0; (inref_attrs != NULL) && (inref_attrs[i] != NULL); i++) { - /* We're only processing inref attributes for other maps. */ + /* We're only processing inref attributes for other maps, since + * we've already done whatever's needed for this entry in this + * map. */ if ((strcmp(inref_attrs[i]->group, group) == 0) && (strcmp(inref_attrs[i]->set, set) == 0)) { continue; } + /* TODO: If this entry belongs in the named group and set, keep + * going, otherwise, we can avoid reading the entry. */ /* Extract the named attribute from the entry. */ values = NULL; if (slapi_vattr_values_get(cbdata->e, |