(nscd_run): Check early for invalid request types.
[glibc.git] / nscd / nscd.conf
blob11d26b9efe781443099065046e02859fcb1435f9
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>
23 # Currently supported cache names (services): passwd, group, hosts
27 #       logfile                 /var/log/nscd.log
28 #       threads                 6
29 #       server-user             nobody
30 #       stat-user               somebody
31         debug-level             0
32 #       reload-count            5
34         enable-cache            passwd          yes
35         positive-time-to-live   passwd          600
36         negative-time-to-live   passwd          20
37         suggested-size          passwd          211
38         check-files             passwd          yes
39         persistent              passwd          yes
41         enable-cache            group           yes
42         positive-time-to-live   group           3600
43         negative-time-to-live   group           60
44         suggested-size          group           211
45         check-files             group           yes
46         persistent              group           yes
48         enable-cache            hosts           yes
49         positive-time-to-live   hosts           3600
50         negative-time-to-live   hosts           20
51         suggested-size          hosts           211
52         check-files             hosts           yes
53         persistent              hosts           yes