URL: https://github.com/SSSD/sssd/pull/5675 Author: justin-stephenson Title: #5675: KCM: Unset _SSS_LOOPS Action: synchronized
To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5675/head:pr5675 git checkout pr5675
From 9c0138cc049d39ee6365e55907a29756f53bfcf9 Mon Sep 17 00:00:00 2001 From: Justin Stephenson <[email protected]> Date: Thu, 10 Jun 2021 09:37:52 -0400 Subject: [PATCH] KCM: Unset _SSS_LOOPS --- src/responder/kcm/kcm.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/responder/kcm/kcm.c b/src/responder/kcm/kcm.c index 9be56b0b84..09578c0cba 100644 --- a/src/responder/kcm/kcm.c +++ b/src/responder/kcm/kcm.c @@ -268,6 +268,12 @@ static int kcm_process_init(TALLOC_CTX *mem_ctx, kctx->rctx = rctx; kctx->rctx->pvt_ctx = kctx; + /* KCM operates independently, getpw* recursion is not a concern */ + ret = unsetenv("_SSS_LOOPS"); + if (ret != EOK) { + DEBUG(SSSDBG_CRIT_FAILURE, "Failed to unset _SSS_LOOPS"); + } + ret = kcm_get_config(kctx); if (ret != EOK) { DEBUG(SSSDBG_FATAL_FAILURE, "fatal error getting KCM config\n");
_______________________________________________ sssd-devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
