]>
Commit | Line | Data |
---|---|---|
d67281a7 UD |
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> | |
d67281a7 | 9 | # debug-level <level> |
27e82856 UD |
10 | # threads <initial #threads to use> |
11 | # max-threads <maximum #threads to use> | |
adcf0e4a UD |
12 | # server-user <user to run server as instead of root> |
13 | # server-user is ignored if nscd is started with -S parameters | |
a12ce44f | 14 | # stat-user <user who is allowed to request statistics> |
a95a08b4 | 15 | # reload-count unlimited|<number> |
4401d759 UD |
16 | # paranoia <yes|no> |
17 | # restart-interval <time in seconds> | |
67479a70 UD |
18 | # |
19 | # enable-cache <service> <yes|no> | |
d67281a7 UD |
20 | # positive-time-to-live <service> <time in seconds> |
21 | # negative-time-to-live <service> <time in seconds> | |
22 | # suggested-size <service> <prime number> | |
67479a70 | 23 | # check-files <service> <yes|no> |
a95a08b4 | 24 | # persistent <service> <yes|no> |
c207f23b | 25 | # shared <service> <yes|no> |
797ed6f7 | 26 | # max-db-size <service> <number bytes> |
b8c8817c | 27 | # auto-propagate <service> <yes|no> |
d67281a7 | 28 | # |
b21fa963 | 29 | # Currently supported cache names (services): passwd, group, hosts, services |
d67281a7 UD |
30 | # |
31 | ||
32 | ||
756409c4 | 33 | # logfile /var/log/nscd.log |
ffb1b882 | 34 | # threads 4 |
94a749f6 | 35 | # max-threads 32 |
a334319f UD |
36 | # server-user nobody |
37 | # stat-user somebody | |
d67281a7 | 38 | debug-level 0 |
a95a08b4 | 39 | # reload-count 5 |
4401d759 UD |
40 | paranoia no |
41 | # restart-interval 3600 | |
d67281a7 | 42 | |
67479a70 | 43 | enable-cache passwd yes |
d67281a7 UD |
44 | positive-time-to-live passwd 600 |
45 | negative-time-to-live passwd 20 | |
46 | suggested-size passwd 211 | |
67479a70 | 47 | check-files passwd yes |
a95a08b4 | 48 | persistent passwd yes |
c207f23b | 49 | shared passwd yes |
2c210d1e | 50 | max-db-size passwd 33554432 |
797ed6f7 | 51 | auto-propagate passwd yes |
d67281a7 | 52 | |
67479a70 | 53 | enable-cache group yes |
d67281a7 UD |
54 | positive-time-to-live group 3600 |
55 | negative-time-to-live group 60 | |
56 | suggested-size group 211 | |
67479a70 | 57 | check-files group yes |
a95a08b4 | 58 | persistent group yes |
c207f23b | 59 | shared group yes |
2c210d1e | 60 | max-db-size group 33554432 |
797ed6f7 | 61 | auto-propagate group yes |
67479a70 UD |
62 | |
63 | enable-cache hosts yes | |
64 | positive-time-to-live hosts 3600 | |
65 | negative-time-to-live hosts 20 | |
66 | suggested-size hosts 211 | |
67 | check-files hosts yes | |
a95a08b4 | 68 | persistent hosts yes |
c207f23b | 69 | shared hosts yes |
2c210d1e | 70 | max-db-size hosts 33554432 |
b21fa963 UD |
71 | |
72 | enable-cache services yes | |
73 | positive-time-to-live services 28800 | |
74 | negative-time-to-live services 20 | |
75 | suggested-size services 211 | |
76 | check-files services yes | |
77 | persistent services yes | |
78 | shared services yes | |
79 | max-db-size services 33554432 | |
684ae515 UD |
80 | |
81 | enable-cache netgroup yes | |
82 | positive-time-to-live netgroup 28800 | |
83 | negative-time-to-live netgroup 20 | |
84 | suggested-size netgroup 211 | |
85 | check-files netgroup yes | |
86 | persistent netgroup yes | |
87 | shared netgroup yes | |
88 | max-db-size netgroup 33554432 |