summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/ldap/sdap_access.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/providers/ldap/sdap_access.c b/src/providers/ldap/sdap_access.c
index aebf4524..a7eadfde 100644
--- a/src/providers/ldap/sdap_access.c
+++ b/src/providers/ldap/sdap_access.c
@@ -516,15 +516,17 @@ static bool nds_check_time_map(const struct ldb_val *time_map)
(tm_now->tm_min < 30 ? 0 : 1);
if (map_index > 335) {
- DEBUG(1, ("Unexpected index value [%d] for time map.\n", index));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Unexpected index value [%d] for time map.\n", map_index));
return true;
}
q = div(map_index, 8);
if (q.quot > 41 || q.quot < 0 || q.rem > 7 || q.rem < 0) {
- DEBUG(1, ("Unexpected result of div(), [%d][%d][%d].\n",
- index, q.quot, q.rem));
+ DEBUG(SSSDBG_CRIT_FAILURE,
+ ("Unexpected result of div(), [%d][%d][%d].\n",
+ map_index, q.quot, q.rem));
return true;
}