idmap_init_domain() is called with check_range == false from
idmap_passdb_domain(). In this case, we usually don't have an
idmap range at all, and we don't want to level 1 debug
messages complaining about the fact are irritating at least.
This patch removes the debug in the case of check_range == false.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10737
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
range = lp_parm_const_string(-1, config_option, "range", NULL);
if (range == NULL) {
- DEBUG(1, ("idmap range not specified for domain %s\n",
- result->name));
if (check_range) {
+ DEBUG(1, ("idmap range not specified for domain %s\n",
+ result->name));
goto fail;
}
} else if (sscanf(range, "%u - %u", &result->low_id,