URL: https://github.com/SSSD/sssd/pull/5458
Author: alexey-tikhonov
 Title: #5458: UTIL: find_domain_by_object_name_ex() changed log level (1-16 
backport)
Action: opened

PR body:
"""
It's up to user of this function to judge if fail to parse fqname is
a critical error.

Reviewed-by: Pawel Polawski <ppola...@redhat.com>
Reviewed-by: Sumit Bose <sb...@redhat.com>
(cherry picked from commit bd2f38abe95645b9b16b12d12dac6008b0d2a03b)

1-16 backport for RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1910131
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5458/head:pr5458
git checkout pr5458
From af13c4765c3986a83e77d85edd2d3205cc514e85 Mon Sep 17 00:00:00 2001
From: Alexey Tikhonov <atikh...@redhat.com>
Date: Tue, 15 Dec 2020 18:47:25 +0100
Subject: [PATCH] UTIL: find_domain_by_object_name_ex() changed log level

It's up to user of this function to judge if fail to parse fqname is
a critical error.

Reviewed-by: Pawel Polawski <ppola...@redhat.com>
Reviewed-by: Sumit Bose <sb...@redhat.com>
(cherry picked from commit bd2f38abe95645b9b16b12d12dac6008b0d2a03b)
---
 src/util/domain_info_utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/util/domain_info_utils.c b/src/util/domain_info_utils.c
index 71dfcba02e..5a374074b4 100644
--- a/src/util/domain_info_utils.c
+++ b/src/util/domain_info_utils.c
@@ -207,7 +207,7 @@ find_domain_by_object_name_ex(struct sss_domain_info *domain,
     ret = sss_parse_internal_fqname(tmp_ctx, object_name,
                                     NULL, &domainname);
     if (ret != EOK) {
-        DEBUG(SSSDBG_CRIT_FAILURE, "Unable to parse name '%s' [%d]: %s\n",
+        DEBUG(SSSDBG_MINOR_FAILURE, "Unable to parse name '%s' [%d]: %s\n",
                                     object_name, ret, sss_strerror(ret));
         goto done;
     }
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org

Reply via email to