1998-01-31 09:39:55 +01: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>
|
2004-10-03 23:11:37 +02:00
|
|
|
# threads <initial #threads to use>
|
|
|
|
# max-threads <maximum #threads to use>
|
2000-04-30 08:52:59 +02:00
|
|
|
# server-user <user to run server as instead of root>
|
|
|
|
# server-user is ignored if nscd is started with -S parameters
|
2003-05-04 09:00:44 +02:00
|
|
|
# stat-user <user who is allowed to request statistics>
|
2004-08-26 20:35:05 +02:00
|
|
|
# reload-count unlimited|<number>
|
2004-10-03 21:33:48 +02:00
|
|
|
# paranoia <yes|no>
|
|
|
|
# restart-interval <time in seconds>
|
1998-10-18 17:16:22 +02:00
|
|
|
#
|
|
|
|
# enable-cache <service> <yes|no>
|
1998-01-31 09:39:55 +01: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 17:16:22 +02:00
|
|
|
# check-files <service> <yes|no>
|
2004-08-26 20:35:05 +02:00
|
|
|
# persistent <service> <yes|no>
|
2004-09-08 17:46:42 +02:00
|
|
|
# shared <service> <yes|no>
|
2006-04-26 19:32:10 +02:00
|
|
|
# max-db-size <service> <number bytes>
|
2006-04-27 16:48:29 +02:00
|
|
|
# auto-propagate <service> <yes|no>
|
1998-01-31 09:39:55 +01:00
|
|
|
#
|
2007-01-14 06:26:04 +01:00
|
|
|
# Currently supported cache names (services): passwd, group, hosts, services
|
1998-01-31 09:39:55 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
1999-09-27 02:22:04 +02:00
|
|
|
# logfile /var/log/nscd.log
|
2007-11-06 01:45:40 +01:00
|
|
|
# threads 4
|
2007-11-06 02:04:13 +01:00
|
|
|
# max-threads 32
|
2004-12-22 21:10:10 +01:00
|
|
|
# server-user nobody
|
|
|
|
# stat-user somebody
|
1998-01-31 09:39:55 +01:00
|
|
|
debug-level 0
|
2004-08-26 20:35:05 +02:00
|
|
|
# reload-count 5
|
2004-10-03 21:33:48 +02:00
|
|
|
paranoia no
|
|
|
|
# restart-interval 3600
|
1998-01-31 09:39:55 +01:00
|
|
|
|
1998-10-18 17:16:22 +02:00
|
|
|
enable-cache passwd yes
|
1998-01-31 09:39:55 +01:00
|
|
|
positive-time-to-live passwd 600
|
|
|
|
negative-time-to-live passwd 20
|
|
|
|
suggested-size passwd 211
|
1998-10-18 17:16:22 +02:00
|
|
|
check-files passwd yes
|
2004-08-26 20:35:05 +02:00
|
|
|
persistent passwd yes
|
2004-09-08 17:46:42 +02:00
|
|
|
shared passwd yes
|
2005-08-24 01:21:53 +02:00
|
|
|
max-db-size passwd 33554432
|
2006-04-26 19:32:10 +02:00
|
|
|
auto-propagate passwd yes
|
1998-01-31 09:39:55 +01:00
|
|
|
|
1998-10-18 17:16:22 +02:00
|
|
|
enable-cache group yes
|
1998-01-31 09:39:55 +01:00
|
|
|
positive-time-to-live group 3600
|
|
|
|
negative-time-to-live group 60
|
|
|
|
suggested-size group 211
|
1998-10-18 17:16:22 +02:00
|
|
|
check-files group yes
|
2004-08-26 20:35:05 +02:00
|
|
|
persistent group yes
|
2004-09-08 17:46:42 +02:00
|
|
|
shared group yes
|
2005-08-24 01:21:53 +02:00
|
|
|
max-db-size group 33554432
|
2006-04-26 19:32:10 +02:00
|
|
|
auto-propagate group yes
|
1998-10-18 17:16:22 +02:00
|
|
|
|
|
|
|
enable-cache hosts yes
|
|
|
|
positive-time-to-live hosts 3600
|
|
|
|
negative-time-to-live hosts 20
|
|
|
|
suggested-size hosts 211
|
|
|
|
check-files hosts yes
|
2004-08-26 20:35:05 +02:00
|
|
|
persistent hosts yes
|
2004-09-08 17:46:42 +02:00
|
|
|
shared hosts yes
|
2005-08-24 01:21:53 +02:00
|
|
|
max-db-size hosts 33554432
|
2007-01-14 06:26:04 +01:00
|
|
|
|
|
|
|
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
|