Apply patch from <http://bugs.debian.org/513305#67>.
[unscd.git] / debian / nscd.conf
1 # This file is currently taken verbatim from the version distributed
2 # with GNU glibc's nscd
3
4 # /etc/unscd.conf
5 #
6 # An example Name Service Cache config file.  This file is needed by nscd.
7 #
8 # Legal entries are:
9 #
10 #       logfile                 <file>
11 #       debug-level             <level>
12 #       threads                 <initial #threads to use>
13 #       max-threads             <maximum #threads to use>
14 #       server-user             <user to run server as instead of root>
15 #               server-user is ignored if nscd is started with -S parameters
16 #       stat-user               <user who is allowed to request statistics>
17 #       reload-count            unlimited|<number>
18 #       paranoia                <yes|no>
19 #       restart-interval        <time in seconds>
20 #
21 #       enable-cache            <service> <yes|no>
22 #       positive-time-to-live   <service> <time in seconds>
23 #       negative-time-to-live   <service> <time in seconds>
24 #       suggested-size          <service> <prime number>
25 #       check-files             <service> <yes|no>
26 #       persistent              <service> <yes|no>
27 #       shared                  <service> <yes|no>
28 #       auto-propagate          <service> <yes|no>
29 #
30 # Currently supported cache names (services): passwd, group, hosts
31 #
32
33
34 #       logfile                 /var/log/nscd.log
35 #       threads                 4
36 #       max-threads             32
37 #       server-user             nobody
38 #       stat-user               somebody
39         debug-level             0
40 #       reload-count            5
41         paranoia                no
42 #       restart-interval        3600
43
44         enable-cache            passwd          yes
45         positive-time-to-live   passwd          600
46         negative-time-to-live   passwd          20
47         suggested-size          passwd          211
48         check-files             passwd          yes
49         persistent              passwd          yes
50         shared                  passwd          yes
51         auto-propagate          passwd          yes
52
53         enable-cache            group           yes
54         positive-time-to-live   group           3600
55         negative-time-to-live   group           60
56         suggested-size          group           211
57         check-files             group           yes
58         persistent              group           yes
59         shared                  group           yes
60         auto-propagate          group           yes
61
62 # hosts caching is broken with gethostby* calls, hence is now disabled
63 # per default.  See /usr/share/doc/nscd/NEWS.Debian.
64         enable-cache            hosts           no
65         positive-time-to-live   hosts           3600
66         negative-time-to-live   hosts           20
67         suggested-size          hosts           211
68         check-files             hosts           yes
69         persistent              hosts           yes
70         shared                  hosts           yes