2 # --- T2-COPYRIGHT-NOTE-BEGIN ---
3 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
5 # T2 SDE: package/.../glibc/nscd.conf
6 # Copyright (C) 2004 - 2005 The T2 SDE Project
7 # Copyright (C) 1998 - 2003 ROCK Linux Project
9 # More information can be found in the files COPYING and README.
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; version 2 of the License. A copy of the
14 # GNU General Public License can be found in the file COPYING.
15 # --- T2-COPYRIGHT-NOTE-END ---
18 # An example Name Service Cache config file. This file is needed by nscd.
24 # threads <#threads to use>
26 # enable-cache <service> <yes|no>
27 # positive-time-to-live <service> <time in seconds>
28 # negative-time-to-live <service> <time in seconds>
29 # suggested-size <service> <prime number>
30 # check-files <service> <yes|no>
32 # Currently supported cache names (services): passwd, group, hosts
35 # logfile /var/log/nscd.log
40 enable-cache passwd yes
41 positive-time-to-live passwd 600
42 negative-time-to-live passwd 20
43 suggested-size passwd 211
44 check-files passwd yes
46 enable-cache group yes
47 positive-time-to-live group 3600
48 negative-time-to-live group 60
49 suggested-size group 211
52 enable-cache hosts yes
53 positive-time-to-live hosts 3600
54 negative-time-to-live hosts 20
55 suggested-size hosts 211