From faba3074869b069a64a66844385cf170f149be4f Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 17 Apr 2018 12:32:11 +0200 Subject: [PATCH] FILES: Only send the request for update if the files domain is inconsistent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves: https://pagure.io/SSSD/sssd/issue/3520 The code was probably commented out as a mistake.. Reviewed-by: Pavel Březina (cherry picked from commit 77d63f561830c15341b2ffe915a4c86b3c0f88a3) --- src/responder/common/responder_dp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/responder/common/responder_dp.c b/src/responder/common/responder_dp.c index 8cc734813..9669b5fee 100644 --- a/src/responder/common/responder_dp.c +++ b/src/responder/common/responder_dp.c @@ -598,11 +598,11 @@ static int sss_dp_account_files_params(struct sss_domain_info *dom, enum sss_dp_acct_type *_type_out, const char **_opt_name_out) { -#if 0 if (sss_domain_get_state(dom) != DOM_INCONSISTENT) { + DEBUG(SSSDBG_TRACE_INTERNAL, + "The entries in the files domain are up-to-date\n"); return EOK; } -#endif DEBUG(SSSDBG_TRACE_INTERNAL, "Domain files is not consistent, issuing update\n"); -- 2.14.3