summaryrefslogtreecommitdiff
path: root/usr/src/cmd/initpkg/nscd.conf
blob: 3ebb50bcd27864b0cfe5c4990f4cdcb3676380f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
# Copyright 2019 Joyent, Inc.
#

#
#	Currently supported cache names:
#		audit_user, auth_attr, bootparams, ethers
#		exec_attr, group, hosts, ipnodes, netgroup, netmasks
#		networks, passwd, printers, prof_attr, project
#		protocols, rpc, services, tnrhdb, tnrhtp, user_attr
#
#	logfile			/var/adm/nscd.log
#	enable-cache		hosts		no

	debug-level		0

	positive-time-to-live	audit_user	3600
	negative-time-to-live	audit_user	5
	keep-hot-count		audit_user	20
	check-files		audit_user	yes

	positive-time-to-live	auth_attr	3600
	negative-time-to-live	auth_attr	5
	keep-hot-count		auth_attr	20
	check-files		auth_attr	yes

	positive-time-to-live	bootparams	3600
	negative-time-to-live	bootparams	5
	keep-hot-count		bootparams	20
	check-files		bootparams	yes

	positive-time-to-live	ethers		3600
	negative-time-to-live	ethers		5
	keep-hot-count		ethers		20
	check-files		ethers		yes

	positive-time-to-live	exec_attr	3600
	negative-time-to-live	exec_attr	300
	keep-hot-count		exec_attr	20
	check-files		exec_attr	yes

	positive-time-to-live	group		3600
	negative-time-to-live	group		5
	keep-hot-count		group		20
	check-files		group		yes

	positive-time-to-live	hosts		3600
	negative-time-to-live	hosts		5
	keep-hot-count		hosts		20
	check-files		hosts		yes

	positive-time-to-live	ipnodes		3600
	negative-time-to-live	ipnodes		5
	keep-hot-count		ipnodes		20
	check-files		ipnodes		yes

	positive-time-to-live	netgroup	3600
	negative-time-to-live	netgroup	5
	enable-cache		netgroup	yes

	positive-time-to-live	netmasks	3600
	negative-time-to-live	netmasks	5
	keep-hot-count		netmasks	20
	check-files		netmasks	yes

	positive-time-to-live	networks	3600
	negative-time-to-live	networks	5
	keep-hot-count		networks	20
	check-files		networks	yes

	positive-time-to-live	passwd		600
	negative-time-to-live	passwd		5
	keep-hot-count		passwd		20
	check-files		passwd		yes

	positive-time-to-live	printers	3600
	negative-time-to-live	printers	5
	keep-hot-count		printers	20
	check-files		printers	yes

	positive-time-to-live	prof_attr	3600
	negative-time-to-live	prof_attr	5
	keep-hot-count		prof_attr	20
	check-files		prof_attr	yes

	positive-time-to-live	project		3600
	negative-time-to-live	project		5
	keep-hot-count		project		20
	check-files		project		yes

	positive-time-to-live	protocols	3600
	negative-time-to-live	protocols	5
	keep-hot-count		protocols	20
	check-files		protocols	yes

	positive-time-to-live	rpc		3600
	negative-time-to-live	rpc		5
	keep-hot-count		rpc		20
	check-files		rpc		yes

	positive-time-to-live	services	3600
	negative-time-to-live	services	5
	keep-hot-count		services	20
	check-files		services	yes

	positive-time-to-live	tnrhdb		3600
	negative-time-to-live	tnrhdb		5
	keep-hot-count		tnrhdb		20
	check-files		tnrhdb		yes

	positive-time-to-live	tnrhtp		3600
	negative-time-to-live	tnrhtp		5
	keep-hot-count		tnrhtp		20
	check-files		tnrhtp		yes

	positive-time-to-live	user_attr	3600
	negative-time-to-live	user_attr	5
	keep-hot-count		user_attr	20
	check-files		user_attr	yes