URL:
https://github.com/SSSD/sssd/pull/390
Title: #390: NSS: Add option to disable memcache
lslebodn commented:
"""
I'm sorry but this change is unnecessary complicated and add too many unnecessary new
options.
If some downstream distribution want to have a way how to disable it then they can use
simple oneliner downstream patch
```
diff --git a/src/responder/nss/nsssrv_mmap_cache.c
b/src/responder/nss/nsssrv_mmap_cache.c
index a87ad646f..7ee22557c 100644
--- a/src/responder/nss/nsssrv_mmap_cache.c
+++ b/src/responder/nss/nsssrv_mmap_cache.c
@@ -1218,6 +1218,7 @@ errno_t sss_mmap_cache_init(TALLOC_CTX *mem_ctx, const char *name,
int payload;
int ret, dret;
+ if (timeout == 0) return EOK;
switch (type) {
case SSS_MC_PASSWD:
payload = SSS_AVG_PASSWD_PAYLOAD;
```
And if other developers would like to have it in upstream then it can be there with
`#ifdef EXPERMIENTAL_FEATURE` around
"""
See the full comment at
https://github.com/SSSD/sssd/pull/390#issuecomment-334434651