diff --git a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c index 1fd543c18..5b53a2fe5 100644 --- a/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c +++ b/daemons/ipa-slapi-plugins/ipa-range-check/ipa_range_check.c @@ -545,8 +545,9 @@ static int ipa_range_check_pre_op(Slapi_PBlock *pb, int modtype) ret = slapi_search_internal_get_entry(dn, NULL, &entry, ctx->plugin_id); if (ret != 0 || entry == NULL) { - LOG_FATAL("Missing entry to modify.\n"); - ret = LDAP_NO_SUCH_OBJECT; + LOG("Missing entry to modify.\n"); + /* No range object, nothing to do. */ + ret = 0; goto done; } free_entry = true;