From 7227464bc1110e5bd7cda5c720330b1039dbbfa1 Mon Sep 17 00:00:00 2001
From: Samuel Cabrero <scabrero@suse.com>
Date: Mon, 11 May 2026 16:51:22 +0200
Subject: [PATCH] sdap: Reduce log level when get_naming_context() fails

Signed-off-by: Samuel Cabrero <scabrero@suse.com>
---
 src/providers/ldap/sdap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/providers/ldap/sdap.c b/src/providers/ldap/sdap.c
index 5c63f8f46..3e29d8b2d 100644
--- a/src/providers/ldap/sdap.c
+++ b/src/providers/ldap/sdap.c
@@ -1263,7 +1263,7 @@ errno_t sdap_set_config_options_with_rootdse(struct sysdb_attrs *rootdse,
     if (!sdom->naming_context) {
         sdom->naming_context = get_naming_context(sdom, rootdse);
         if (sdom->naming_context == NULL) {
-            DEBUG(SSSDBG_CRIT_FAILURE, "get_naming_context failed.\n");
+            DEBUG(SSSDBG_MINOR_FAILURE, "get_naming_context failed.\n");
 
             /* This has to be non-fatal, since some servers offer
              * multiple namingContexts entries. We will just
-- 
2.54.0

