* nscd/hstcache.c (addhstbyname): Add cast to avoid warning.
[kopensolaris-gnu/glibc.git] / nscd / nscd.conf
1 #
2 # /etc/nscd.conf
3 #
4 # An example Name Service Cache config file.  This file is needed by nscd.
5 #
6 # Legal entries are:
7 #
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 #
14 #       enable-cache            <service> <yes|no>
15 #       positive-time-to-live   <service> <time in seconds>
16 #       negative-time-to-live   <service> <time in seconds>
17 #       suggested-size          <service> <prime number>
18 #       check-files             <service> <yes|no>
19 #
20 # Currently supported cache names (services): passwd, group, hosts
21 #
22
23
24 #       logfile                 /var/log/nscd.log
25 #       threads                 6
26 #       server-user             nobody
27         debug-level             0
28
29         enable-cache            passwd          yes
30         positive-time-to-live   passwd          600
31         negative-time-to-live   passwd          20
32         suggested-size          passwd          211
33         check-files             passwd          yes
34
35         enable-cache            group           yes
36         positive-time-to-live   group           3600
37         negative-time-to-live   group           60
38         suggested-size          group           211
39         check-files             group           yes
40
41         enable-cache            hosts           yes
42         positive-time-to-live   hosts           3600
43         negative-time-to-live   hosts           20
44         suggested-size          hosts           211
45         check-files             hosts           yes