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
_______________________________________________
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

Reply via email to