|
@@ -275,7 +275,7 @@ agmtlist_modify_callback(Slapi_PBlock *pb, Slapi_Entry *entryBefore, Slapi_Entry
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- /* Start replica initialization */
|
|
|
|
|
|
|
+ /* Start replica initialization */
|
|
|
if (val == NULL)
|
|
if (val == NULL)
|
|
|
{
|
|
{
|
|
|
PR_snprintf (errortext, SLAPI_DSE_RETURNTEXT_SIZE, "No value supplied for attr (%s)", mods[i]->mod_type);
|
|
PR_snprintf (errortext, SLAPI_DSE_RETURNTEXT_SIZE, "No value supplied for attr (%s)", mods[i]->mod_type);
|
|
@@ -300,9 +300,12 @@ agmtlist_modify_callback(Slapi_PBlock *pb, Slapi_Entry *entryBefore, Slapi_Entry
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
- PR_snprintf (errortext, SLAPI_DSE_RETURNTEXT_SIZE, "Invalid value (%s) value supplied for attr (%s)",
|
|
|
|
|
- val, mods[i]->mod_type);
|
|
|
|
|
|
|
+ PR_snprintf (errortext, SLAPI_DSE_RETURNTEXT_SIZE,
|
|
|
|
|
+ "Invalid value (%s) value supplied for attr (%s); Ignoring ...",
|
|
|
|
|
+ val, mods[i]->mod_type);
|
|
|
slapi_log_error(SLAPI_LOG_REPL, repl_plugin_name, "agmtlist_modify_callback: %s\n", errortext);
|
|
slapi_log_error(SLAPI_LOG_REPL, repl_plugin_name, "agmtlist_modify_callback: %s\n", errortext);
|
|
|
|
|
+ *returncode = LDAP_UNWILLING_TO_PERFORM;
|
|
|
|
|
+ rc = SLAPI_DSE_CALLBACK_ERROR;
|
|
|
}
|
|
}
|
|
|
slapi_ch_free ((void**)&val);
|
|
slapi_ch_free ((void**)&val);
|
|
|
}
|
|
}
|