mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-21 02:10:05 +00:00
756409c4cf
1999-09-26 Thorsten Kukuk <kukuk@suse.de> * nscd/connections.c: Invalidate caches on request. * nscd/nscd-client.h: Add INVALIDATE to request_type. * nscd/nscd.c: Add invalidate cache option. * nscd/nscd.conf: Change log directory to /var/log (FHS).
44 lines
1007 B
Plaintext
44 lines
1007 B
Plaintext
#
|
|
# /etc/nscd.conf
|
|
#
|
|
# An example Name Service Cache config file. This file is needed by nscd.
|
|
#
|
|
# Legal entries are:
|
|
#
|
|
# logfile <file>
|
|
# debug-level <level>
|
|
# threads <#threads to use>
|
|
#
|
|
# enable-cache <service> <yes|no>
|
|
# positive-time-to-live <service> <time in seconds>
|
|
# negative-time-to-live <service> <time in seconds>
|
|
# suggested-size <service> <prime number>
|
|
# check-files <service> <yes|no>
|
|
#
|
|
# Currently supported cache names (services): passwd, group, hosts
|
|
#
|
|
|
|
|
|
# logfile /var/log/nscd.log
|
|
# threads 6
|
|
|
|
debug-level 0
|
|
|
|
enable-cache passwd yes
|
|
positive-time-to-live passwd 600
|
|
negative-time-to-live passwd 20
|
|
suggested-size passwd 211
|
|
check-files 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
|
|
|
|
enable-cache hosts yes
|
|
positive-time-to-live hosts 3600
|
|
negative-time-to-live hosts 20
|
|
suggested-size hosts 211
|
|
check-files hosts yes
|