diff options
Diffstat (limited to 'src/back-sch.c')
-rw-r--r-- | src/back-sch.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/back-sch.c b/src/back-sch.c index a6602c4..c17a353 100644 --- a/src/back-sch.c +++ b/src/back-sch.c @@ -277,6 +277,13 @@ backend_set_entry(Slapi_Entry *e, struct backend_set_data *data) plugin_id = data->common.state->plugin_desc->spd_id; e_dn = slapi_entry_get_sdn(e); ndn = slapi_entry_get_ndn(e); + if (ndn != NULL) { + slapi_log_error(SLAPI_LOG_PLUGIN, plugin_id, + "examining input entry \"%s\"\n", ndn); + } else { + slapi_log_error(SLAPI_LOG_PLUGIN, plugin_id, + "examining unnamed input entry(?)\n"); + } /* Generate the RDN for the entry. */ rdn = format_get_data(data->common.state, e, data->common.group, data->common.set, @@ -358,7 +365,10 @@ backend_set_entry(Slapi_Entry *e, struct backend_set_data *data) value[k] = NULL; if ((k > 0) && (attr != NULL) && (len > 0)) { /* We assumed attribute=value when we - * saved this particular value. */ + * saved this particular value. + * Pull the attribute name out + * of the last attribute=value + * pair that we examined. */ val = memchr(attr, '=', len); if (val != NULL) { *val = '\0'; |