URL: https://github.com/SSSD/sssd/pull/5506 Author: DeepakDas7 Title: #5506: SSSD Log: write_krb5info_file word replacement Action: opened
PR body: """ Replace write_krb5info_file in SSSD log file with exact filename. Resolves: https://github.com/SSSD/sssd/issues/5505 """ To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5506/head:pr5506 git checkout pr5506
From 63f2e3864c9421a500e99778c8e3fdf272e0eb70 Mon Sep 17 00:00:00 2001 From: Deepak Das <d...@redhat.com> Date: Tue, 16 Feb 2021 19:23:55 +0530 Subject: [PATCH] SSSD Log: write_krb5info_file word replacement Replace write_krb5info_file in SSSD log file with exact filename. Resolves: https://github.com/SSSD/sssd/issues/5505 --- src/providers/ad/ad_common.c | 2 +- src/providers/ipa/ipa_common.c | 2 +- src/providers/ipa/ipa_subdomains.c | 2 +- src/providers/krb5/krb5_common.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/providers/ad/ad_common.c b/src/providers/ad/ad_common.c index eaa920ca02..ae33a14344 100644 --- a/src/providers/ad/ad_common.c +++ b/src/providers/ad/ad_common.c @@ -1091,7 +1091,7 @@ ad_resolve_callback(void *private_data, struct fo_server *server) ad_krb5info_file_filter); if (ret != EOK) { DEBUG(SSSDBG_MINOR_FAILURE, - "write_krb5info_file failed, authentication might fail.\n"); + "write to /var/lib/sss/pubconf/kdcinfo.%s failed, authentication might fail.\n",service->krb5_service->realm); } } diff --git a/src/providers/ipa/ipa_common.c b/src/providers/ipa/ipa_common.c index 8cadb9249e..0a664a90e8 100644 --- a/src/providers/ipa/ipa_common.c +++ b/src/providers/ipa/ipa_common.c @@ -891,7 +891,7 @@ static void ipa_resolve_callback(void *private_data, struct fo_server *server) NULL); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, - "write_krb5info_file failed, authentication might fail.\n"); + "write to /var/lib/sss/pubconf/kdcinfo.%s failed, authentication might fail.\n",service->krb5_service->realm); } } diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c index 6d6b7b6359..9b7183cc04 100644 --- a/src/providers/ipa/ipa_subdomains.c +++ b/src/providers/ipa/ipa_subdomains.c @@ -2734,7 +2734,7 @@ static errno_t ipa_subdomains_write_kdcinfo_write_step(struct sss_domain_info *d SSS_KRB5KDC_FO_SRV); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, - "write_krb5info_file failed, authentication might fail.\n"); + "write to /var/lib/sss/pubconf/kdcinfo.%s failed, authentication might fail.\n",krb5_service->realm); goto done; } diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c index 3166039465..f8120a02f9 100644 --- a/src/providers/krb5/krb5_common.c +++ b/src/providers/krb5/krb5_common.c @@ -804,7 +804,7 @@ static void krb5_resolve_callback(void *private_data, struct fo_server *server) NULL); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, - "write_krb5info_file failed, authentication might fail.\n"); + "write to /var/lib/sss/pubconf/kdcinfo.%s failed, authentication might fail.\n",krb5_service->realm); } } }
_______________________________________________ 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