URL:
https://github.com/SSSD/sssd/pull/5675
Title: #5675: KCM: Unset _SSS_LOOPS
sumit-bose commented:
"""
Hi,
I think `sssd_kcm` does not have to set `_SSS_LOOPS`. The variable was added to prevent an
SSSD component to call into SSSD with the same request again, e.g. a user lookup for
`user_abc` would cause a `getpwnam("user_abc")` in an SSSD component which would
cause a recursive circle. The check if the variable is set is done in the client libraries
(`src/sss_client/common.c`). Since `sssd_kcm` is working independently of the other SSSD
components, especially the nss responder, and the kcm client side in libkrb5 of course
does not check for `_SSS_LOOPS` to protect `sssd_kcm` from calling into itself the
variable is not needed.
HTH
bye,
Sumit
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5675#issuecomment-858504537