summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/idmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c
index 674f54ced1..33b397ce66 100644
--- a/source3/winbindd/idmap.c
+++ b/source3/winbindd/idmap.c
@@ -198,9 +198,9 @@ static struct idmap_domain *idmap_init_domain(TALLOC_CTX *mem_ctx,
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,