From cd5c70da8ba4a7ed4c8342e4d81764a9d6affad2 Mon Sep 17 00:00:00 2001
From: Lukas Slebodnik <lslebodn@redhat.com>
Date: Wed, 7 Feb 2018 09:12:47 +0100
Subject: [PATCH] SYSDB: Decrese debuglevel in sysdb_get_certmap

If we can ignore/fallback from such failure then it is not
a critical debug message.

   (Tue Feb  6 16:16:25 2018) [sssd[pam]] [sysdb_get_certmap]
   (0x0020): Failed to read certmap config, skipping.
---
 src/db/sysdb_certmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/db/sysdb_certmap.c b/src/db/sysdb_certmap.c
index 2d89c08a0..6d83ba088 100644
--- a/src/db/sysdb_certmap.c
+++ b/src/db/sysdb_certmap.c
@@ -302,7 +302,7 @@ errno_t sysdb_get_certmap(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb,
     ret = ldb_search(sysdb->ldb, tmp_ctx, &res, container_dn, LDB_SCOPE_BASE,
                      config_attrs, SYSDB_CERTMAP_USER_NAME_HINT"=*");
     if (ret != LDB_SUCCESS || res->count != 1) {
-        DEBUG(SSSDBG_CRIT_FAILURE,
+        DEBUG(SSSDBG_TRACE_INTERNAL,
               "Failed to read certmap config, skipping.\n");
     } else {
         hint = ldb_msg_find_attr_as_bool(res->msgs[0],
