summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/monitor/monitor.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c
index 920d01c0..fe46e172 100644
--- a/src/monitor/monitor.c
+++ b/src/monitor/monitor.c
@@ -743,8 +743,8 @@ static int check_domain_ranges(struct sss_domain_info *domains)
while (dom) {
other = dom->next;
if (dom->id_max && dom->id_min > dom->id_max) {
- DEBUG(1, ("Domain '%s' does not have a valid ID range\n",
- dom->name));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Domain '%s' does not have a valid ID range\n", dom->name));
return EINVAL;
}
@@ -753,8 +753,9 @@ static int check_domain_ranges(struct sss_domain_info *domains)
id_max = MIN((dom->id_max ? dom->id_max : UINT32_MAX),
(other->id_max ? other->id_max : UINT32_MAX));
if (id_min <= id_max) {
- DEBUG(1, ("Domains '%s' and '%s' overlap in range %u - %u\n",
- dom->name, other->name, id_min, id_max));
+ DEBUG(SSSDBG_MINOR_FAILURE,
+ ("Domains '%s' and '%s' overlap in range %u - %u\n",
+ dom->name, other->name, id_min, id_max));
}
other = other->next;
}