URL: https://github.com/SSSD/sssd/pull/5936 Author: alexey-tikhonov Title: #5936: RESPONDER: reduce log level in case inconsistent Action: opened
PR body: """ files provider falls back to NSS """ To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5936/head:pr5936 git checkout pr5936
From dd69e499cd184fe3cd0e5443720f869e25ea7aec Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov <atikh...@redhat.com> Date: Tue, 28 Dec 2021 16:30:43 +0100 Subject: [PATCH] RESPONDER: reduce log level in case inconsistent files provider falls back to NSS --- src/responder/common/responder_dp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/responder/common/responder_dp.c b/src/responder/common/responder_dp.c index 1b016dba1e..ecf37ab35b 100644 --- a/src/responder/common/responder_dp.c +++ b/src/responder/common/responder_dp.c @@ -231,8 +231,9 @@ sss_dp_get_account_send(TALLOC_CTX *mem_ctx, } goto done; } else if (ret != EAGAIN) { - DEBUG(SSSDBG_OP_FAILURE, "Failed to set files provider update " - "[%d]: %s\n", ret, sss_strerror(ret)); + DEBUG((ret == ENOENT) ? SSSDBG_MINOR_FAILURE : SSSDBG_OP_FAILURE, + "Failed to set files provider update [%d]: %s\n", + ret, sss_strerror(ret)); goto done; } /* EAGAIN, fall through to issuing the request */
_______________________________________________ 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 Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure