Title: #390: NSS: Add option to disable memcache
Although I'm fine with the current version of the patch I'd like to make a
suggestion which might help to make this change less controversial.
I recently discussed with Simo that SSS_MC_CACHE_ELEMENTS is current hardcoded to 50000
which might be a git small in special cases, e.g. an IPA server with trust to a large AD
forest. So we agreed that it would make sense to make this configurable. If we would add
an option like 'memcache_elements' or similar a value of '0' would
effectively mean to disable the memory cache. This corner case should of course be
discussed as in the current patch in the man page. With this disabling the memory cache
would just be a side-effect of an option with a broader usage.
See the full comment at https://github.com/SSSD/sssd/pull/390#issuecomment-333052808