[SSSD] [PATCH] Amend a DEBUG message

Jakub Hrozek jhrozek at redhat.com
Tue Jun 3 06:40:20 UTC 2014


Hi,

the DEBUG message was confusing, we attempt to always store the SID, not
only when ID-mapping.
-------------- next part --------------
>From 450453eb541ca44ac7d6f67051457e5769c80b74 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Mon, 10 Mar 2014 11:08:41 +0100
Subject: [PATCH] LDAP: Fix DEBUG message

---
 src/providers/ldap/ldap_common.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index fdf17e31e20cadce2c9b69718f49c18d8be3536e..8133431cc35f008768484b43cf7926d41fa0b2e0 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -883,8 +883,8 @@ sdap_attrs_get_sid_str(TALLOC_CTX *mem_ctx,
 
     ret = sysdb_attrs_get_el(sysdb_attrs, sid_attr, &el);
     if (ret != EOK || el->num_values != 1) {
-        DEBUG(SSSDBG_MINOR_FAILURE,
-              "No [%s] attribute while id-mapping. [%d][%s]\n",
+        DEBUG(SSSDBG_TRACE_LIBS,
+              "No [%s] attribute. [%d][%s]\n",
                sid_attr, el->num_values, strerror(ret));
         return ENOENT;
     }
-- 
1.9.0



More information about the sssd-devel mailing list