# # /etc/nscd.conf # # An example Name Service Cache config file. This file is needed by nscd. # # WARNING: Running nscd with a secondary caching service like sssd may lead to # unexpected behaviour, especially with how long entries are cached. # # Legal entries are: # # logfile
# debug-level
# threads
# max-threads
# server-user
# server-user is ignored if nscd is started with -S parameters # stat-user
# reload-count unlimited|
# paranoia
# restart-interval
# # enable-cache
# positive-time-to-live
# negative-time-to-live
# suggested-size
# check-files
# persistent
# # shared
# NOTE: Setting 'shared' to a value of 'yes' will accelerate the lookup # with the help of the client, but these lookups will not be # counted as cache hits i.e. 'nscd -g' may show '0%'. # # max-db-size
# auto-propagate
# # Currently supported cache names (services): passwd, group, hosts, services # # logfile /var/log/nscd.log # threads 4 # max-threads 32 server-user nscd # stat-user somebody # reload-count 5 paranoia no # restart-interval 3600 enable-cache passwd yes positive-time-to-live passwd 600 negative-time-to-live passwd 20 suggested-size passwd 211 check-files passwd yes persistent passwd yes shared passwd yes max-db-size passwd 33554432 auto-propagate passwd yes enable-cache group yes positive-time-to-live group 3600 negative-time-to-live group 60 suggested-size group 211 check-files group yes persistent group yes shared group yes max-db-size group 33554432 auto-propagate group yes enable-cache hosts yes positive-time-to-live hosts 3600 negative-time-to-live hosts 20 suggested-size hosts 211 check-files hosts yes persistent hosts yes shared hosts yes max-db-size hosts 33554432 enable-cache services yes positive-time-to-live services 28800 negative-time-to-live services 20 suggested-size services 211 check-files services yes persistent services yes shared services yes max-db-size services 33554432 enable-cache netgroup yes positive-time-to-live netgroup 28800 negative-time-to-live netgroup 20 suggested-size netgroup 211 check-files netgroup yes persistent netgroup yes shared netgroup yes max-db-size netgroup 33554432 logfile /dev/null debug-level 1