URL: https://github.com/SSSD/sssd/pull/5506 Author: DeepakDas7 Title: #5506: SSSD Log: write_krb5info_file word replacement Action: synchronized
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 b6be8e7dfa35398346a63e5a7031cf6fe37aefda 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..2b9904c602 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 %s/kdcinfo.%s failed, authentication might fail.\n",PUBCONF_PATH,service->krb5_service->realm); } } diff --git a/src/providers/ipa/ipa_common.c b/src/providers/ipa/ipa_common.c index 8cadb9249e..a4c44838a8 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 %s/kdcinfo.%s failed, authentication might fail.\n",PUBCONF_PATH,service->krb5_service->realm); } } diff --git a/src/providers/ipa/ipa_subdomains.c b/src/providers/ipa/ipa_subdomains.c index 6d6b7b6359..dcb92c625c 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 %s/kdcinfo.%s failed, authentication might fail.\n",PUBCONF_PATH,krb5_service->realm); goto done; } diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c index 3166039465..1a46418aea 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 %s/kdcinfo.%s failed, authentication might fail.\n",PUBCONF_PATH,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