[BZ #375]
[glibc.git] / nscd / nscd.conf
blobf972851116ee860338b8a1638d07d7e145f9b714
2 # /etc/nscd.conf
4 # An example Name Service Cache config file.  This file is needed by nscd.
6 # Legal entries are:
8 #       logfile                 <file>
9 #       debug-level             <level>
10 #       threads                 <#threads to use>
11 #       server-user             <user to run server as instead of root>
12 #               server-user is ignored if nscd is started with -S parameters
13 #       stat-user               <user who is allowed to request statistics>
14 #       reload-count            unlimited|<number>
16 #       enable-cache            <service> <yes|no>
17 #       positive-time-to-live   <service> <time in seconds>
18 #       negative-time-to-live   <service> <time in seconds>
19 #       suggested-size          <service> <prime number>
20 #       check-files             <service> <yes|no>
21 #       persistent              <service> <yes|no>
22 #       shared                  <service> <yes|no>
24 # Currently supported cache names (services): passwd, group, hosts
28 #       logfile                 /var/log/nscd.log
29 #       threads                 6
30 #       server-user             nobody
31 #       stat-user               somebody
32         debug-level             0
33 #       reload-count            5
35         enable-cache            passwd          yes
36         positive-time-to-live   passwd          600
37         negative-time-to-live   passwd          20
38         suggested-size          passwd          211
39         check-files             passwd          yes
40         persistent              passwd          yes
41         shared                  passwd          yes
43         enable-cache            group           yes
44         positive-time-to-live   group           3600
45         negative-time-to-live   group           60
46         suggested-size          group           211
47         check-files             group           yes
48         persistent              group           yes
49         shared                  group           yes
51         enable-cache            hosts           yes
52         positive-time-to-live   hosts           3600
53         negative-time-to-live   hosts           20
54         suggested-size          hosts           211
55         check-files             hosts           yes
56         persistent              hosts           yes
57         shared                  hosts           yes