]> git.donarmstrong.com Git - unscd.git/blob - debian/nscd.conf
f2007a21af1e51f2efdbd100f2a7ed9fd8595a5c
[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 #       max-db-size             <service> <number bytes>
29 #       auto-propagate          <service> <yes|no>
30 #
31 # Currently supported cache names (services): passwd, group, hosts, services
32 #
33
34
35 #       logfile                 /var/log/nscd.log
36 #       threads                 4
37 #       max-threads             32
38 #       server-user             nobody
39 #       stat-user               somebody
40         debug-level             0
41 #       reload-count            5
42         paranoia                no
43 #       restart-interval        3600
44
45         enable-cache            passwd          yes
46         positive-time-to-live   passwd          600
47         negative-time-to-live   passwd          20
48         suggested-size          passwd          211
49         check-files             passwd          yes
50         persistent              passwd          yes
51         shared                  passwd          yes
52         max-db-size             passwd          33554432
53         auto-propagate          passwd          yes
54
55         enable-cache            group           yes
56         positive-time-to-live   group           3600
57         negative-time-to-live   group           60
58         suggested-size          group           211
59         check-files             group           yes
60         persistent              group           yes
61         shared                  group           yes
62         max-db-size             group           33554432
63         auto-propagate          group           yes
64
65 # hosts caching is broken with gethostby* calls, hence is now disabled
66 # per default.  See /usr/share/doc/nscd/NEWS.Debian.
67         enable-cache            hosts           no
68         positive-time-to-live   hosts           3600
69         negative-time-to-live   hosts           20
70         suggested-size          hosts           211
71         check-files             hosts           yes
72         persistent              hosts           yes
73         shared                  hosts           yes
74         max-db-size             hosts           33554432
75
76         enable-cache            services        yes
77         positive-time-to-live   services        28800
78         negative-time-to-live   services        20
79         suggested-size          services        211
80         check-files             services        yes
81         persistent              services        yes
82         shared                  services        yes
83         max-db-size             services        33554432