1998-01-31 08:39:55 +00:00
|
|
|
#
|
|
|
|
# /etc/nscd.conf
|
|
|
|
#
|
|
|
|
# An example Name Service Cache config file. This file is needed by nscd.
|
|
|
|
#
|
|
|
|
# Legal entries are:
|
|
|
|
#
|
|
|
|
# logfile <file>
|
|
|
|
# debug-level <level>
|
1998-10-19 15:22:14 +00:00
|
|
|
# threads <#threads to use>
|
1998-10-18 15:16:22 +00:00
|
|
|
#
|
|
|
|
# enable-cache <service> <yes|no>
|
1998-01-31 08:39:55 +00:00
|
|
|
# positive-time-to-live <service> <time in seconds>
|
|
|
|
# negative-time-to-live <service> <time in seconds>
|
|
|
|
# suggested-size <service> <prime number>
|
1998-10-18 15:16:22 +00:00
|
|
|
# check-files <service> <yes|no>
|
1998-01-31 08:39:55 +00:00
|
|
|
#
|
1998-10-19 15:22:14 +00:00
|
|
|
# Currently supported cache names (services): passwd, group, hosts
|
1998-01-31 08:39:55 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
1999-09-27 00:22:04 +00:00
|
|
|
# logfile /var/log/nscd.log
|
1998-10-19 15:22:14 +00:00
|
|
|
# threads 6
|
1998-01-31 08:39:55 +00:00
|
|
|
|
|
|
|
debug-level 0
|
|
|
|
|
1998-10-18 15:16:22 +00:00
|
|
|
enable-cache passwd yes
|
1998-01-31 08:39:55 +00:00
|
|
|
positive-time-to-live passwd 600
|
|
|
|
negative-time-to-live passwd 20
|
|
|
|
suggested-size passwd 211
|
1998-10-18 15:16:22 +00:00
|
|
|
check-files passwd yes
|
1998-01-31 08:39:55 +00:00
|
|
|
|
1998-10-18 15:16:22 +00:00
|
|
|
enable-cache group yes
|
1998-01-31 08:39:55 +00:00
|
|
|
positive-time-to-live group 3600
|
|
|
|
negative-time-to-live group 60
|
|
|
|
suggested-size group 211
|
1998-10-18 15:16:22 +00:00
|
|
|
check-files 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
|