1 # We basically use nscd as a proxy for forwarding nss requests to appropriate
2 # nss modules, as we run nscd with LD_LIBRARY_PATH set to the directory
3 # containing all such modules
4 # Note that we can not use `enable-cache no` As this will actually cause nscd
5 # to just reject the nss requests it receives, which then causes glibc to
6 # fallback to trying to handle the request by itself. Which won't work as glibc
7 # is not aware of the path in which the nss modules live. As a workaround, we
8 # have `enable-cache yes` with an explicit ttl of 0
11 enable-cache passwd yes
12 positive-time-to-live passwd 0
13 negative-time-to-live passwd 0
16 enable-cache group yes
17 positive-time-to-live group 0
18 negative-time-to-live group 0
21 enable-cache netgroup yes
22 positive-time-to-live netgroup 0
23 negative-time-to-live netgroup 0
26 enable-cache hosts yes
27 positive-time-to-live hosts 0
28 negative-time-to-live hosts 0
31 enable-cache services yes
32 positive-time-to-live services 0
33 negative-time-to-live services 0