summaryrefslogtreecommitdiff
path: root/third_party/heimdal/tests/kdc/krb5.conf.in
blob: 19b4e3ef64eae66e34b2622e43abfa5386142d33 (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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[libdefaults]
	default_realm = TEST.H5L.SE TEST2.H5L.SE
	no-addresses = TRUE
	allow_weak_crypto = @WEAK@
	dns_lookup_kdc = no
	dns_lookup_realm = no


[appdefaults]
	pkinit_anchors = FILE:@srcdir@/../../lib/hx509/data/ca.crt
	reconnect-min = 2s
	reconnect-backoff = 2s
	reconnect-max = 10s

[realms]
	TEST.H5L.SE = {
		kdc = localhost:@port@
		admin_server = localhost:@admport@
		kpasswd_server = localhost:@pwport@
	}
	SUB.TEST.H5L.SE = {
		kdc = localhost:@port@
	}
	TEST2.H5L.SE = {
		kdc = localhost:@port@
		kpasswd_server = localhost:@pwport@
	}
	TEST3.H5L.SE = {
		kdc = localhost:@port@
	}
	TEST4.H5L.SE = {
		kdc = localhost:@port@
	}
	SOME-REALM5.FR = {
		kdc = localhost:@port@
	}
	SOME-REALM6.US = {
		kdc = localhost:@port@
	}
	SOME-REALM7.UK = {
		kdc = localhost:@port@
	}
	SOME-REALM8.UK = {
		kdc = localhost:@port@
	}
	TEST-HTTP.H5L.SE = {
		kdc = http/localhost:@port@
	}
	H1.TEST.H5L.SE = {
		kdc = localhost:@port@
	}
	H2.TEST.H5L.SE = {
		kdc = localhost:@port@
	}
	H3.H2.TEST.H5L.SE = {
		kdc = localhost:@port@
	}
	H4.H2.TEST.H5L.SE = {
		kdc = localhost:@port@
	}

[domain_realm]
	.test.h5l.se = TEST.H5L.SE
	.sub.test.h5l.se = SUB.TEST.H5L.SE
	.h1.test.h5l.se = H1.TEST.H5L.SE
	.h2.test.h5l.se = H2.TEST.H5L.SE
	.h3.h2.test.h5l.se = H3.H2.TEST.H5L.SE
	.h4.h2.test.h5l.se = H4.H2.TEST.H5L.SE
	.example.com = TEST2.H5L.SE
	localhost = TEST.H5L.SE
	.localdomain = TEST.H5L.SE
	localdomain = TEST.H5L.SE
	.localdomain6 = TEST.H5L.SE
	localdomain6 = TEST.H5L.SE
	

[kdc]
	enable-digest = true
	allow-anonymous = true
	digests_allowed = chap-md5,digest-md5,ntlm-v1,ntlm-v1-session,ntlm-v2,ms-chap-v2
        strict-nametypes = true

	enable-http = true

        synthetic_clients = true

	enable_gss_preauth = true
	gss_mechanisms_allowed = sanon-x25519

	enable-pkinit = true
	pkinit_identity = FILE:@srcdir@/../../lib/hx509/data/kdc.crt,@srcdir@/../../lib/hx509/data/kdc.key
	pkinit_anchors = FILE:@srcdir@/../../lib/hx509/data/ca.crt
	pkinit_pool = FILE:@srcdir@/../../lib/hx509/data/sub-ca.crt
#	pkinit_revoke = CRL:@srcdir@/../../lib/hx509/data/crl1.crl
	pkinit_mappings_file = @srcdir@/pki-mapping
	pkinit_allow_proxy_certificate = true

	database = {
		label = { 
			dbname = @db_type@:@objdir@/current-db@kdc@
			realm = TEST.H5L.SE
			mkey_file = @objdir@/mkey.file
			acl_file = @srcdir@/heimdal.acl
			log_file = @objdir@/current@kdc@.log
		}
		label2 = { 
			dbname = @db_type@:@objdir@/current-db@kdc@
			realm = TEST2.H5L.SE
			mkey_file = @objdir@/mkey.file
			acl_file = @srcdir@/heimdal.acl
			log_file = @objdir@/current@kdc@.log
		}
		label3 = { 
			dbname = sqlite:@objdir@/current-db@kdc@.sqlite3
			realm = SOME-REALM5.FR
			mkey_file = @objdir@/mkey.file
			acl_file = @srcdir@/heimdal.acl
			log_file = @objdir@/current@kdc@.log
		}
	}

	signal_socket = @objdir@/@signalsocket@
	iprop-stats = @objdir@/@ipropstats@
	iprop-acl = @srcdir@/iprop-acl
        log-max-size = 40000

[hdb]
	db-dir = @objdir@

[logging]
	kdc = 0-/FILE:@objdir@/@messages@.log
	krb5 = 0-/FILE:@objdir@/@messages@.log
	default = 0-/FILE:@objdir@/@messages@.log

# If you are doing preformance measurements on OSX you want to change
# the kdc LOG line from = to - below to keep the FILE open and avoid
# open/write/close which is blocking (rdar:// ) on OSX.
#	kdc = 0-/FILE=@objdir@/@messages@.log

[kadmin]
	save-password = true
	default_key_rules = {
		*/des3-only@* = des3-cbc-sha1:pw-salt
		*/aes-only@* = aes256-cts-hmac-sha1-96:pw-salt
	}
	@dk@

[capaths]
	TEST.H5L.SE = {
		TEST2.H5L.SE = .
		SOME-REALM5.FR = 1
		TEST3.H5L.SE = TEST2.H5L.SE
		TEST4.H5L.SE = TEST2.H5L.SE
		TEST4.H5L.SE = TEST3.H5L.SE
		SOME-REALM6.US = SOME-REALM5.FR
		SOME-REALM7.UK = SOME-REALM6.US
		SOME-REALM7.UK = SOME-REALM5.FR
		SOME-REALM8.UK = SOME-REALM6.US
	}
        H4.H2.TEST.H5L.SE = {
                H1.TEST.H5L.SE = H3.H2.TEST.H5L.SE
                H1.TEST.H5L.SE = H2.TEST.H5L.SE
                H1.TEST.H5L.SE = TEST.H5L.SE

                TEST.H5L.SE = H3.H2.TEST.H5L.SE
                TEST.H5L.SE = H2.TEST.H5L.SE

                H2.TEST.H5L.SE = H3.H2.TEST.H5L.SE
        }