URL:
https://github.com/SSSD/sssd/pull/390
Title: #390: NSS: Add option to disable memcache
mzidek-rh commented:
"""
@pbrezina That would not be a good idea IMO. If the administrator decides that the
memcache should be disabled, then the client applications should not be able to override
it. Also we would have to refactor how SSS_NSS_USE_MEMCACHE works, because currently we
just check in the client code if it is set to 'NO' and we skip the memcache if it
is (anything else means it is enabled). With the way you suggested it, we would also have
to check for 'YES' and 'not defined' which IMO complicates the whole
thing.
Also note that by doing it the way you mentioned, we would not be able to just 'not
initialize' the memcache for use_memcache=False and we would need to read the option
from client side to decide what to do. Which again is a complication (an unnecessary one
IMO) of client code.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/390#issuecomment-331417906