URL:
https://github.com/SSSD/sssd/pull/702
Title: #702: NSS: Avoid changing the memory cache ownership away from the SSSD user
jhrozek commented:
"""
OK, the comment is there. I also did some more changes, because the integration tests
started failing intermittently.
This was beause each invalidation of each cache ran getpwnam(sssd), which slowed things
down a lot, so there was a race between calling sss_cache and the cache being really
recreated.
So in the end, I saved the uid and gid of the sssd user into the nss_ctx and just pass it
on. I hope it's OK.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/702#issuecomment-445980795