1*f59d82ffSelric2006-12-28  Love Hörnquist Åstrand  <lha@it.su.se>
2*f59d82ffSelric
3*f59d82ffSelric	* kdc/process.c: Handle kx509 requests.
4*f59d82ffSelric
5*f59d82ffSelric	* kdc/connect.c: Listen to 9878 if kca is turned on.
6*f59d82ffSelric
7*f59d82ffSelric	* kdc/headers.h: Include <kx509_asn1.h>.
8*f59d82ffSelric
9*f59d82ffSelric	* kdc/config.c: code to parse [kdc]enable-kx509
10*f59d82ffSelric
11*f59d82ffSelric	* kdc/kdc.h: add enable_kx509
12*f59d82ffSelric
13*f59d82ffSelric	* kdc/Makefile.am: add kx509.c
14*f59d82ffSelric
15*f59d82ffSelric	* kdc/kx509.c: Kx509server (external certificate genration).
16*f59d82ffSelric
17*f59d82ffSelric	* lib/krb5/ticket.c: add krb5_ticket_get_endtime
18*f59d82ffSelric
19*f59d82ffSelric	* lib/krb5/krb5_ticket.3: Document krb5_ticket_get_endtime
20*f59d82ffSelric
21*f59d82ffSelric	* kdc/digest.c: Remove <digest_asn.h>, its already included in
22*f59d82ffSelric	headers.h
23*f59d82ffSelric
24*f59d82ffSelric	* kdc/digest.c: Return session key for the NTLMv2 case too
25*f59d82ffSelric
26*f59d82ffSelric	* lib/krb5/digest.c (krb5_ntlm_rep_get_sessionkey): return value
27*f59d82ffSelric	is krb5_error_code
28*f59d82ffSelric
29*f59d82ffSelric2006-12-27  Love Hörnquist Åstrand  <lha@it.su.se>
30*f59d82ffSelric
31*f59d82ffSelric	* lib/krb5/mk_req_ext.c (_krb5_mk_req_internal): use md5 for
32*f59d82ffSelric	des-cbc-md4 and des-cbc-md5.  This is for (older) windows that
33*f59d82ffSelric	will be unhappy anything else.  From Inna Bort-Shatsky
34*f59d82ffSelric
35*f59d82ffSelric2006-12-26  Love Hörnquist Åstrand  <lha@it.su.se>
36*f59d82ffSelric
37*f59d82ffSelric	* kdc/digest.c: Prefix internal symbol with _kdc_.
38*f59d82ffSelric
39*f59d82ffSelric	* kdc/kdc.h: add digests_allowed
40*f59d82ffSelric
41*f59d82ffSelric	* kdc/digest.c: return NTLM2 targetinfo structure.
42*f59d82ffSelric
43*f59d82ffSelric	* lib/krb5/digest.c: Add krb5_ntlm_init_get_targetinfo.
44*f59d82ffSelric
45*f59d82ffSelric	* kdc/config.c: Parse digest acl's
46*f59d82ffSelric
47*f59d82ffSelric	* kdc/kdc_locl.h: forward decl;
48*f59d82ffSelric
49*f59d82ffSelric	* kdc/digest.c: Add digest acl's
50*f59d82ffSelric
51*f59d82ffSelric2006-12-22  Love Hörnquist Åstrand  <lha@it.su.se>
52*f59d82ffSelric
53*f59d82ffSelric	* fix-export: build ntlm-private.h
54*f59d82ffSelric
55*f59d82ffSelric2006-12-20  Love Hörnquist Åstrand  <lha@it.su.se>
56*f59d82ffSelric
57*f59d82ffSelric	* include/make_crypto.c: Include <.../hmac.h>.
58*f59d82ffSelric
59*f59d82ffSelric	* kdc/digest.c: reorder to show slot here ntlmv2 code will be
60*f59d82ffSelric	placed.
61*f59d82ffSelric
62*f59d82ffSelric	* kdc/digest.c: Announce that we support key exchange and add bits
63*f59d82ffSelric	to detect when it wasn't used.
64*f59d82ffSelric
65*f59d82ffSelric	* kdc/digest.c: Add support for generating NTLM2 session security
66*f59d82ffSelric	answer.
67*f59d82ffSelric
68*f59d82ffSelric2006-12-19  Love Hörnquist Åstrand  <lha@it.su.se>
69*f59d82ffSelric
70*f59d82ffSelric	* lib/krb5/digest.c: Add sessionkey accessor functions.
71*f59d82ffSelric
72*f59d82ffSelric2006-12-18  Love Hörnquist Åstrand  <lha@it.su.se>
73*f59d82ffSelric
74*f59d82ffSelric	* kdc/digest.c: Unwrap the NTLM session key and return it to the
75*f59d82ffSelric	server.
76*f59d82ffSelric
77*f59d82ffSelric2006-12-17  Love Hörnquist Åstrand  <lha@it.su.se>
78*f59d82ffSelric
79*f59d82ffSelric	* lib/krb5/store.c (krb5_ret_principal): Fix a bug in the malloc
80*f59d82ffSelric	failure part, noticed by Arnaud Lacombe in NetBSD coverity scan.
81*f59d82ffSelric
82*f59d82ffSelric2006-12-15  Love Hörnquist Åstrand  <lha@it.su.se>
83*f59d82ffSelric
84*f59d82ffSelric	* lib/krb5/fcache.c (fcc_get_cache_next): avoid const warning.
85*f59d82ffSelric
86*f59d82ffSelric	* kdc/digest.c: Support NTLM verification, note that the KDC does
87*f59d82ffSelric	no NTLM packet parsing, its all done by the client side, the KDC
88*f59d82ffSelric	just calculate and verify the digest and return the result to the
89*f59d82ffSelric	service.
90*f59d82ffSelric
91*f59d82ffSelric	* kuser/kdigest.c: add ntlm-server-init
92*f59d82ffSelric
93*f59d82ffSelric	* kuser/Makefile.am: kdigest depends on libheimntlm.la
94*f59d82ffSelric
95*f59d82ffSelric	* kdc/headers.h: Include <heimntlm.h>.
96*f59d82ffSelric
97*f59d82ffSelric	* kdc/Makefile.am: libkdc needs libheimntlm.la
98*f59d82ffSelric
99*f59d82ffSelric	* autogen.sh: just run autoreconf -i -f
100*f59d82ffSelric
101*f59d82ffSelric	* lib/Makefile.am: hook in ntlm
102*f59d82ffSelric
103*f59d82ffSelric	* configure.in (AC_CONFIG_FILES): add lib/ntlm/Makefile
104*f59d82ffSelric
105*f59d82ffSelric	* lib/krb5/digest.c: API to authenticate ntlm requests.
106*f59d82ffSelric
107*f59d82ffSelric	* lib/krb5/fcache.c: Support "iteration" of file credential caches
108*f59d82ffSelric	by giving the user back the default file credential cache and only
109*f59d82ffSelric	that.
110*f59d82ffSelric
111*f59d82ffSelric	* lib/krb5/krb5_locl.h: Expand the default root for some of the cc
112*f59d82ffSelric	type names.
113*f59d82ffSelric
114*f59d82ffSelric2006-12-14  Love Hörnquist Åstrand  <lha@it.su.se>
115*f59d82ffSelric
116*f59d82ffSelric	* lib/krb5/init_creds_pw.c (free_paid): free the krb5_data
117*f59d82ffSelric	structure too.  Bug report from Stefan Metzmacher.
118*f59d82ffSelric
119*f59d82ffSelric2006-12-12  Love Hörnquist Åstrand  <lha@it.su.se>
120*f59d82ffSelric
121*f59d82ffSelric	* kuser/kinit.c: Read the appdefault configration before we try to
122*f59d82ffSelric	use the flags.  Bug reported by Ingemar Nilsson.
123*f59d82ffSelric
124*f59d82ffSelric	* kuser/kdigest.c: prefix digest commands with digest_
125*f59d82ffSelric
126*f59d82ffSelric	* kuser/kdigest-commands.in: prefix digest commands with digest-
127*f59d82ffSelric
128*f59d82ffSelric2006-12-10  Love Hörnquist Åstrand  <lha@it.su.se>
129*f59d82ffSelric
130*f59d82ffSelric	* kdc/hprop.c: Return error codes on failure, improve error
131*f59d82ffSelric	reporting.
132*f59d82ffSelric
133*f59d82ffSelric2006-12-08  Love Hörnquist Åstrand  <lha@it.su.se>
134*f59d82ffSelric
135*f59d82ffSelric	* lib/krb5/pkinit.c: sprinkle more _krb5_pk_copy_error
136*f59d82ffSelric
137*f59d82ffSelric	* lib/krb5/pkinit.c: Copy more hx509 error strings to krb5 error
138*f59d82ffSelric	strings
139*f59d82ffSelric
140*f59d82ffSelric2006-12-07  Love Hörnquist Åstrand  <lha@it.su.se>
141*f59d82ffSelric
142*f59d82ffSelric	* include/Makefile.am: CLEANFILES += vis.h
143*f59d82ffSelric
144*f59d82ffSelric2006-12-06  Love Hörnquist Åstrand  <lha@it.su.se>
145*f59d82ffSelric
146*f59d82ffSelric	* kdc/kerberos5.c (_kdc_as_rep): add AD-INITAL-VERIFIED-CAS to the
147*f59d82ffSelric	encrypted ticket
148*f59d82ffSelric
149*f59d82ffSelric	* kdc/pkinit.c (_kdc_add_inital_verified_cas): new function, adds
150*f59d82ffSelric	an empty (for now) AD_INITIAL_VERIFIED_CAS to tell the clients
151*f59d82ffSelric	that we vouches for the CA.
152*f59d82ffSelric
153*f59d82ffSelric	* kdc/kerberos5.c (_kdc_tkt_add_if_relevant_ad): new function.
154*f59d82ffSelric
155*f59d82ffSelric	* lib/Makefile.am: Make the directories test automake conditional
156*f59d82ffSelric	so automake can include directories in make dist step.
157*f59d82ffSelric
158*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_rd_padata): leak less memory for
159*f59d82ffSelric	ExternalPrincipalIdentifiers
160*f59d82ffSelric
161*f59d82ffSelric	* kdc/pkinit.c: Parse and use PA-PK-AS-REQ.trustedCertifiers
162*f59d82ffSelric
163*f59d82ffSelric	* kdc/pkinit.c: Add comment that the anchors in the signed data
164*f59d82ffSelric	really should be the trust anchors of the client.
165*f59d82ffSelric
166*f59d82ffSelric	* kuser/generate-requests.c: Use strcspn to remove \n from
167*f59d82ffSelric	string returned by fgets.  From Björn Sandell
168*f59d82ffSelric
169*f59d82ffSelric	* kpasswd/kpasswd-generator.c: Use strcspn to remove \n from
170*f59d82ffSelric	string returned by fgets.  From Björn Sandell
171*f59d82ffSelric
172*f59d82ffSelric2006-12-05  Love Hörnquist Åstrand  <lha@it.su.se>
173*f59d82ffSelric
174*f59d82ffSelric	* lib/hdb/hdb-ldap.c: Clear errno before calling the strtol
175*f59d82ffSelric	functions. From Paul Stoeber to OpenBSD by Ray Lai and Björn
176*f59d82ffSelric	Sandell.
177*f59d82ffSelric
178*f59d82ffSelric	* lib/krb5/config_file.c: Use strcspn to remove \n from fgets
179*f59d82ffSelric	result. Prompted by change by Ray Lai of OpenBSD via Björn
180*f59d82ffSelric	Sandell.
181*f59d82ffSelric
182*f59d82ffSelric	* kdc/string2key.c: Use strcspn to remove \n from fgets
183*f59d82ffSelric	result. Prompted by change by Ray Lai of OpenBSD via Björn
184*f59d82ffSelric	Sandell.
185*f59d82ffSelric
186*f59d82ffSelric2006-11-30  Love Hörnquist Åstrand  <lha@it.su.se>
187*f59d82ffSelric
188*f59d82ffSelric	* lib/krb5/krbhst.c (plugin_get_hosts): be more paranoid and pass
189*f59d82ffSelric	in a NULLed plugin list
190*f59d82ffSelric
191*f59d82ffSelric2006-11-29  Love Hörnquist Åstrand  <lha@it.su.se>
192*f59d82ffSelric
193*f59d82ffSelric	* lib/krb5/verify_krb5_conf.c: add more pkinit options.
194*f59d82ffSelric
195*f59d82ffSelric	* lib/krb5/pkinit.c: Store what PK-INIT type we used to know reply
196*f59d82ffSelric	to expect, this avoids overwriting the real PK-INIT error from
197*f59d82ffSelric	just a failed requeat with a Windows PK-INIT error (that always
198*f59d82ffSelric	failes).
199*f59d82ffSelric
200*f59d82ffSelric	* kdc/Makefile.am: Add LIB_pkinit to pacify AIX
201*f59d82ffSelric
202*f59d82ffSelric	* lib/hdb/Makefile.am: Add LIB_com_err to pacify AIX
203*f59d82ffSelric
204*f59d82ffSelric2006-11-28  Love Hörnquist Åstrand  <lha@it.su.se>
205*f59d82ffSelric
206*f59d82ffSelric	* lib/hdb/hdb-ldap.c: Make build again from the hdb_entry
207*f59d82ffSelric	wrapping. Patch from Andreas Hasenack.
208*f59d82ffSelric
209*f59d82ffSelric	* kdc/pkinit.c: Need better code in the DH parameter rejection
210*f59d82ffSelric	case, add comment to that effect.
211*f59d82ffSelric
212*f59d82ffSelric2006-11-27  Love Hörnquist Åstrand  <lha@it.su.se>
213*f59d82ffSelric
214*f59d82ffSelric	* kdc/krb5tgs.c: Reply KRB5KRB_ERR_RESPONSE_TOO_BIG for too large
215*f59d82ffSelric	packets when using datagram based transports.
216*f59d82ffSelric
217*f59d82ffSelric	* kdc/process.c: Pass down datagram_reply to _kdc_tgs_rep.
218*f59d82ffSelric
219*f59d82ffSelric	* lib/krb5/pkinit.c (build_auth_pack): set supportedCMSTypes.
220*f59d82ffSelric
221*f59d82ffSelric2006-11-26  Love Hörnquist Åstrand  <lha@it.su.se>
222*f59d82ffSelric
223*f59d82ffSelric	* lib/krb5/pkinit.c: Pass down hx509_peer_info.
224*f59d82ffSelric
225*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_rd_padata): Pick up supportedCMSTypes and
226*f59d82ffSelric	pass in into hx509_cms_create_signed_1 via hx509_peer_info blob.
227*f59d82ffSelric
228*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_rd_padata): Pick up supportedCMSTypes and
229*f59d82ffSelric	pass in into hx509_cms_create_signed_1 via hx509_peer_info blob.
230*f59d82ffSelric
231*f59d82ffSelric2006-11-24  Love Hörnquist Åstrand  <lha@it.su.se>
232*f59d82ffSelric
233*f59d82ffSelric	* lib/krb5/send_to_kdc.c: Set the large_msg_size to 1400, lets not
234*f59d82ffSelric	fragment packets and avoid stupid linklayers that doesn't allow
235*f59d82ffSelric	fragmented packets (unix dgram sockets on Mac OS X)
236*f59d82ffSelric
237*f59d82ffSelric2006-11-23  Love Hörnquist Åstrand  <lha@it.su.se>
238*f59d82ffSelric
239*f59d82ffSelric	* lib/krb5/pkinit.c (_krb5_pk_create_sign): stuff down the users
240*f59d82ffSelric	certs in the pool to make sure a path is returned, without this
241*f59d82ffSelric	proxy certificates wont work.
242*f59d82ffSelric
243*f59d82ffSelric2006-11-21  Love Hörnquist Åstrand  <lha@it.su.se>
244*f59d82ffSelric
245*f59d82ffSelric	* kdc/config.c: Make all pkinit options prefixed with pkinit_
246*f59d82ffSelric
247*f59d82ffSelric	* lib/krb5/log.c (krb5_get_warn_dest): return warn_dest from
248*f59d82ffSelric	krb5_context
249*f59d82ffSelric
250*f59d82ffSelric	* lib/krb5/krb5_warn.3: document krb5_[gs]et_warn_dest
251*f59d82ffSelric
252*f59d82ffSelric	* lib/krb5/krb5.h: Drop KRB5_KU_TGS_IMPERSONATE.
253*f59d82ffSelric
254*f59d82ffSelric	* kdc/krb5tgs.c: Use KRB5_KU_OTHER_CKSUM for the impersonate
255*f59d82ffSelric	checksum.
256*f59d82ffSelric
257*f59d82ffSelric	* lib/krb5/get_cred.c: Use KRB5_KU_OTHER_CKSUM for the impersonate
258*f59d82ffSelric	checksum.
259*f59d82ffSelric
260*f59d82ffSelric2006-11-20  Love Hörnquist Åstrand  <lha@it.su.se>
261*f59d82ffSelric
262*f59d82ffSelric	* lib/krb5/verify_user.c: Make krb5_get_init_creds_opt_free take a
263*f59d82ffSelric	context argument.
264*f59d82ffSelric
265*f59d82ffSelric	* lib/krb5/krb5_get_init_creds.3: Make
266*f59d82ffSelric	krb5_get_init_creds_opt_free take a context argument.
267*f59d82ffSelric
268*f59d82ffSelric	* lib/krb5/init_creds_pw.c: Make krb5_get_init_creds_opt_free take
269*f59d82ffSelric	a context argument.
270*f59d82ffSelric
271*f59d82ffSelric	* kuser/kinit.c: Make krb5_get_init_creds_opt_free take a context
272*f59d82ffSelric	argument.
273*f59d82ffSelric
274*f59d82ffSelric	* kpasswd/kpasswd.c: Make krb5_get_init_creds_opt_free take a
275*f59d82ffSelric	context argument.
276*f59d82ffSelric
277*f59d82ffSelric	* kpasswd/kpasswd-generator.c: Make krb5_get_init_creds_opt_free
278*f59d82ffSelric	take a context argument.
279*f59d82ffSelric
280*f59d82ffSelric	* kdc/hprop.c: Make krb5_get_init_creds_opt_free take a context
281*f59d82ffSelric	argument.
282*f59d82ffSelric
283*f59d82ffSelric	* lib/krb5/init_creds.c: Make krb5_get_init_creds_opt_free take a
284*f59d82ffSelric	context argument.
285*f59d82ffSelric
286*f59d82ffSelric	* appl/gssmask/gssmask.c: Make krb5_get_init_creds_opt_free take a
287*f59d82ffSelric	context argument.
288*f59d82ffSelric
289*f59d82ffSelric2006-11-19  Love Hörnquist Åstrand  <lha@it.su.se>
290*f59d82ffSelric
291*f59d82ffSelric	* doc/setup.texi: fix pkinit option (s/-/_/)
292*f59d82ffSelric
293*f59d82ffSelric	* kdc/config.c: revert the enable-pkinit change, and make it
294*f59d82ffSelric	consistant with all other other enable- options
295*f59d82ffSelric
296*f59d82ffSelric2006-11-17  Love Hörnquist Åstrand  <lha@it.su.se>
297*f59d82ffSelric
298*f59d82ffSelric	* doc/setup.texi: Make all pkinit options prefixed with pkinit_
299*f59d82ffSelric
300*f59d82ffSelric	* kdc/config.c: Make all pkinit options prefixed with pkinit_
301*f59d82ffSelric
302*f59d82ffSelric	* kdc/pkinit.c: Make app pkinit options prefixed with pkinit_
303*f59d82ffSelric
304*f59d82ffSelric	* lib/krb5/pkinit.c: Make app pkinit options prefixed with pkinit_
305*f59d82ffSelric
306*f59d82ffSelric	* lib/krb5/mit_glue.c (krb5_c_keylengths): make compile again.
307*f59d82ffSelric
308*f59d82ffSelric	* lib/krb5/mit_glue.c (krb5_c_keylengths): rename.
309*f59d82ffSelric
310*f59d82ffSelric	* lib/krb5/mit_glue.c (krb5_c_keylength): mit changed the api,
311*f59d82ffSelric	deal.
312*f59d82ffSelric
313*f59d82ffSelric2006-11-13  Love Hörnquist Åstrand  <lha@it.su.se>
314*f59d82ffSelric
315*f59d82ffSelric	* lib/krb5/pac.c (fill_zeros): stop using MIN.
316*f59d82ffSelric
317*f59d82ffSelric	* kuser/kinit.c: Forward decl
318*f59d82ffSelric
319*f59d82ffSelric	* lib/krb5/test_plugin.c: Use NOTHERE.H5L.SE.
320*f59d82ffSelric
321*f59d82ffSelric	* lib/krb5/krbhst.c: Fill in hints for picky getaddrinfo()s.
322*f59d82ffSelric
323*f59d82ffSelric	* lib/krb5/test_plugin.c: Set sin_len if it exists.
324*f59d82ffSelric
325*f59d82ffSelric	* lib/krb5/krbhst.c: Use plugin for the other realm locate types
326*f59d82ffSelric	too.
327*f59d82ffSelric
328*f59d82ffSelric2006-11-12  Love Hörnquist Åstrand  <lha@it.su.se>
329*f59d82ffSelric
330*f59d82ffSelric	* lib/krb5/krb5_locl.h: Add plugin api
331*f59d82ffSelric
332*f59d82ffSelric	* lib/krb5/Makefile.am: Add plugin api.
333*f59d82ffSelric
334*f59d82ffSelric	* lib/krb5/krbhst.c: Use the resolve plugin interface.
335*f59d82ffSelric
336*f59d82ffSelric	* lib/krb5/locate_plugin.h: Add plugin interface for resolving
337*f59d82ffSelric	that is API compatible with MITs version.
338*f59d82ffSelric
339*f59d82ffSelric	* lib/krb5/plugin.c: Add first version of the plugin interface.
340*f59d82ffSelric
341*f59d82ffSelric	* lib/krb5/test_pac.c: Test signing.
342*f59d82ffSelric
343*f59d82ffSelric	* lib/krb5/pac.c: Add code to sign PACs, only arcfour for now.
344*f59d82ffSelric
345*f59d82ffSelric	* lib/krb5/krb5.h: Add struct krb5_pac.
346*f59d82ffSelric
347*f59d82ffSelric2006-11-09  Love Hörnquist Åstrand  <lha@it.su.se>
348*f59d82ffSelric
349*f59d82ffSelric	* lib/krb5/test_pac.c: PAC testing.
350*f59d82ffSelric
351*f59d82ffSelric	* lib/krb5/pac.c: Sprinkle error strings.
352*f59d82ffSelric
353*f59d82ffSelric	* lib/krb5/pac.c: Verify LOGON_NAME.
354*f59d82ffSelric
355*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_check_client): drop client_princ as an
356*f59d82ffSelric	argument
357*f59d82ffSelric
358*f59d82ffSelric	* kdc/kerberos5.c (_kdc_as_rep): drop client_princ from
359*f59d82ffSelric	_kdc_pk_check_client since its not valid in canonicalize case
360*f59d82ffSelric
361*f59d82ffSelric	* lib/krb5/krb5_c_make_checksum.3: Document krb5_c_keylength.
362*f59d82ffSelric
363*f59d82ffSelric	* lib/krb5/mit_glue.c: Add krb5_c_keylength.
364*f59d82ffSelric
365*f59d82ffSelric2006-11-08  Love Hörnquist Åstrand  <lha@it.su.se>
366*f59d82ffSelric
367*f59d82ffSelric	* lib/krb5/pac.c: Almost enough code to do PAC parsing and
368*f59d82ffSelric	verification, missing in the unix2NTTIME and ucs2 corner. The
369*f59d82ffSelric	later will be adressed by finally adding libwind.
370*f59d82ffSelric
371*f59d82ffSelric	* lib/krb5/krb5_init_context.3: document krb5_[gs]et_max_time_skew
372*f59d82ffSelric
373*f59d82ffSelric	* kdc/hpropd.c: Remove support dumping to a kerberos 4 database.
374*f59d82ffSelric
375*f59d82ffSelric2006-11-07  Love Hörnquist Åstrand  <lha@it.su.se>
376*f59d82ffSelric
377*f59d82ffSelric	* lib/krb5/context.c: rename krb5_[gs]et_time_wrap to
378*f59d82ffSelric	krb5_[gs]et_max_time_skew
379*f59d82ffSelric
380*f59d82ffSelric	* kdc/pkinit.c: Catch error string from hx509_cms_verify_signed.
381*f59d82ffSelric	Check for id-pKKdcEkuOID and warn if its not there.
382*f59d82ffSelric
383*f59d82ffSelric	* lib/krb5/rd_req.c: Add more krb5_rd_req_out_get functions.
384*f59d82ffSelric
385*f59d82ffSelric2006-11-06  Love Hörnquist Åstrand  <lha@it.su.se>
386*f59d82ffSelric
387*f59d82ffSelric	* lib/krb5/krb5.h: krb5_rd_req{,_in,_out}_ctx.
388*f59d82ffSelric
389*f59d82ffSelric	* lib/krb5/rd_req.c (krb5_rd_req_ctx): Add context all singing-all
390*f59d82ffSelric	dancing version of the krb5_rd_req and implement krb5_rd_req and
391*f59d82ffSelric	krb5_rd_req_with_keyblock using it.
392*f59d82ffSelric
393*f59d82ffSelric2006-11-04 Love Hörnquist Åstrand <lha@it.su.se>
394*f59d82ffSelric
395*f59d82ffSelric	* kdc/kerberos5.c (_kdc_as_rep): More verbose time skew logging.
396*f59d82ffSelric
397*f59d82ffSelric2006-11-03  Love Hörnquist Åstrand  <lha@it.su.se>
398*f59d82ffSelric
399*f59d82ffSelric	* lib/krb5/expand_hostname.c: Rename various routines and
400*f59d82ffSelric	constants from canonize to canonicalize.  From Andrew Bartlett
401*f59d82ffSelric
402*f59d82ffSelric	* lib/krb5/context.c: Add krb5_[gs]et_time_wrap
403*f59d82ffSelric
404*f59d82ffSelric	* lib/krb5/krb5_locl.h: Rename various routines and constants from
405*f59d82ffSelric	canonize to canonicalize.  From Andrew Bartlett
406*f59d82ffSelric
407*f59d82ffSelric	* appl/gssmask/common.c (add_list): fix alloc statement.
408*f59d82ffSelric	From Alex Deiter
409*f59d82ffSelric
410*f59d82ffSelric2006-10-25  Love Hörnquist Åstrand  <lha@it.su.se>
411*f59d82ffSelric
412*f59d82ffSelric	* include/Makefile.am: Move version.h and version.h.in to
413*f59d82ffSelric	DISTCLEANFILES.
414*f59d82ffSelric
415*f59d82ffSelric2006-10-24  Love Hörnquist Åstrand  <lha@it.su.se>
416*f59d82ffSelric
417*f59d82ffSelric	* appl/gssmask/gssmask.c: Only log when there are resources left.
418*f59d82ffSelric
419*f59d82ffSelric	* appl/gssmask/gssmask.c: make compile
420*f59d82ffSelric
421*f59d82ffSelric	* appl/gssmask/gssmask.c (AcquireCreds): free
422*f59d82ffSelric	krb5_get_init_creds_opt
423*f59d82ffSelric
424*f59d82ffSelric2006-10-23  Love Hörnquist Åstrand  <lha@it.su.se>
425*f59d82ffSelric
426*f59d82ffSelric	* configure.in: heimdal 0.8-RC1
427*f59d82ffSelric
428*f59d82ffSelric2006-10-22  Love Hörnquist Åstrand  <lha@it.su.se>
429*f59d82ffSelric
430*f59d82ffSelric	* lib/krb5/digest.c: Try to not leak memory.
431*f59d82ffSelric
432*f59d82ffSelric	* kdc/digest.c: Try to not leak memory.
433*f59d82ffSelric
434*f59d82ffSelric	* Makefile.am: remove valgrind target, it doesn't belong here.
435*f59d82ffSelric
436*f59d82ffSelric	* kuser/kinit.c: Try to not leak memory.
437*f59d82ffSelric
438*f59d82ffSelric	* kuser/kgetcred.c: Try to not leak memory.
439*f59d82ffSelric
440*f59d82ffSelric	* kdc/krb5tgs.c (check_KRB5SignedPath): free KRB5SignedPath on
441*f59d82ffSelric	successful completion too, not just the error cases.
442*f59d82ffSelric
443*f59d82ffSelric	* fix-export: Make make fix-export less verbose.
444*f59d82ffSelric
445*f59d82ffSelric	* kuser/kgetcred.c: Try to not leak memory.
446*f59d82ffSelric
447*f59d82ffSelric	* lib/hdb/keys.c (hdb_generate_key_set): free list of enctype when
448*f59d82ffSelric	done.
449*f59d82ffSelric
450*f59d82ffSelric	* lib/krb5/crypto.c: Allocate the memory we later use.
451*f59d82ffSelric
452*f59d82ffSelric	* lib/krb5/test_princ.c: Try to not leak memory.
453*f59d82ffSelric
454*f59d82ffSelric	* lib/krb5/test_crypto_wrapping.c: Try to not leak memory.
455*f59d82ffSelric
456*f59d82ffSelric	* lib/krb5/test_cc.c: Try to not leak memory.
457*f59d82ffSelric
458*f59d82ffSelric	* lib/krb5/addr_families.c (arange_free): Try to not leak memory.
459*f59d82ffSelric
460*f59d82ffSelric	* lib/krb5/crypto.c (AES_string_to_key): Try to not leak memory.
461*f59d82ffSelric
462*f59d82ffSelric2006-10-21  Love Hörnquist Åstrand  <lha@it.su.se>
463*f59d82ffSelric
464*f59d82ffSelric	* tools/heimdal-build.sh: Add --test-environment
465*f59d82ffSelric
466*f59d82ffSelric	* tools/heimdal-build.sh: Add --ccache-dir
467*f59d82ffSelric
468*f59d82ffSelric	* lib/hdb/Makefile.am: remove dependency on et files covert_db
469*f59d82ffSelric	that now is removed
470*f59d82ffSelric
471*f59d82ffSelric2006-10-20  Love Hörnquist Åstrand  <lha@it.su.se>
472*f59d82ffSelric
473*f59d82ffSelric	* include/Makefile.am: add gssapi to subdirs
474*f59d82ffSelric
475*f59d82ffSelric	* lib/hdb/hdb-ldap.c: Make compile.
476*f59d82ffSelric
477*f59d82ffSelric	* configure.in: add include/gssapi/Makefile.
478*f59d82ffSelric
479*f59d82ffSelric	* include/Makefile.am: clean more files
480*f59d82ffSelric
481*f59d82ffSelric	* include/make_crypto.c: Avoid creating a file called --version.
482*f59d82ffSelric
483*f59d82ffSelric	* include/bits.c: Avoid creating a file called --version.
484*f59d82ffSelric
485*f59d82ffSelric	* appl/test/Makefile.am: add nt_gss_common.h
486*f59d82ffSelric
487*f59d82ffSelric	* doc/Makefile.am: Disable TEXI2DVI for now.
488*f59d82ffSelric
489*f59d82ffSelric	* tools/Makefile.am: more files
490*f59d82ffSelric
491*f59d82ffSelric	* lib/krb5/context.c (krb5_free_context): free send_to_kdc context
492*f59d82ffSelric
493*f59d82ffSelric	* doc/heimdal.texi: Put Heimdal in the dircategory Security.
494*f59d82ffSelric
495*f59d82ffSelric	* lib/krb5/send_to_kdc.c: Add sent_to_kdc hook, from Andrew
496*f59d82ffSelric	Bartlet.
497*f59d82ffSelric
498*f59d82ffSelric	* lib/krb5/krb5_locl.h: Add send_to_kdc hook.
499*f59d82ffSelric
500*f59d82ffSelric	* lib/krb5/krb5.h: Add krb5_send_to_kdc_func prototype.
501*f59d82ffSelric
502*f59d82ffSelric	* kcm/Makefile.am: more files
503*f59d82ffSelric
504*f59d82ffSelric	* kdc/Makefile.am: more files
505*f59d82ffSelric
506*f59d82ffSelric	* lib/hdb/Makefile.am: more files
507*f59d82ffSelric
508*f59d82ffSelric	* lib/krb5/Makefile.am: add more files
509*f59d82ffSelric
510*f59d82ffSelric2006-10-19  Love Hörnquist Åstrand  <lha@it.su.se>
511*f59d82ffSelric
512*f59d82ffSelric	* tools/Makefile.am: Add heimdal-build.sh to EXTRA_DIST.
513*f59d82ffSelric
514*f59d82ffSelric	* configure.in: Don't check for timegm, libroken provides it for
515*f59d82ffSelric	us.
516*f59d82ffSelric
517*f59d82ffSelric	* lib/krb5/acache.c: Does function typecasts instead of void *
518*f59d82ffSelric	type-casts.
519*f59d82ffSelric
520*f59d82ffSelric	* lib/krb5/krb5.h: Remove bonus , that Love sneeked in.
521*f59d82ffSelric
522*f59d82ffSelric	* configure.in: make --disable-pk-init help text also negative
523*f59d82ffSelric
524*f59d82ffSelric2006-10-18  Love Hörnquist Åstrand  <lha@it.su.se>
525*f59d82ffSelric
526*f59d82ffSelric	* kuser/kgetcred.c: Avoid memory leak.
527*f59d82ffSelric
528*f59d82ffSelric	* tools/heimdal-build.sh: Add more verbose logging, add version of
529*f59d82ffSelric	script and heimdal to the mail.
530*f59d82ffSelric
531*f59d82ffSelric	* lib/hdb/db3.c: Wrap function call pointer calls in (*func) to
532*f59d82ffSelric	avoid macros rewriting open and close.
533*f59d82ffSelric
534*f59d82ffSelric	* lib/krb5/Makefile.am: Add test_princ.
535*f59d82ffSelric
536*f59d82ffSelric	* lib/krb5/principal.c: More error strings, handle realm-less
537*f59d82ffSelric	printing.
538*f59d82ffSelric
539*f59d82ffSelric	* lib/krb5/test_princ.c: Test principal parsing and unparsing.
540*f59d82ffSelric
541*f59d82ffSelric2006-10-17  Love Hörnquist Åstrand  <lha@it.su.se>
542*f59d82ffSelric
543*f59d82ffSelric	* lib/krb5/get_host_realm.c (krb5_get_host_realm): make sure we
544*f59d82ffSelric	don't recurse
545*f59d82ffSelric
546*f59d82ffSelric	* lib/krb5/get_host_realm.c (krb5_get_host_realm): no components
547*f59d82ffSelric	-> no dns. no mapping, try local realm and hope KDC knows better.
548*f59d82ffSelric
549*f59d82ffSelric	* lib/krb5/krb5.h: Add flags for krb5_unparse_name_flags
550*f59d82ffSelric
551*f59d82ffSelric	* lib/krb5/krb5_principal.3: Document
552*f59d82ffSelric	krb5_unparse_name{_fixed,}_flags.
553*f59d82ffSelric
554*f59d82ffSelric	* lib/krb5/principal.c: Add krb5_unparse_name_flags and
555*f59d82ffSelric	krb5_unparse_name_fixed_flags.
556*f59d82ffSelric
557*f59d82ffSelric	* lib/krb5/krb5_principal.3: Document krb5_parse_name_flags.
558*f59d82ffSelric
559*f59d82ffSelric	* lib/krb5/principal.c: Add krb5_parse_name_flags.
560*f59d82ffSelric
561*f59d82ffSelric	* lib/krb5/principal.c: Add krb5_parse_name_flags.
562*f59d82ffSelric
563*f59d82ffSelric	* lib/krb5/krb5.h: Add krb5_parse_name_flags flags.
564*f59d82ffSelric
565*f59d82ffSelric	* lib/krb5/krb5_locl.h: Hide krb5_context_data from public
566*f59d82ffSelric	exposure.
567*f59d82ffSelric
568*f59d82ffSelric	* lib/krb5/krb5.h: Hide krb5_context_data from public exposure.
569*f59d82ffSelric
570*f59d82ffSelric	* kuser/klist.c: Use krb5_get_kdc_sec_offset.
571*f59d82ffSelric
572*f59d82ffSelric	* lib/krb5/context.c: Document krb5_get_kdc_sec_offset()
573*f59d82ffSelric
574*f59d82ffSelric	* lib/krb5/krb5_init_context.3: Add krb5_get_kdc_sec_offset()
575*f59d82ffSelric
576*f59d82ffSelric	* lib/krb5/krb5_init_context.3: Add krb5_set_dns_canonize_hostname
577*f59d82ffSelric	and krb5_get_dns_canonize_hostname
578*f59d82ffSelric
579*f59d82ffSelric	* lib/krb5/verify_krb5_conf.c:
580*f59d82ffSelric	add [libdefaults]dns_canonize_hostname
581*f59d82ffSelric
582*f59d82ffSelric	* lib/krb5/expand_hostname.c: use dns_canonize_hostname to
583*f59d82ffSelric	determin if we should talk to dns to find the canonical name of
584*f59d82ffSelric	the host.
585*f59d82ffSelric
586*f59d82ffSelric	* lib/krb5/krb5.h (krb5_context): add dns_canonize_hostname.
587*f59d82ffSelric
588*f59d82ffSelric	* tools/heimdal-build.sh: Set status.
589*f59d82ffSelric
590*f59d82ffSelric	* appl/gssmask/gssmask.c: handle more bits
591*f59d82ffSelric
592*f59d82ffSelric	* kdc/kerberos5.c: Prefix asn1 primitives with der_.
593*f59d82ffSelric
594*f59d82ffSelric2006-10-16  Love Hörnquist Åstrand  <lha@it.su.se>
595*f59d82ffSelric
596*f59d82ffSelric	* fix-export: Build lib/asn1/der-protos.h.
597*f59d82ffSelric
598*f59d82ffSelric2006-10-14  Love Hörnquist Åstrand  <lha@it.su.se>
599*f59d82ffSelric
600*f59d82ffSelric	* appl/gssmask/Makefile.am: Add explit depenency on libroken.
601*f59d82ffSelric
602*f59d82ffSelric	* kdc/krb5tgs.c: Prefix der primitives with der_.
603*f59d82ffSelric
604*f59d82ffSelric	* kdc/pkinit.c: Prefix der primitives with der_.
605*f59d82ffSelric
606*f59d82ffSelric	* lib/hdb/ext.c: Prefix der primitives with der_.
607*f59d82ffSelric
608*f59d82ffSelric	* lib/hdb/ext.c: Prefix der primitives with der_.
609*f59d82ffSelric
610*f59d82ffSelric	* lib/krb5/crypto.c: Remove workaround from when there wasn't
611*f59d82ffSelric	always aes.
612*f59d82ffSelric
613*f59d82ffSelric	* lib/krb5/ticket.c: Prefix der primitives with der_.
614*f59d82ffSelric
615*f59d82ffSelric	* lib/krb5/digest.c: Prefix der primitives with der_.
616*f59d82ffSelric
617*f59d82ffSelric	* lib/krb5/crypto.c: Prefix der primitives with der_.
618*f59d82ffSelric
619*f59d82ffSelric	* lib/krb5/data.c: Prefix der primitives with der_.
620*f59d82ffSelric
621*f59d82ffSelric2006-10-12  Love Hörnquist Åstrand  <lha@it.su.se>
622*f59d82ffSelric
623*f59d82ffSelric	* kdc/pkinit.c (pk_mk_pa_reply_enckey): add missing break. From
624*f59d82ffSelric	Olga Kornievskaia.
625*f59d82ffSelric
626*f59d82ffSelric	* kdc/kdc.8: document max-kdc-datagram-reply-length
627*f59d82ffSelric
628*f59d82ffSelric	* include/bits.c: Include Xint64 types.
629*f59d82ffSelric
630*f59d82ffSelric2006-10-10  Love Hörnquist Åstrand  <lha@it.su.se>
631*f59d82ffSelric
632*f59d82ffSelric	* tools/heimdal-build.sh: Add socketwrapper and cputime limit.
633*f59d82ffSelric
634*f59d82ffSelric	* kdc/connect.c (loop): Log that the kdc have started.
635*f59d82ffSelric
636*f59d82ffSelric2006-10-09  Love Hörnquist Åstrand  <lha@it.su.se>
637*f59d82ffSelric
638*f59d82ffSelric	* kdc/connect.c (do_request): tell krb5_kdc_process_request if its
639*f59d82ffSelric	a datagram reply or not
640*f59d82ffSelric
641*f59d82ffSelric	* kdc/kerberos5.c: Reply KRB5KRB_ERR_RESPONSE_TOO_BIG error if its
642*f59d82ffSelric	a datagram reply and the datagram reply length limit is reached.
643*f59d82ffSelric
644*f59d82ffSelric	* kdc/process.c: Rename krb5_kdc_process_generic_request to
645*f59d82ffSelric	krb5_kdc_process_request Add datagram_reply argument.
646*f59d82ffSelric
647*f59d82ffSelric	* kdc/config.c: check for [kdc]max-kdc-datagram-reply-length
648*f59d82ffSelric
649*f59d82ffSelric	* kdc/kdc.h (krb5_kdc_config): Add max_datagram_reply_length.
650*f59d82ffSelric
651*f59d82ffSelric	* lib/hdb/keytab.c: Change || to |, From metze.
652*f59d82ffSelric
653*f59d82ffSelric	* lib/hdb/keytab.c: Add back :file to sample format.
654*f59d82ffSelric
655*f59d82ffSelric	* lib/hdb/keytab.c: Add more HDB_F flags to hdb_fetch. Pointed out
656*f59d82ffSelric	by Andrew Bartlet.
657*f59d82ffSelric
658*f59d82ffSelric	* kdc/krb5tgs.c (tgs_parse_request): set cusec, not csec from
659*f59d82ffSelric	auth->cusec.
660*f59d82ffSelric
661*f59d82ffSelric2006-10-08  Love Hörnquist Åstrand  <lha@it.su.se>
662*f59d82ffSelric
663*f59d82ffSelric	* fix-export: dist_-ify libkadm5clnt_la_SOURCES too
664*f59d82ffSelric
665*f59d82ffSelric	* doc/heimdal.texi: Update (c) years.
666*f59d82ffSelric
667*f59d82ffSelric	* appl/gssmask/protocol.h: Clarify protocol.
668*f59d82ffSelric
669*f59d82ffSelric	* kdc/hpropd.c: Adapt to signature change of
670*f59d82ffSelric	_krb5_principalname2krb5_principal.
671*f59d82ffSelric
672*f59d82ffSelric	* kdc/kerberos4.c: Adapt to signature change of
673*f59d82ffSelric	_krb5_principalname2krb5_principal.
674*f59d82ffSelric
675*f59d82ffSelric	* kdc/connect.c (handle_vanilla_tcp): shorten length when we
676*f59d82ffSelric	shorten the buffer, this matter im the PK-INIT encKey case where a
677*f59d82ffSelric	checksum is done over the whole packet. Reported by Olga
678*f59d82ffSelric	Kornievskaia
679*f59d82ffSelric
680*f59d82ffSelric2006-10-07  Love Hörnquist Åstrand  <lha@it.su.se>
681*f59d82ffSelric
682*f59d82ffSelric	* include/Makefile.am: crypto-headers.h is a nodist header
683*f59d82ffSelric
684*f59d82ffSelric	* lib/krb5/aes-test.c: Make argument to PKCS5_PBKDF2_HMAC_SHA1
685*f59d82ffSelric	unsigned char to make OpenSSL happy.
686*f59d82ffSelric
687*f59d82ffSelric	* appl/kf/Makefile.am: Add man_MANS to EXTRA_DIST
688*f59d82ffSelric
689*f59d82ffSelric	* kuser/Makefile.am: split build files into dist_ and noinst_
690*f59d82ffSelric	SOURCES
691*f59d82ffSelric
692*f59d82ffSelric	* lib/hdb/Makefile.am: split build files into dist_ and noinst_
693*f59d82ffSelric	SOURCES
694*f59d82ffSelric
695*f59d82ffSelric	* lib/krb5/Makefile.am: split build files into dist_ and noinst_
696*f59d82ffSelric	SOURCES
697*f59d82ffSelric
698*f59d82ffSelric	* kdc/kerberos5.c: Adapt to signature change of
699*f59d82ffSelric	_krb5_principalname2krb5_principal.
700*f59d82ffSelric
701*f59d82ffSelric2006-10-06  Love Hörnquist Åstrand  <lha@it.su.se>
702*f59d82ffSelric
703*f59d82ffSelric	* lib/krb5/krbhst.c (common_init): don't try DNS when there is
704*f59d82ffSelric	realm w/o a dot.
705*f59d82ffSelric
706*f59d82ffSelric	* kdc/524.c: Adapt to signature change of
707*f59d82ffSelric	_krb5_principalname2krb5_principal.
708*f59d82ffSelric
709*f59d82ffSelric	* kdc/krb5tgs.c: Adapt to signature change of
710*f59d82ffSelric	_krb5_principalname2krb5_principal.
711*f59d82ffSelric
712*f59d82ffSelric	* lib/krb5/get_in_tkt.c: Adapt to signature change of
713*f59d82ffSelric	_krb5_principalname2krb5_principal.
714*f59d82ffSelric
715*f59d82ffSelric	* lib/krb5/rd_cred.c: Adapt to signature change of
716*f59d82ffSelric	_krb5_principalname2krb5_principal.
717*f59d82ffSelric
718*f59d82ffSelric	* lib/krb5/rd_req.c: Adapt to signature change of
719*f59d82ffSelric	_krb5_principalname2krb5_principal.
720*f59d82ffSelric
721*f59d82ffSelric	* lib/krb5/asn1_glue.c (_krb5_principalname2krb5_principal): add
722*f59d82ffSelric	krb5_context to signature.
723*f59d82ffSelric
724*f59d82ffSelric	* kdc/524.c (_krb5_principalname2krb5_principal): adapt to
725*f59d82ffSelric	signature change
726*f59d82ffSelric
727*f59d82ffSelric	* lib/hdb/keytab.c (hdb_get_entry): close and destroy the database
728*f59d82ffSelric	later, the hdb_entry_ex might still contain links to the database
729*f59d82ffSelric	that it expects to use.
730*f59d82ffSelric
731*f59d82ffSelric	* kdc/digest.c: Make digest argument o MD5_final unsigned char to
732*f59d82ffSelric	help OpenSSL.
733*f59d82ffSelric
734*f59d82ffSelric	* kuser/kdigest.c: Make digest argument o MD5_final unsigned char
735*f59d82ffSelric	to help OpenSSL.
736*f59d82ffSelric
737*f59d82ffSelric	* appl/gssmask/common.h: Maybe include <sys/wait.h>.
738*f59d82ffSelric
739*f59d82ffSelric2006-10-05  Love Hörnquist Åstrand  <lha@it.su.se>
740*f59d82ffSelric
741*f59d82ffSelric	* appl/gssmask/common.h: disable ENABLE_PTHREAD_SUPPORT and
742*f59d82ffSelric	explain why
743*f59d82ffSelric
744*f59d82ffSelric	* tools/heimdal-build.sh: Another mail header.
745*f59d82ffSelric
746*f59d82ffSelric	* tools/heimdal-build.sh: small fixes
747*f59d82ffSelric
748*f59d82ffSelric	* fix-export: More liberal parsing of AC_INIT
749*f59d82ffSelric
750*f59d82ffSelric	* tools/heimdal-build.sh: first cut
751*f59d82ffSelric
752*f59d82ffSelric2006-10-04  Love Hörnquist Åstrand  <lha@it.su.se>
753*f59d82ffSelric
754*f59d82ffSelric	* configure.in: Call AB_INIT.
755*f59d82ffSelric
756*f59d82ffSelric	* kuser/kinit.c: Add flag --pk-use-enckey.
757*f59d82ffSelric
758*f59d82ffSelric	* kdc/pkinit.c: Sign the request in the encKey case.  Bug reported
759*f59d82ffSelric	by Olga Kornievskaia of Umich.
760*f59d82ffSelric
761*f59d82ffSelric	* lib/krb5/Makefile.am: man_MANS += krb5_digest.3
762*f59d82ffSelric
763*f59d82ffSelric	* lib/krb5/krb5_digest.3: Add all protos
764*f59d82ffSelric
765*f59d82ffSelric2006-10-03  Love Hörnquist Åstrand  <lha@it.su.se>
766*f59d82ffSelric
767*f59d82ffSelric	* lib/krb5/krb5_digest.3: Basic krb5_digest manpage.
768*f59d82ffSelric
769*f59d82ffSelric2006-10-02  Love Hörnquist Åstrand  <lha@it.su.se>
770*f59d82ffSelric
771*f59d82ffSelric	* fix-export: build gssapi mech private files
772*f59d82ffSelric
773*f59d82ffSelric	* lib/krb5/init_creds_pw.c: minimize layering and remove
774*f59d82ffSelric	krb5_kdc_flags
775*f59d82ffSelric
776*f59d82ffSelric	* lib/krb5/get_in_tkt.c: Always use the kdc_flags in the right bit
777*f59d82ffSelric	order.
778*f59d82ffSelric
779*f59d82ffSelric	* lib/krb5/init_creds_pw.c: Always use the kdc_flags in the right
780*f59d82ffSelric	bit order.
781*f59d82ffSelric
782*f59d82ffSelric	* kuser/kdigest.c: Don't require --kerberos-realm.
783*f59d82ffSelric
784*f59d82ffSelric	* lib/krb5/digest.c (digest_request): if NULL is passed in as
785*f59d82ffSelric	realm, use default realm.
786*f59d82ffSelric
787*f59d82ffSelric	* fix-export: build gssapi mech private files
788*f59d82ffSelric
789*f59d82ffSelric2006-09-26  Love Hörnquist Åstrand  <lha@it.su.se>
790*f59d82ffSelric
791*f59d82ffSelric	* appl/gssmask/gssmaestro.c: Handle FIRST_CALL in the context
792*f59d82ffSelric	building, better error handling.
793*f59d82ffSelric
794*f59d82ffSelric	* appl/gssmask/gssmaestro.c: switch from wrap/unwrap to
795*f59d82ffSelric	encrypt/decrypt
796*f59d82ffSelric
797*f59d82ffSelric	* appl/gssmask/gssmask.c: Don't announce spn if there is none.
798*f59d82ffSelric
799*f59d82ffSelric	* appl/gssmask/gssmaestro.c: Check that the pre-wrapped data is
800*f59d82ffSelric	the same as afterward.
801*f59d82ffSelric
802*f59d82ffSelric2006-09-25  Love Hörnquist Åstrand <lha@it.su.se>
803*f59d82ffSelric
804*f59d82ffSelric	* appl/gssmask/gssmaestro.c: Remove stray GSS_C_DCE_STYLE.
805*f59d82ffSelric
806*f59d82ffSelric	* appl/gssmask/gssmaestro.c: Add logsocket support.
807*f59d82ffSelric
808*f59d82ffSelric2006-09-22  Love Hörnquist Åstrand  <lha@it.su.se>
809*f59d82ffSelric
810*f59d82ffSelric	* appl/gssmask/gssmaestro.c (build_context): print the step the
811*f59d82ffSelric	context exchange.
812*f59d82ffSelric
813*f59d82ffSelric2006-09-21  Love Hörnquist Åstrand  <lha@it.su.se>
814*f59d82ffSelric
815*f59d82ffSelric	* appl/gssmask/gssmaestro.c: Add GSS_C_INTEG_FLAG|GSS_C_CONF_FLAG
816*f59d82ffSelric	to all context flags
817*f59d82ffSelric
818*f59d82ffSelric	* appl/gssmask/gssmaestro.c: Add wrap and mic tests for all
819*f59d82ffSelric	elements
820*f59d82ffSelric
821*f59d82ffSelric	* appl/gssmask/gssmask.c: Add mic tests
822*f59d82ffSelric
823*f59d82ffSelric	* appl/gssmask/gssmaestro.c: dont exit early then when context
824*f59d82ffSelric	is half built.
825*f59d82ffSelric
826*f59d82ffSelric	* lib/krb5/rd_req.c: disable ETypeList parsing usage for now, cfx
827*f59d82ffSelric	seems broken and its not good to upgrade to a broken enctype.
828*f59d82ffSelric
829*f59d82ffSelric2006-09-20  Love Hörnquist Åstrand  <lha@it.su.se>
830*f59d82ffSelric
831*f59d82ffSelric	* appl/gssmask/gssmask.c: Add wrap/unwrap ops
832*f59d82ffSelric
833*f59d82ffSelric	* appl/gssmask/protocol.h: Add eGetVersionAndCapabilities flags
834*f59d82ffSelric
835*f59d82ffSelric	* appl/gssmask/common.c: Add permutate_all (and support
836*f59d82ffSelric	functions).
837*f59d82ffSelric
838*f59d82ffSelric	* appl/gssmask/common.h: Add permutate_all
839*f59d82ffSelric
840*f59d82ffSelric	* appl/gssmask/gssmask.c: use new flags, return moniker
841*f59d82ffSelric
842*f59d82ffSelric	* appl/gssmask/gssmaestro.c: test self context building and all
843*f59d82ffSelric	permutation of clients
844*f59d82ffSelric
845*f59d82ffSelric2006-09-19  Love Hörnquist Åstrand  <lha@it.su.se>
846*f59d82ffSelric
847*f59d82ffSelric	* appl/gssmask/gssmask.c: add --logfile option, use htons() on
848*f59d82ffSelric	port number
849*f59d82ffSelric
850*f59d82ffSelric	* appl/gssmask/gssmaestro.c: Log port in connection message.
851*f59d82ffSelric
852*f59d82ffSelric	* configure.in: Make pk-init turned on by default.
853*f59d82ffSelric
854*f59d82ffSelric2006-09-18  Love Hörnquist Åstrand  <lha@it.su.se>
855*f59d82ffSelric
856*f59d82ffSelric	* fix-export: Build lib/hx509/{hx509-protos.h,hx509-private.h}.
857*f59d82ffSelric
858*f59d82ffSelric	* kuser/Makefile.am: Add tool for printing tickets.
859*f59d82ffSelric
860*f59d82ffSelric	* kuser/kimpersonate.1: Add tool for printing tickets.
861*f59d82ffSelric
862*f59d82ffSelric	* kuser/kimpersonate.c: Add tool for printing tickets.
863*f59d82ffSelric
864*f59d82ffSelric	* kdc/krb5tgs.c: Check the adtkt in the constrained delegation
865*f59d82ffSelric	case too.
866*f59d82ffSelric
867*f59d82ffSelric2006-09-16  Love Hörnquist Åstrand  <lha@it.su.se>
868*f59d82ffSelric
869*f59d82ffSelric	* kdc/main.c (sigterm): don't _exit, let loop() catch the signal
870*f59d82ffSelric	instead.
871*f59d82ffSelric
872*f59d82ffSelric	* lib/krb5/krb5_timeofday.3: Fixes from Björn Sandell.
873*f59d82ffSelric
874*f59d82ffSelric	* lib/krb5/krb5_get_init_creds.3: Fixes from Björn Sandell.
875*f59d82ffSelric
876*f59d82ffSelric2006-09-15  Love Hörnquist Åstrand  <lha@it.su.se>
877*f59d82ffSelric
878*f59d82ffSelric	* tools/krb5-config.in: Add "kafs" option.
879*f59d82ffSelric
880*f59d82ffSelric2006-09-12  Love Hörnquist Åstrand  <lha@it.su.se>
881*f59d82ffSelric
882*f59d82ffSelric	* lib/hdb/db.c: By using full function calling conversion (*func)
883*f59d82ffSelric	we avoid problem when close(fd) is overridden using a macro.
884*f59d82ffSelric
885*f59d82ffSelric	* lib/krb5/cache.c: By using full function calling
886*f59d82ffSelric	conversion (*func) we avoid problem when close(fd) is overridden
887*f59d82ffSelric	using a macro.
888*f59d82ffSelric
889*f59d82ffSelric2006-09-11  Love Hörnquist Åstrand  <lha@it.su.se>
890*f59d82ffSelric
891*f59d82ffSelric	* kdc/kerberos5.c: Signing outgoing tickets.
892*f59d82ffSelric
893*f59d82ffSelric	* kdc/krb5tgs.c: Add signing and checking of tickets to s4u2self
894*f59d82ffSelric	works securely.
895*f59d82ffSelric
896*f59d82ffSelric	* lib/krb5/pkinit.c: Adapt to new signature of
897*f59d82ffSelric	hx509_cms_unenvelope.
898*f59d82ffSelric
899*f59d82ffSelric2006-09-09  Love Hörnquist Åstrand  <lha@it.su.se>
900*f59d82ffSelric
901*f59d82ffSelric	* lib/krb5/pkinit.c (pk_verify_host): set errorstrings in a
902*f59d82ffSelric	sensable way
903*f59d82ffSelric
904*f59d82ffSelric2006-09-08  Love Hörnquist Åstrand  <lha@it.su.se>
905*f59d82ffSelric
906*f59d82ffSelric	* lib/krb5/krb5_init_context.3: Prevent a font generation warning,
907*f59d82ffSelric	from Jason McIntyre.
908*f59d82ffSelric
909*f59d82ffSelric2006-09-06  Love Hörnquist Åstrand  <lha@it.su.se>
910*f59d82ffSelric
911*f59d82ffSelric	* lib/krb5/context.c (krb5_init_ets): Add the hx errortable
912*f59d82ffSelric
913*f59d82ffSelric	* lib/krb5/krb5_locl.h: Include hx509_err.h.
914*f59d82ffSelric
915*f59d82ffSelric	* lib/krb5/pkinit.c (_krb5_pk_verify_sign): catch the error string
916*f59d82ffSelric	from the hx509 lib
917*f59d82ffSelric
918*f59d82ffSelric2006-09-04  Love Hörnquist Åstrand  <lha@it.su.se>
919*f59d82ffSelric
920*f59d82ffSelric	* lib/krb5/init_creds.c (krb5_get_init_creds_opt_set_default_flags):
921*f59d82ffSelric	fix argument to krb5_get_init_creds_opt_set_addressless.
922*f59d82ffSelric
923*f59d82ffSelric	* lib/krb5/init_creds_pw.c (init_cred_loop): try to catch the
924*f59d82ffSelric	error when we actually have an error to catch.
925*f59d82ffSelric
926*f59d82ffSelric	* lib/krb5/init_creds_pw.c: Remove debug printfs.
927*f59d82ffSelric
928*f59d82ffSelric	* kuser/kinit.c: Remove debug printf
929*f59d82ffSelric
930*f59d82ffSelric	* lib/krb5/krb5_get_init_creds.3: Document
931*f59d82ffSelric	krb5_get_init_creds_opt_set_addressless.
932*f59d82ffSelric
933*f59d82ffSelric	* kuser/kinit.c: Use new function
934*f59d82ffSelric	krb5_get_init_creds_opt_set_addressless.
935*f59d82ffSelric
936*f59d82ffSelric	* lib/krb5/krb5_locl.h: use new addressless, convert pa-pac option
937*f59d82ffSelric	to use the same tri-state option as the new addressless option.
938*f59d82ffSelric
939*f59d82ffSelric	* lib/krb5/init_creds_pw.c: use new addressless, convert pa-pac
940*f59d82ffSelric	option to use the same tri-state option as the new addressless
941*f59d82ffSelric	option.
942*f59d82ffSelric
943*f59d82ffSelric	* lib/krb5/init_creds.c (krb5_get_init_creds_opt_set_addressless):
944*f59d82ffSelric	used to control the address-lessness of the initial tickets
945*f59d82ffSelric	instead of passing in the empty set of address into
946*f59d82ffSelric	krb5_get_init_creds_opt_set_addresses.
947*f59d82ffSelric
948*f59d82ffSelric2006-09-01  Love Hörnquist Åstrand  <lha@it.su.se>
949*f59d82ffSelric
950*f59d82ffSelric	* kuser/kinit.c (renew_validate): inherit the proxiable and
951*f59d82ffSelric	forwardable from the orignal ticket, pointed out by Bernard
952*f59d82ffSelric	Antoine of CERN.
953*f59d82ffSelric
954*f59d82ffSelric	* doc/setup.texi: More text about the acl_file entry and
955*f59d82ffSelric	hdb-ldap-structural-object.  From Rüdiger Ranft.
956*f59d82ffSelric
957*f59d82ffSelric	* lib/krb5/krbhst.c (fallback_get_hosts): limit the fallback
958*f59d82ffSelric	lookups to 5.  Patch from Wesley Craig, umich.edu
959*f59d82ffSelric
960*f59d82ffSelric	* configure.in: Add special tests for <sys/ucred.h>, include test
961*f59d82ffSelric	for sys/param.h and sys/types.h
962*f59d82ffSelric
963*f59d82ffSelric	* appl/test/tcp_server.c (proto): use keytab for krb5_recvauth
964*f59d82ffSelric	Patch from Ingemar Nilsson <init@pdc.kth.se>
965*f59d82ffSelric
966*f59d82ffSelric2006-08-28  Love Hörnquist Åstrand  <lha@it.su.se>
967*f59d82ffSelric
968*f59d82ffSelric	* kuser/kdigest.c (help): use sl_slc_help().
969*f59d82ffSelric
970*f59d82ffSelric	* kdc/digest.c: Catch more error, add SASL DIGEST MD5.
971*f59d82ffSelric
972*f59d82ffSelric	* lib/krb5/digest.c: Catch more error.
973*f59d82ffSelric
974*f59d82ffSelric2006-08-25  Love Hörnquist Åstrand  <lha@it.su.se>
975*f59d82ffSelric
976*f59d82ffSelric	* doc/setup.texi: language.
977*f59d82ffSelric
978*f59d82ffSelric	* doc/heimdal.texi: Add last updated text.
979*f59d82ffSelric
980*f59d82ffSelric	* doc/heimdal.css: make box around heimdal title
981*f59d82ffSelric
982*f59d82ffSelric	* doc/heimdal.css: Inital Heimdal css for the info manual
983*f59d82ffSelric
984*f59d82ffSelric	* lib/krb5/digest.c: In the case where we get a DigestError back,
985*f59d82ffSelric	save the error string and code.
986*f59d82ffSelric
987*f59d82ffSelric2006-08-24  Love Hörnquist Åstrand  <lha@it.su.se>
988*f59d82ffSelric
989*f59d82ffSelric	* kdc/kerberos5.c: Remove _kdc_find_etype(), its no longer used.
990*f59d82ffSelric
991*f59d82ffSelric	* kdc/digest.c: Remove local error label and have just one exit
992*f59d82ffSelric	label, set error strings properly.
993*f59d82ffSelric
994*f59d82ffSelric	* kdc/digest.c: Simply the disabled-service case.  Check the
995*f59d82ffSelric	allow-digest flag in the HDB entry for the client.
996*f59d82ffSelric
997*f59d82ffSelric	* kdc/process.c (krb5_kdc_process_generic_request): check if we
998*f59d82ffSelric	got a digest request and process it.
999*f59d82ffSelric
1000*f59d82ffSelric	* kdc/main.c: Register hdb keytab operations.
1001*f59d82ffSelric
1002*f59d82ffSelric	* kdc/kdc.8: document [kdc]enable-digest=boolean
1003*f59d82ffSelric
1004*f59d82ffSelric	* kdc/Makefile.am: add digest to libkdc
1005*f59d82ffSelric
1006*f59d82ffSelric	* kdc/digest.c: Make a return a goto to avoid freeing un-inited
1007*f59d82ffSelric	memory in cleanup code.
1008*f59d82ffSelric
1009*f59d82ffSelric	* kdc/default_config.c (krb5_kdc_default_config): default to all
1010*f59d82ffSelric	bits set to zero.
1011*f59d82ffSelric
1012*f59d82ffSelric	* kdc/kdc.h (krb5_kdc_configuration): Add enable_digest
1013*f59d82ffSelric
1014*f59d82ffSelric	* kdc/headers.h: Include <digest_asn1.h>.
1015*f59d82ffSelric
1016*f59d82ffSelric	* lib/krb5/context.c (krb5_kerberos_enctypes): new function,
1017*f59d82ffSelric	returns the list of Kerberos encryption types sorted in order of
1018*f59d82ffSelric	most preferred to least preferred encryption type.
1019*f59d82ffSelric
1020*f59d82ffSelric	* kdc/misc.c (_kdc_get_preferred_key): new function, Use the order
1021*f59d82ffSelric	list of preferred encryption types and sort the available keys and
1022*f59d82ffSelric	return the most preferred key.
1023*f59d82ffSelric
1024*f59d82ffSelric	* kdc/krb5tgs.c: Adapt to the new sigature of _kdc_find_keys().
1025*f59d82ffSelric
1026*f59d82ffSelric	* kdc/kerberos5.c: Handle session key etype separately from the
1027*f59d82ffSelric	tgt etype, now the krbtgt can be a aes-only key without the need
1028*f59d82ffSelric	to support not-as-good etypes for the krbtgt.
1029*f59d82ffSelric
1030*f59d82ffSelric2006-08-23  Love Hörnquist Åstrand  <lha@it.su.se>
1031*f59d82ffSelric
1032*f59d82ffSelric	* kdc/misc.c: Change _kdc_db_fetch() to return the database
1033*f59d82ffSelric	pointer to if needed by the consumer.
1034*f59d82ffSelric
1035*f59d82ffSelric	* kdc/krb5tgs.c: Change _kdc_db_fetch() to return the database
1036*f59d82ffSelric	pointer to if needed by the consumer.
1037*f59d82ffSelric
1038*f59d82ffSelric	* kdc/kerberos5.c: Change _kdc_db_fetch() to return the database
1039*f59d82ffSelric	pointer to if needed by the consumer.
1040*f59d82ffSelric
1041*f59d82ffSelric	* kdc/kerberos4.c: Change _kdc_db_fetch() to return the database
1042*f59d82ffSelric	pointer to if needed by the consumer.
1043*f59d82ffSelric
1044*f59d82ffSelric	* kdc/kaserver.c: Change _kdc_db_fetch() to return the database
1045*f59d82ffSelric	pointer to if needed by the consumer.
1046*f59d82ffSelric
1047*f59d82ffSelric	* kdc/524.c: Change _kdc_db_fetch() to return the database pointer
1048*f59d82ffSelric	to if needed by the consumer.
1049*f59d82ffSelric
1050*f59d82ffSelric	* kuser/kdigest-commands.in: Add --kerberos-realm, add client
1051*f59d82ffSelric	request command.
1052*f59d82ffSelric
1053*f59d82ffSelric	* lib/krb5/Makefile.am: digest.c
1054*f59d82ffSelric
1055*f59d82ffSelric	* lib/krb5/krb5.h: Add digest glue.
1056*f59d82ffSelric
1057*f59d82ffSelric	* lib/krb5/digest.c (krb5_digest_set_authentication_user): use
1058*f59d82ffSelric	krb5_principal
1059*f59d82ffSelric
1060*f59d82ffSelric	* lib/krb5/digest.c: Add digest support to the client side.
1061*f59d82ffSelric
1062*f59d82ffSelric2006-08-21  Love Hörnquist Åstrand  <lha@it.kth.se>
1063*f59d82ffSelric
1064*f59d82ffSelric	* lib/krb5/rd_rep.c (krb5_rd_rep): free krb5_ap_rep_enc_part on
1065*f59d82ffSelric	error and set return pointer to NULL
1066*f59d82ffSelric	(krb5_free_ap_rep_enc_part): permit freeing of NULL
1067*f59d82ffSelric
1068*f59d82ffSelric2006-08-18  Love Hörnquist Åstrand  <lha@it.kth.se>
1069*f59d82ffSelric
1070*f59d82ffSelric	* kdc/{Makefile.am,kdigest.c,kdigest-commands.in}:
1071*f59d82ffSelric	Frontend for remote digest service in KDC
1072*f59d82ffSelric
1073*f59d82ffSelric	* lib/krb5/krb5_storage.3: Document krb5_{ret,store}_stringnl
1074*f59d82ffSelric	functions.
1075*f59d82ffSelric
1076*f59d82ffSelric	* lib/krb5/store.c: Add krb5_{ret,store}_stringnl functions,
1077*f59d82ffSelric	stores/retrieves a \n terminated string.
1078*f59d82ffSelric
1079*f59d82ffSelric	* lib/krb5/krb5_locl.h: Default to address-less tickets.
1080*f59d82ffSelric
1081*f59d82ffSelric	* lib/krb5/init_creds.c (krb5_get_init_creds_opt_get_error): clear
1082*f59d82ffSelric	error string on error.
1083*f59d82ffSelric
1084*f59d82ffSelric2006-07-20  Love Hörnquist Åstrand  <lha@it.su.se>
1085*f59d82ffSelric
1086*f59d82ffSelric	* lib/krb5/crypto.c: remove aes-192 (CMS)
1087*f59d82ffSelric
1088*f59d82ffSelric	* lib/krb5/crypto.c: Remove more CMS bits.
1089*f59d82ffSelric
1090*f59d82ffSelric	* lib/krb5/crypto.c: Remove CMS symmetric encryption support.
1091*f59d82ffSelric
1092*f59d82ffSelric2006-07-13  Love Hörnquist Åstrand  <lha@it.su.se>
1093*f59d82ffSelric
1094*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_check_client): make it not crash when
1095*f59d82ffSelric	there are no acl
1096*f59d82ffSelric
1097*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_check_client): use the acl in the kerberos
1098*f59d82ffSelric	database
1099*f59d82ffSelric
1100*f59d82ffSelric	* lib/hdb/hdb.asn1: Rename HDB-Ext-PKINIT-certificate to
1101*f59d82ffSelric	HDB-Ext-PKINIT-hash.  Add trust anchor to HDB-Ext-PKINIT-acl.
1102*f59d82ffSelric
1103*f59d82ffSelric	* lib/hdb/Makefile.am: rename asn1_HDB_Ext_PKINIT_certificate to
1104*f59d82ffSelric	asn1_HDB_Ext_PKINIT_hash
1105*f59d82ffSelric
1106*f59d82ffSelric	* lib/hdb/ext.c: Add hdb_entry_get_pkinit_hash().
1107*f59d82ffSelric
1108*f59d82ffSelric2006-07-10  Love Hörnquist Åstrand  <lha@it.su.se>
1109*f59d82ffSelric
1110*f59d82ffSelric	* kuser/kinit.c: If --password-file gets STDIN, read the password
1111*f59d82ffSelric	from the standard input.
1112*f59d82ffSelric
1113*f59d82ffSelric	* kuser/kinit.1: Document --password-file=STDIN.
1114*f59d82ffSelric
1115*f59d82ffSelric	* lib/krb5/krb5_string_to_key.3: Remove duplicate to.
1116*f59d82ffSelric
1117*f59d82ffSelric2006-07-06  Love Hörnquist Åstrand  <lha@it.su.se>
1118*f59d82ffSelric
1119*f59d82ffSelric	* kdc/krb5tgs.c: (tgs_build_reply): when checking for removed
1120*f59d82ffSelric	principals, check the second component of the krbtgt, otherwise
1121*f59d82ffSelric	cross realm wont work.  Prompted by report from Mattias Amnefelt.
1122*f59d82ffSelric
1123*f59d82ffSelric2006-07-05  Love Hörnquist Åstrand  <lha@it.su.se>
1124*f59d82ffSelric
1125*f59d82ffSelric	* kdc/connect.c (handle_vanilla_tcp): use unsigned integer for for
1126*f59d82ffSelric	length
1127*f59d82ffSelric	(handle_tcp): if the high bit it set in the unknown case, send
1128*f59d82ffSelric	back a KRB_ERR_FIELD_TOOLONG
1129*f59d82ffSelric
1130*f59d82ffSelric2006-07-03  Love Hörnquist Åstrand  <lha@it.su.se>
1131*f59d82ffSelric
1132*f59d82ffSelric	* appl/gssmask/gssmaestro.c: Add get_version_capa, cache
1133*f59d82ffSelric	target_name.
1134*f59d82ffSelric
1135*f59d82ffSelric	* appl/gssmask/gssmask.c: use utname() to find the local hostname
1136*f59d82ffSelric	and version of operatingsystem
1137*f59d82ffSelric
1138*f59d82ffSelric	* appl/gssmask/common.h: include <sys/utsname.h>
1139*f59d82ffSelric
1140*f59d82ffSelric	* appl/gssmask/gssmask.c: break out creation of a client and make
1141*f59d82ffSelric	handleServer pthread_create compatible
1142*f59d82ffSelric
1143*f59d82ffSelric	* appl/gssmask/gssmaestro.c: break out out the build context
1144*f59d82ffSelric	function
1145*f59d82ffSelric
1146*f59d82ffSelric2006-07-01  Love Hörnquist Åstrand  <lha@it.su.se>
1147*f59d82ffSelric
1148*f59d82ffSelric	* appl/gssmask/gssmaestro.c: externalize slave handling, add
1149*f59d82ffSelric	GetTargetName glue
1150*f59d82ffSelric
1151*f59d82ffSelric	* appl/gssmask/gssmaestro.c: externalize principal/password handling
1152*f59d82ffSelric
1153*f59d82ffSelric	* lib/krb5/principal.c (krb5_parse_name): set *principal to NULL
1154*f59d82ffSelric	the first thing we do, so that on failure its set to a known value
1155*f59d82ffSelric
1156*f59d82ffSelric	* appl/gssmask/gssmask.c: AcquireCreds: set principal to NULL to
1157*f59d82ffSelric	avoid memory corruption GetTargetName: always send a string, even
1158*f59d82ffSelric	though we don't have a targetname
1159*f59d82ffSelric
1160*f59d82ffSelric	* appl/gssmask: break out common function; add gssmaestro (that
1161*f59d82ffSelric	only tests one context for now)
1162*f59d82ffSelric
1163*f59d82ffSelric2006-06-30  Love Hörnquist Åstrand  <lha@it.su.se>
1164*f59d82ffSelric
1165*f59d82ffSelric	* lib/krb5/store_fd.c (krb5_storage_from_fd): don't leak fd on
1166*f59d82ffSelric	malloc failure
1167*f59d82ffSelric
1168*f59d82ffSelric	* appl/gssmask/gssmask.c: split out fetching of credentials for
1169*f59d82ffSelric	easier reuse for pk-init testing
1170*f59d82ffSelric
1171*f59d82ffSelric	* appl/gssmask: maggot replacement, handles context testing
1172*f59d82ffSelric
1173*f59d82ffSelric	* lib/krb5/cache.c (krb5_cc_new_unique): use KRB5_DEFAULT_CCNAME
1174*f59d82ffSelric	as the default prefix
1175*f59d82ffSelric
1176*f59d82ffSelric2006-06-28  Love Hörnquist Åstrand  <lha@it.su.se>
1177*f59d82ffSelric
1178*f59d82ffSelric	* doc/heimdal.texi: Add Doug Rabson's license
1179*f59d82ffSelric
1180*f59d82ffSelric2006-06-22  Love Hörnquist Åstrand  <lha@it.su.se>
1181*f59d82ffSelric
1182*f59d82ffSelric	* lib/krb5/init_creds.c: Add storing and getting KRB-ERROR in the
1183*f59d82ffSelric	krb5_get_init_creds_opt structure.
1184*f59d82ffSelric
1185*f59d82ffSelric	* lib/krb5/init_creds_pw.c: Save KRB-ERROR on error.
1186*f59d82ffSelric
1187*f59d82ffSelric	* lib/krb5/krb5_locl.h (_krb5_get_init_creds_opt_private): add
1188*f59d82ffSelric	KRB-ERROR
1189*f59d82ffSelric
1190*f59d82ffSelric2006-06-21  Love Hörnquist Åstrand  <lha@it.su.se>
1191*f59d82ffSelric
1192*f59d82ffSelric	* doc/setup.texi: section about verify_krb5_conf and kadmin check
1193*f59d82ffSelric
1194*f59d82ffSelric2006-06-15  Love Hörnquist Åstrand  <lha@it.su.se>
1195*f59d82ffSelric
1196*f59d82ffSelric	* lib/krb5/init_creds_pw.c (get_init_creds_common): drop cred
1197*f59d82ffSelric	argument, its unused
1198*f59d82ffSelric
1199*f59d82ffSelric	* lib/krb5/Makefile.am: install krb5_get_creds.3
1200*f59d82ffSelric
1201*f59d82ffSelric	* lib/krb5/krb5_get_creds.3: new file
1202*f59d82ffSelric
1203*f59d82ffSelric2006-06-14  Love Hörnquist Åstrand  <lha@it.su.se>
1204*f59d82ffSelric
1205*f59d82ffSelric	* lib/hdb/hdb-ldap.c: don't use the sambaNTPassword if there is
1206*f59d82ffSelric	ARCFOUR key already.  Idea from Andreas Hasenack.  While here, set
1207*f59d82ffSelric	pw change time using sambaPwdLastSet
1208*f59d82ffSelric
1209*f59d82ffSelric	* kdc/kerberos4.c: Use enable_v4_per_principal and check the new
1210*f59d82ffSelric	hdb flag.
1211*f59d82ffSelric
1212*f59d82ffSelric	* kdc/kdc.h: Add enable_v4_per_principal
1213*f59d82ffSelric
1214*f59d82ffSelric2006-06-12  Love Hörnquist Åstrand  <lha@it.su.se>
1215*f59d82ffSelric
1216*f59d82ffSelric	* kdc/kerberos5.c (_kdc_as_rep): if kdc_time +
1217*f59d82ffSelric	config->kdc_warn_pwexpire is past pw_end, add expiration
1218*f59d82ffSelric	message. From Bernard Antoine.
1219*f59d82ffSelric
1220*f59d82ffSelric	* kdc/default_config.c (krb5_kdc_default_config): set
1221*f59d82ffSelric	kdc_warn_pwexpire to 0
1222*f59d82ffSelric
1223*f59d82ffSelric	* kdc/kerberos5.c: indent.
1224*f59d82ffSelric
1225*f59d82ffSelric2006-06-07  Love Hörnquist Åstrand  <lha@it.su.se>
1226*f59d82ffSelric
1227*f59d82ffSelric	* kdc/kerberos5.c: constify
1228*f59d82ffSelric
1229*f59d82ffSelric2006-06-06  Love Hörnquist Åstrand  <lha@it.su.se>
1230*f59d82ffSelric
1231*f59d82ffSelric	* lib/krb5/get_cred.c: Allow setting additional tickets in the
1232*f59d82ffSelric	tgs-req
1233*f59d82ffSelric
1234*f59d82ffSelric	* kuser/kgetcred.c: add --delegation-credential-cache
1235*f59d82ffSelric
1236*f59d82ffSelric	* kdc/krb5tgs.c (tgs_build_reply): add constrained delegation.
1237*f59d82ffSelric
1238*f59d82ffSelric	* kdc/krb5tgs.c: Add impersonation.
1239*f59d82ffSelric
1240*f59d82ffSelric	* kuser/kgetcred.c: use new krb5_get_creds interface, add
1241*f59d82ffSelric	impersonation.
1242*f59d82ffSelric
1243*f59d82ffSelric	* lib/krb5/get_cred.c (krb5_get_creds): add
1244*f59d82ffSelric	KRB5_GC_NO_TRANSIT_CHECK
1245*f59d82ffSelric
1246*f59d82ffSelric	* lib/krb5/misc.c: Add impersonate support functions.
1247*f59d82ffSelric
1248*f59d82ffSelric	* lib/krb5/get_cred.c: Add impersonate and new krb5_get_creds interface.
1249*f59d82ffSelric
1250*f59d82ffSelric	* lib/hdb/hdb.asn1 (HDBFlags): add trusted-for-delegation
1251*f59d82ffSelric
1252*f59d82ffSelric	* lib/krb5/krb5.h: Add krb5_get_creds_opt_data and some more
1253*f59d82ffSelric	KRB5_GC flags.
1254*f59d82ffSelric
1255*f59d82ffSelric2006-06-01  Love Hörnquist Åstrand  <lha@it.su.se>
1256*f59d82ffSelric
1257*f59d82ffSelric	* lib/hdb/ext.c (hdb_entry_get_ConstrainedDelegACL): new function.
1258*f59d82ffSelric
1259*f59d82ffSelric	* lib/krb5/pkinit.c: Avoid more shadowing.
1260*f59d82ffSelric
1261*f59d82ffSelric	* kdc/connect.c (do_request): clean reply with krb5_data_zero
1262*f59d82ffSelric
1263*f59d82ffSelric	* kdc/krb5tgs.c: Split up the reverse cross krbtgt check and local
1264*f59d82ffSelric	clien must exists test.
1265*f59d82ffSelric
1266*f59d82ffSelric	* kdc/krb5tgs.c: Plug old memory leaks, unify all goto's.
1267*f59d82ffSelric
1268*f59d82ffSelric	* kdc/krb5tgs.c: Split tgs_rep2 into tgs_parse_request and
1269*f59d82ffSelric	tgs_build_reply.
1270*f59d82ffSelric
1271*f59d82ffSelric	* kdc/kerberos5.c: split out krb5 tgs req to make it easier to
1272*f59d82ffSelric 	reorganize the code.
1273*f59d82ffSelric
1274*f59d82ffSelric2006-05-29  Love Hörnquist Åstrand  <lha@it.su.se>
1275*f59d82ffSelric
1276*f59d82ffSelric	* lib/krb5/krb5_get_init_creds.3: spelling Björn Sandell
1277*f59d82ffSelric
1278*f59d82ffSelric	* lib/krb5/krb5_get_in_cred.3: spelling Björn Sandell
1279*f59d82ffSelric
1280*f59d82ffSelric2006-05-13  Love Hörnquist Åstrand  <lha@it.su.se>
1281*f59d82ffSelric
1282*f59d82ffSelric	* kpasswd/kpasswdd.c (change): select the realm based on the
1283*f59d82ffSelric	target principal From Gabor Gombas
1284*f59d82ffSelric
1285*f59d82ffSelric	* lib/krb5/krb5_get_init_creds.3: Add KRB5_PROMPT_TYPE_INFO
1286*f59d82ffSelric
1287*f59d82ffSelric	* lib/krb5/krb5.h: Add KRB5_PROMPT_TYPE_INFO
1288*f59d82ffSelric
1289*f59d82ffSelric2006-05-12  Love Hörnquist Åstrand  <lha@it.su.se>
1290*f59d82ffSelric
1291*f59d82ffSelric	* lib/krb5/pkinit.c: Hidden field of hx509 prompter is removed.
1292*f59d82ffSelric	Fix a warning.
1293*f59d82ffSelric
1294*f59d82ffSelric	* doc/setup.texi: Point to more examples, hint that you have to
1295*f59d82ffSelric	use openssl 0.9.8a or later.
1296*f59d82ffSelric
1297*f59d82ffSelric	* doc/setup.texi: DIR now handles both PEM and DER.
1298*f59d82ffSelric
1299*f59d82ffSelric	* kuser/kinit.c: Pass down prompter and password to
1300*f59d82ffSelric	krb5_get_init_creds_opt_set_pkinit.
1301*f59d82ffSelric
1302*f59d82ffSelric	* lib/krb5/pkinit.c (_krb5_pk_load_id): only use password if its
1303*f59d82ffSelric	longer then 0
1304*f59d82ffSelric
1305*f59d82ffSelric	* doc/ack.texi: Add Jason McIntyre.
1306*f59d82ffSelric
1307*f59d82ffSelric	* lib/krb5/krb5_acl_match_file.3: Various tweaks, from Jason
1308*f59d82ffSelric	McIntyre.
1309*f59d82ffSelric
1310*f59d82ffSelric2006-05-11  Love Hörnquist Åstrand  <lha@it.su.se>
1311*f59d82ffSelric
1312*f59d82ffSelric	* kuser/kinit.c: Move parsing of the PK-INIT configuration file to
1313*f59d82ffSelric	the library so application doesn't need to deal with it.
1314*f59d82ffSelric
1315*f59d82ffSelric	* lib/krb5/pkinit.c (krb5_get_init_creds_opt_set_pkinit): move
1316*f59d82ffSelric	parsing of the configuration file to the library so application
1317*f59d82ffSelric	doesn't need to deal with it.
1318*f59d82ffSelric
1319*f59d82ffSelric	* lib/krb5/pkinit.c (_krb5_pk_load_id): pass the hx509_lock to
1320*f59d82ffSelric	when trying to read the user certificate.
1321*f59d82ffSelric
1322*f59d82ffSelric	* lib/krb5/pkinit.c (hx_pass_prompter): return 0 on success and 1
1323*f59d82ffSelric	on failure. Pointed out by Douglas E. Engert.
1324*f59d82ffSelric
1325*f59d82ffSelric2006-05-08  Love Hörnquist Åstrand  <lha@it.su.se>
1326*f59d82ffSelric
1327*f59d82ffSelric	* lib/krb5/crypto.c: Catches both keyed checkout w/o crypto
1328*f59d82ffSelric	context cases and doesn't reset the string, and corrects the
1329*f59d82ffSelric	grammar.
1330*f59d82ffSelric
1331*f59d82ffSelric	* lib/krb5/crypto.c: Drop aes-cbc, rc2 and CMS padding support,
1332*f59d82ffSelric	its all containted in libhcrypto and libhx509 now.
1333*f59d82ffSelric
1334*f59d82ffSelric2006-05-07  Love Hörnquist Åstrand  <lha@it.su.se>
1335*f59d82ffSelric
1336*f59d82ffSelric	* lib/krb5/pkinit.c (_krb5_pk_verify_sign): Use
1337*f59d82ffSelric	hx509_get_one_cert.
1338*f59d82ffSelric
1339*f59d82ffSelric	* lib/krb5/crypto.c (create_checksum): provide a error message
1340*f59d82ffSelric	that a key checksum needs a key.  From Andew Bartlett.
1341*f59d82ffSelric
1342*f59d82ffSelric2006-05-06  Love Hörnquist Åstrand  <lha@it.su.se>
1343*f59d82ffSelric
1344*f59d82ffSelric	* lib/krb5/pkinit.c: Now that hcrypto supports DH, remove check
1345*f59d82ffSelric	for hx509 null DH.
1346*f59d82ffSelric
1347*f59d82ffSelric	* kdc/pkinit.c: Don't call DH_check_pubkey, it doesn't exists in
1348*f59d82ffSelric	older OpenSSL.
1349*f59d82ffSelric
1350*f59d82ffSelric	* doc/heimdal.texi: Add blob about imath.
1351*f59d82ffSelric
1352*f59d82ffSelric	* doc/ack.texi: Add blob about imath.
1353*f59d82ffSelric
1354*f59d82ffSelric	* include/make_crypto.c: Move up evp.h to please OpenSSL, from
1355*f59d82ffSelric	Douglas E. Engert.
1356*f59d82ffSelric
1357*f59d82ffSelric	* kcm/acl.c: Multicache kcm interation isn't done yet, let wait
1358*f59d82ffSelric	with this enum.
1359*f59d82ffSelric
1360*f59d82ffSelric2006-05-05  Love Hörnquist Åstrand  <lha@it.su.se>
1361*f59d82ffSelric
1362*f59d82ffSelric	* lib/krb5/krb5_set_default_realm.3: Spelling/mdoc from Björn
1363*f59d82ffSelric	Sandell
1364*f59d82ffSelric
1365*f59d82ffSelric	* lib/krb5/krb5_rcache.3: Spelling/mdoc from Björn Sandell
1366*f59d82ffSelric
1367*f59d82ffSelric	* lib/krb5/krb5_keytab.3: Spelling/mdoc from Björn Sandell
1368*f59d82ffSelric
1369*f59d82ffSelric	* lib/krb5/krb5_get_in_cred.3: Spelling/mdoc from Björn Sandell
1370*f59d82ffSelric
1371*f59d82ffSelric	* lib/krb5/krb5_expand_hostname.3: Spelling/mdoc from Björn
1372*f59d82ffSelric	Sandell
1373*f59d82ffSelric
1374*f59d82ffSelric	* lib/krb5/krb5_c_make_checksum.3: Spelling/mdoc from Björn
1375*f59d82ffSelric	Sandell
1376*f59d82ffSelric
1377*f59d82ffSelric	* lib/krb5/keytab_file.c (fkt_next_entry_int): read the 32 bit
1378*f59d82ffSelric	kvno if the reset of the data is longer then 4 bytes in hope to be
1379*f59d82ffSelric	forward compatible. Pointed out by Michael B Allen.
1380*f59d82ffSelric
1381*f59d82ffSelric	* doc/programming.texi: Add fileformats.
1382*f59d82ffSelric
1383*f59d82ffSelric	* appl/test: Rename u_intXX_t to uintXX_t
1384*f59d82ffSelric
1385*f59d82ffSelric	* kuser: Rename u_intXX_t to uintXX_t
1386*f59d82ffSelric
1387*f59d82ffSelric	* kdc: Rename u_intXX_t to uintXX_t
1388*f59d82ffSelric
1389*f59d82ffSelric	* lib/hdb: Rename u_intXX_t to uintXX_t
1390*f59d82ffSelric
1391*f59d82ffSelric	* lib/45]: Rename u_intXX_t to uintXX_t
1392*f59d82ffSelric
1393*f59d82ffSelric	* lib/krb5: Rename u_intXX_t to uintXX_t
1394*f59d82ffSelric
1395*f59d82ffSelric	* lib/krb5/Makefile.am: Add test_store to TESTS
1396*f59d82ffSelric
1397*f59d82ffSelric	* lib/krb5/pkinit.c: Catch using hx509 null DH and print a more
1398*f59d82ffSelric	useful error message.
1399*f59d82ffSelric
1400*f59d82ffSelric	* lib/krb5/store.c: Rewrite the krb5_ret_u as proposed by Johan.
1401*f59d82ffSelric
1402*f59d82ffSelric2006-05-04  Love Hörnquist Åstrand  <lha@it.su.se>
1403*f59d82ffSelric
1404*f59d82ffSelric	* kdc/kerberos4.c: Use the new unsigned integer storage types.
1405*f59d82ffSelric
1406*f59d82ffSelric	* kdc/kaserver.c: Use the new unsigned integer storage
1407*f59d82ffSelric	types. Sprinkle some error handling.
1408*f59d82ffSelric
1409*f59d82ffSelric	* lib/krb5/krb5_storage.3: Document ret and store function for the
1410*f59d82ffSelric	unsigned fixed size integer types.
1411*f59d82ffSelric
1412*f59d82ffSelric	* lib/krb5/v4_glue.c: Use the new unsigned integer storage
1413*f59d82ffSelric	types. Fail that the address doesn't match, not the reverse.
1414*f59d82ffSelric
1415*f59d82ffSelric	* lib/krb5/store.c: Add ret and store function for the unsigned
1416*f59d82ffSelric	fixed size integer types.
1417*f59d82ffSelric
1418*f59d82ffSelric	* lib/krb5/test_store.c: Test the integer storage types.
1419*f59d82ffSelric
1420*f59d82ffSelric2006-05-03  Love Hörnquist Åstrand  <lha@it.su.se>
1421*f59d82ffSelric
1422*f59d82ffSelric	* lib/krb5/store.c (krb5_store_principal): make it take a
1423*f59d82ffSelric	krb5_const_principal, indent
1424*f59d82ffSelric
1425*f59d82ffSelric	* lib/krb5/krb5_storage.3: krb5_store_principal takes a
1426*f59d82ffSelric	krb5_const_principal
1427*f59d82ffSelric
1428*f59d82ffSelric	* lib/krb5/pkinit.c: Deal with that hx509_prompt.reply is no
1429*f59d82ffSelric	longer a pointer.
1430*f59d82ffSelric
1431*f59d82ffSelric	* kdc/kdc.h (krb5_kdc_configuration): add pkinit_kdc_ocsp_file
1432*f59d82ffSelric
1433*f59d82ffSelric	* kdc/config.c: read [kdc]pki-kdc-ocsp
1434*f59d82ffSelric
1435*f59d82ffSelric2006-05-02  Love Hörnquist Åstrand  <lha@it.su.se>
1436*f59d82ffSelric
1437*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_mk_pa_reply): send back ocsp response if
1438*f59d82ffSelric	it seems to be valid, simplfy the pkinit-windows DH case (it
1439*f59d82ffSelric	doesn't exists).
1440*f59d82ffSelric
1441*f59d82ffSelric2006-05-01  Love Hörnquist Åstrand  <lha@it.su.se>
1442*f59d82ffSelric
1443*f59d82ffSelric	* lib/krb5/krb5_warn.3: Spelling/mdoc changes, from Björn Sandell.
1444*f59d82ffSelric
1445*f59d82ffSelric	* lib/krb5/krb5_verify_user.3: Spelling/mdoc changes, from Björn
1446*f59d82ffSelric	Sandell.
1447*f59d82ffSelric
1448*f59d82ffSelric	* lib/krb5/krb5_verify_init_creds.3: Spelling/mdoc changes, from
1449*f59d82ffSelric	Björn Sandell.
1450*f59d82ffSelric
1451*f59d82ffSelric	* lib/krb5/krb5_timeofday.3: Spelling/mdoc changes, from Björn
1452*f59d82ffSelric	Sandell.
1453*f59d82ffSelric
1454*f59d82ffSelric	* lib/krb5/krb5_ticket.3: Spelling/mdoc changes, from Björn
1455*f59d82ffSelric	Sandell.
1456*f59d82ffSelric
1457*f59d82ffSelric	* lib/krb5/krb5_rd_safe.3: Spelling/mdoc changes, from Björn
1458*f59d82ffSelric	Sandell.
1459*f59d82ffSelric
1460*f59d82ffSelric	* lib/krb5/krb5_rcache.3: Spelling/mdoc changes, from Björn
1461*f59d82ffSelric	Sandell.
1462*f59d82ffSelric
1463*f59d82ffSelric	* lib/krb5/krb5_principal.3: Spelling/mdoc changes, from Björn
1464*f59d82ffSelric	Sandell.
1465*f59d82ffSelric
1466*f59d82ffSelric	* lib/krb5/krb5_parse_name.3: Spelling/mdoc changes, from Björn
1467*f59d82ffSelric	Sandell.
1468*f59d82ffSelric
1469*f59d82ffSelric	* lib/krb5/krb5_mk_safe.3: Spelling/mdoc changes, from Björn
1470*f59d82ffSelric	Sandell.
1471*f59d82ffSelric
1472*f59d82ffSelric	* lib/krb5/krb5_keyblock.3: Spelling/mdoc changes, from Björn
1473*f59d82ffSelric	Sandell.
1474*f59d82ffSelric
1475*f59d82ffSelric	* lib/krb5/krb5_is_thread_safe.3: Spelling/mdoc changes, from
1476*f59d82ffSelric	Björn Sandell.
1477*f59d82ffSelric
1478*f59d82ffSelric	* lib/krb5/krb5_generate_random_block.3: Spelling/mdoc changes,
1479*f59d82ffSelric	from Björn Sandell.
1480*f59d82ffSelric
1481*f59d82ffSelric	* lib/krb5/krb5_generate_random_block.3: Spelling/mdoc changes,
1482*f59d82ffSelric	from Björn Sandell.
1483*f59d82ffSelric
1484*f59d82ffSelric	* lib/krb5/krb5_expand_hostname.3: Spelling/mdoc changes, from
1485*f59d82ffSelric	Björn Sandell.
1486*f59d82ffSelric
1487*f59d82ffSelric	* lib/krb5/krb5_check_transited.3: Spelling/mdoc changes, from
1488*f59d82ffSelric	Björn Sandell.
1489*f59d82ffSelric
1490*f59d82ffSelric	* lib/krb5/krb5_c_make_checksum.3: Spelling/mdoc changes, from
1491*f59d82ffSelric	Björn Sandell.
1492*f59d82ffSelric
1493*f59d82ffSelric	* lib/krb5/krb5_address.3: Spelling/mdoc changes, from
1494*f59d82ffSelric	Björn Sandell.
1495*f59d82ffSelric
1496*f59d82ffSelric	* lib/krb5/krb5_acl_match_file.3: Spelling/mdoc changes, from
1497*f59d82ffSelric	Björn Sandell.
1498*f59d82ffSelric
1499*f59d82ffSelric	* lib/krb5/krb5.3: Spelling, from Björn Sandell.
1500*f59d82ffSelric
1501*f59d82ffSelric	* doc/ack.texi: add Björn
1502*f59d82ffSelric
1503*f59d82ffSelric2006-04-30  Love Hörnquist Åstrand  <lha@it.su.se>
1504*f59d82ffSelric
1505*f59d82ffSelric	* lib/krb5/pkinit.c (cert2epi): don't include subject if its null
1506*f59d82ffSelric
1507*f59d82ffSelric2006-04-29  Love Hörnquist Åstrand  <lha@it.su.se>
1508*f59d82ffSelric
1509*f59d82ffSelric	* lib/krb5/pkinit.c: Send over what trust anchors the client have
1510*f59d82ffSelric	configured.
1511*f59d82ffSelric
1512*f59d82ffSelric	* lib/krb5/pkinit.c (pk_verify_host): set better error string,
1513*f59d82ffSelric	only check kdc name/address when we got a hostname/address passed
1514*f59d82ffSelric	in the the function.
1515*f59d82ffSelric
1516*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_check_client): reorganize and make log
1517*f59d82ffSelric	when a SAN matches.
1518*f59d82ffSelric
1519*f59d82ffSelric2006-04-28  Love Hörnquist Åstrand  <lha@it.su.se>
1520*f59d82ffSelric
1521*f59d82ffSelric	* doc/setup.texi: More options and some text about windows
1522*f59d82ffSelric	clients, certificate and KDCs.
1523*f59d82ffSelric
1524*f59d82ffSelric	* doc/setup.texi: notice about pki-mappings file space sensitive
1525*f59d82ffSelric
1526*f59d82ffSelric	* doc/setup.texi: Example pki-mapping file.
1527*f59d82ffSelric
1528*f59d82ffSelric	* lib/krb5/pkinit.c (pk_verify_host): verify hostname/address
1529*f59d82ffSelric
1530*f59d82ffSelric	* lib/hdb/hdb.h: Bump hdb interface version to 4.
1531*f59d82ffSelric
1532*f59d82ffSelric2006-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
1533*f59d82ffSelric
1534*f59d82ffSelric	* kuser/kdestroy.1: Document --credential=principal.
1535*f59d82ffSelric
1536*f59d82ffSelric	* kdc/kerberos5.c (tgs_rep2): check that the client exists in the
1537*f59d82ffSelric	kerberos database if its local request.
1538*f59d82ffSelric
1539*f59d82ffSelric	* kdc/{misc.c,524.c,kaserver.c,kerberos5.c}: pass down HDB_F_GET_
1540*f59d82ffSelric	flags as appropriate
1541*f59d82ffSelric
1542*f59d82ffSelric	* kdc/kerberos4.c (_kdc_db_fetch4): pass down flags though
1543*f59d82ffSelric	krb5_425_conv_principal_ext2
1544*f59d82ffSelric
1545*f59d82ffSelric	* kdc/misc.c (_kdc_db_fetch): Break out the that we request from
1546*f59d82ffSelric	principal from the entry and pass it in as a seprate argument.
1547*f59d82ffSelric
1548*f59d82ffSelric	* lib/hdb/keytab.c (hdb_get_entry): Break out the that we request
1549*f59d82ffSelric	from principal from the entry and pass it in as a seprate
1550*f59d82ffSelric	argument.
1551*f59d82ffSelric
1552*f59d82ffSelric	* lib/hdb/common.c: Break out the that we request from principal
1553*f59d82ffSelric	from the entry and pass it in as a seprate argument.
1554*f59d82ffSelric
1555*f59d82ffSelric	* lib/hdb/hdb.h: Break out the that we request from principal from
1556*f59d82ffSelric	the entry and pass it in as a seprate argument. Add more flags to
1557*f59d82ffSelric	->hdb_get(). Re-indent.
1558*f59d82ffSelric
1559*f59d82ffSelric2006-04-26  Love Hörnquist Åstrand  <lha@it.su.se>
1560*f59d82ffSelric
1561*f59d82ffSelric	* doc/setup.texi: document pki-allow-proxy-certificate
1562*f59d82ffSelric
1563*f59d82ffSelric	* kdc/pkinit.c: Add option [kdc]pki-allow-proxy-certificate=bool
1564*f59d82ffSelric	to allow using proxy certificate.
1565*f59d82ffSelric
1566*f59d82ffSelric	* lib/krb5/pkinit.c (_krb5_pk_allow_proxy_certificates): expose
1567*f59d82ffSelric	hx509_verify_set_proxy_certificate
1568*f59d82ffSelric
1569*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_check_client): Use
1570*f59d82ffSelric	hx509_cert_get_base_subject to get subject name of the
1571*f59d82ffSelric	certificate, needed for proxy certificates.
1572*f59d82ffSelric
1573*f59d82ffSelric	* kdc/kerberos5.c: Now that find_keys speaks for it self, remove
1574*f59d82ffSelric	extra logging.
1575*f59d82ffSelric
1576*f59d82ffSelric	* kdc/kerberos5.c (find_keys): add client_name and server_name
1577*f59d82ffSelric	argument and use them, and adapt callers.
1578*f59d82ffSelric
1579*f59d82ffSelric2006-04-25  Love Hörnquist Åstrand  <lha@it.su.se>
1580*f59d82ffSelric
1581*f59d82ffSelric	* kuser/kinit.1: document option password-file
1582*f59d82ffSelric
1583*f59d82ffSelric	* kuser/kinit.c: Add option password-file, read password from the
1584*f59d82ffSelric	first line of a file.
1585*f59d82ffSelric
1586*f59d82ffSelric	* configure.in: make tests/kdc/Makefile
1587*f59d82ffSelric
1588*f59d82ffSelric	* kdc/kerberos5.c: Catch the case where the client sends no
1589*f59d82ffSelric	encryption types or no pa-types.
1590*f59d82ffSelric
1591*f59d82ffSelric	* lib/hdb/ext.c (hdb_replace_extension): set error message on
1592*f59d82ffSelric	failure, not success.
1593*f59d82ffSelric
1594*f59d82ffSelric	* lib/hdb/keys.c (parse_key_set): handle error case better
1595*f59d82ffSelric	(hdb_generate_key_set): return better error
1596*f59d82ffSelric
1597*f59d82ffSelric2006-04-24  Love Hörnquist Åstrand  <lha@it.su.se>
1598*f59d82ffSelric
1599*f59d82ffSelric	* lib/hdb/hdb.c (hdb_create): print out what we don't support
1600*f59d82ffSelric
1601*f59d82ffSelric	* lib/krb5/principal.c: Remove a double free introduced in 1.93
1602*f59d82ffSelric
1603*f59d82ffSelric	* lib/krb5/log.c (log_file): reset pointer to freed memory
1604*f59d82ffSelric
1605*f59d82ffSelric	* lib/krb5/keytab_keyfile.c (get_cell_and_realm): reset d->cell to
1606*f59d82ffSelric	make sure its not refereced
1607*f59d82ffSelric
1608*f59d82ffSelric	* tools/krb5-config.in: libhcrypto might depend on libasn1, switch
1609*f59d82ffSelric	order
1610*f59d82ffSelric
1611*f59d82ffSelric	* lib/krb5/recvauth.c: indent
1612*f59d82ffSelric
1613*f59d82ffSelric	* doc/heimdal.texi: Add Setting up PK-INIT to Detailed Node
1614*f59d82ffSelric	Listing.
1615*f59d82ffSelric
1616*f59d82ffSelric	* lib/krb5/pkinit.c: Pass down realm to pk_verify_host so the
1617*f59d82ffSelric	function can verify the certificate is from the right realm.
1618*f59d82ffSelric
1619*f59d82ffSelric	* lib/krb5/init_creds_pw.c: Pass down realm to
1620*f59d82ffSelric	_krb5_pk_rd_pa_reply
1621*f59d82ffSelric
1622*f59d82ffSelric2006-04-23  Love Hörnquist Åstrand  <lha@it.su.se>
1623*f59d82ffSelric
1624*f59d82ffSelric	* lib/krb5/pkinit.c (pk_verify_host): Add begining of finding
1625*f59d82ffSelric	subjectAltName_otherName pk-init-san and verifing it.
1626*f59d82ffSelric
1627*f59d82ffSelric	* lib/krb5/sendauth.c: reindent
1628*f59d82ffSelric
1629*f59d82ffSelric	* doc/Makefile.am: use --no-split to make one large file, mostly
1630*f59d82ffSelric	for html
1631*f59d82ffSelric
1632*f59d82ffSelric	* doc/setup.texi: "document" pkinit_require_eku and
1633*f59d82ffSelric	pkinit_require_krbtgt_otherName
1634*f59d82ffSelric
1635*f59d82ffSelric	* lib/krb5/pkinit.c: Add pkinit_require_eku and
1636*f59d82ffSelric	pkinit_require_krbtgt_otherName
1637*f59d82ffSelric
1638*f59d82ffSelric	* doc/setup.texi: Add text about pk-init
1639*f59d82ffSelric
1640*f59d82ffSelric	* tools/kdc-log-analyze.pl: count v5 cross realms too
1641*f59d82ffSelric
1642*f59d82ffSelric2006-04-22  Love Hörnquist Åstrand  <lha@it.su.se>
1643*f59d82ffSelric
1644*f59d82ffSelric	* kdc/pkinit.c: Adapt to change in hx509_cms_create_signed_1.
1645*f59d82ffSelric
1646*f59d82ffSelric	* lib/krb5/pkinit.c: Adapt to change in hx509_cms_create_signed_1.
1647*f59d82ffSelric
1648*f59d82ffSelric2006-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
1649*f59d82ffSelric
1650*f59d82ffSelric	* kdc/pkinit.c (_kdc_pk_rd_padata): use
1651*f59d82ffSelric	hx509_cms_unwrap_ContentInfo.
1652*f59d82ffSelric
1653*f59d82ffSelric	* kdc/config.c: unbreak
1654*f59d82ffSelric
1655*f59d82ffSelric	* lib/krb5/pkinit.c: Handle diffrences between libhcrypto and
1656*f59d82ffSelric	libcrypto.
1657*f59d82ffSelric
1658*f59d82ffSelric	* kdc/config.c: Rename pki-chain to pki-pool to match rest of
1659*f59d82ffSelric	code.
1660*f59d82ffSelric
1661*f59d82ffSelric2006-04-12  Love Hörnquist Åstrand  <lha@it.su.se>
1662*f59d82ffSelric
1663*f59d82ffSelric	* lib/krb5/rd_priv.c: Fix argument to krb5_data_zero.
1664*f59d82ffSelric
1665*f59d82ffSelric	* kdc/config.c: Added certificate revoke information from
1666*f59d82ffSelric	configuration file.
1667*f59d82ffSelric
1668*f59d82ffSelric	* kdc/pkinit.c: Added certificate revoke information.
1669*f59d82ffSelric
1670*f59d82ffSelric	* kuser/kinit.c: Added certificate revoke information from
1671*f59d82ffSelric	configuration file.
1672*f59d82ffSelric
1673*f59d82ffSelric	* lib/krb5/pkinit.c (_krb5_pk_load_id): Added certificate revoke
1674*f59d82ffSelric	information, ie CRL's
1675*f59d82ffSelric
1676*f59d82ffSelric2006-04-10 Love Hörnquist Åstrand <lha@it.su.se>
1677*f59d82ffSelric
1678*f59d82ffSelric	* lib/krb5/replay.c (krb5_rc_resolve_full): make compile again.
1679*f59d82ffSelric
1680*f59d82ffSelric	* lib/krb5/keytab_krb4.c (krb4_kt_start_seq_get_int): make compile
1681*f59d82ffSelric	again.
1682*f59d82ffSelric
1683*f59d82ffSelric	* lib/krb5/transited.c (make_path): make sure we return allocated
1684*f59d82ffSelric	memory Coverity, NetBSD CID#1892
1685*f59d82ffSelric
1686*f59d82ffSelric	* lib/krb5/transited.c (make_path): make sure we return allocated
1687*f59d82ffSelric	memory Coverity, NetBSD CID#1892
1688*f59d82ffSelric
1689*f59d82ffSelric	* lib/krb5/rd_req.c (krb5_verify_authenticator_checksum): on
1690*f59d82ffSelric	protocol failure, avoid leaking memory Coverity, NetBSD CID#1900
1691*f59d82ffSelric
1692*f59d82ffSelric	* lib/krb5/principal.c (krb5_parse_name): remember to free realm
1693*f59d82ffSelric	in case of error Coverity, NetBSD CID#1883
1694*f59d82ffSelric
1695*f59d82ffSelric	* lib/krb5/principal.c (krb5_425_conv_principal_ext2): remove
1696*f59d82ffSelric	memory leak in case of weird formated dns replys.
1697*f59d82ffSelric	Coverity, NetBSD CID#1885
1698*f59d82ffSelric
1699*f59d82ffSelric	* lib/krb5/replay.c (krb5_rc_resolve_full): don't return pointer
1700*f59d82ffSelric	to a allocated krb5_rcache in case of error.
1701*f59d82ffSelric
1702*f59d82ffSelric	* lib/krb5/log.c (krb5_addlog_dest): free fn in case of error
1703*f59d82ffSelric	Coverity, NetBSD CID#1882
1704*f59d82ffSelric
1705*f59d82ffSelric	* lib/krb5/keytab_krb4.c: Fix deref before NULL check, fix error
1706*f59d82ffSelric	handling.  Coverity, NetBSD CID#2369
1707*f59d82ffSelric
1708*f59d82ffSelric	* lib/krb5/get_for_creds.c (krb5_get_forwarded_creds):
1709*f59d82ffSelric	in_creds->client should always be set, assume so.
1710*f59d82ffSelric
1711*f59d82ffSelric	* lib/krb5/keytab_any.c (any_next_entry): restructure to make it
1712*f59d82ffSelric	easier to read Fixes Coverity, NetBSD CID#625
1713*f59d82ffSelric
1714*f59d82ffSelric	* lib/krb5/crypto.c (krb5_string_to_key_derived): deref after NULL
1715*f59d82ffSelric	check.  Coverity NetBSD CID#2367
1716*f59d82ffSelric
1717*f59d82ffSelric	* lib/krb5/build_auth.c (krb5_build_authenticator): use
1718*f59d82ffSelric	calloc. removed check that was never really used. Coverity NetBSD
1719*f59d82ffSelric	CID#2370
1720*f59d82ffSelric
1721*f59d82ffSelric2006-04-09  Love Hörnquist Åstrand  <lha@it.su.se>
1722*f59d82ffSelric
1723*f59d82ffSelric	* lib/krb5/rd_req.c (krb5_verify_ap_req2): make sure `ticket´
1724*f59d82ffSelric	points to NULL in case of error, add error handling, use calloc.
1725*f59d82ffSelric
1726*f59d82ffSelric	* kpasswd/kpasswdd.c (doit): when done, close all fd in the
1727*f59d82ffSelric	sockets array and free it.  Coverity NetBSD CID#1916
1728*f59d82ffSelric
1729*f59d82ffSelric2006-04-08  Love Hörnquist Åstrand  <lha@it.su.se>
1730*f59d82ffSelric
1731*f59d82ffSelric	* lib/krb5/store.c (krb5_ret_principal): fix memory leak Coverity,
1732*f59d82ffSelric	NetBSD CID#1695
1733*f59d82ffSelric
1734*f59d82ffSelric	* kdc/524.c (_kdc_do_524): Handle memory allocation failure
1735*f59d82ffSelric	Coverity, NetBSD CID#2752
1736*f59d82ffSelric
1737*f59d82ffSelric2006-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
1738*f59d82ffSelric
1739*f59d82ffSelric	* lib/krb5/keytab_file.c (krb5_kt_ret_principal): plug a memory
1740*f59d82ffSelric	leak Coverity NetBSD CID#1890
1741*f59d82ffSelric
1742*f59d82ffSelric	* kdc/hprop.c (main): make sure type doesn't need to be set
1743*f59d82ffSelric
1744*f59d82ffSelric	* kdc/mit_dump.c (mit_prop_dump): close fd when done processing
1745*f59d82ffSelric	Coverity NetBSD CID#1955
1746*f59d82ffSelric
1747*f59d82ffSelric	* kdc/string2key.c (tokey): catch warnings, free memory after use.
1748*f59d82ffSelric	Based on Coverity NetBSD CID#1894
1749*f59d82ffSelric
1750*f59d82ffSelric	* kdc/hprop.c (main): remove dead code.  Coverity NetBSD CID#633
1751*f59d82ffSelric
1752*f59d82ffSelric2006-04-04  Love Hörnquist Åstrand  <lha@it.su.se>
1753*f59d82ffSelric
1754*f59d82ffSelric	* kpasswd/kpasswd-generator.c (read_words): catch empty file case,
1755*f59d82ffSelric	will cause PBE (division by zero) later. From Tobias Stoeckmann.
1756*f59d82ffSelric
1757*f59d82ffSelric2006-04-02  Love Hörnquist Åstrand  <lha@it.su.se>
1758*f59d82ffSelric
1759*f59d82ffSelric	* lib/hdb/keytab.c: Remove a delta from last revision that should
1760*f59d82ffSelric	have gone in later.
1761*f59d82ffSelric
1762*f59d82ffSelric	* lib/krb5/krbhst.c: fix spelling
1763*f59d82ffSelric
1764*f59d82ffSelric	* lib/krb5/send_to_kdc.c (send_and_recv_http): don't expose freed
1765*f59d82ffSelric	pointer, found by IBM checker.
1766*f59d82ffSelric
1767*f59d82ffSelric	* lib/krb5/rd_cred.c (krb5_rd_cred): don't expose freed pointer,
1768*f59d82ffSelric	found by IBM checker.
1769*f59d82ffSelric
1770*f59d82ffSelric	* lib/krb5/addr_families.c (krb5_make_addrport): clear return
1771*f59d82ffSelric	value on error, found by IBM checker.
1772*f59d82ffSelric
1773*f59d82ffSelric	* kdc/kerberos5.c (check_addresses): treat netbios as no addresses
1774*f59d82ffSelric
1775*f59d82ffSelric	* kdc/{kerberos4,kaserver}.c: _kdc_check_flags takes hdb_entry_ex
1776*f59d82ffSelric
1777*f59d82ffSelric	* kdc/kerberos5.c (_kdc_check_flags): make it take hdb_entry_ex to
1778*f59d82ffSelric	avoid ?:'s at callers
1779*f59d82ffSelric
1780*f59d82ffSelric	* lib/krb5/v4_glue.c: Avoid using free memory, found by IBM
1781*f59d82ffSelric	checker.
1782*f59d82ffSelric
1783*f59d82ffSelric	* lib/krb5/transited.c (expand_realm): avoid passing NULL to
1784*f59d82ffSelric	strlen, found by IBM checker.
1785*f59d82ffSelric
1786*f59d82ffSelric	* lib/krb5/rd_cred.c (krb5_rd_cred): avoid a memory leak on malloc
1787*f59d82ffSelric	failure, found by IBM checker.
1788*f59d82ffSelric
1789*f59d82ffSelric	* lib/krb5/krbhst.c (_krb5_krbhost_info_move): replace a strcpy
1790*f59d82ffSelric	with a memcpy
1791*f59d82ffSelric
1792*f59d82ffSelric	* lib/krb5/keytab_keyfile.c (get_cell_and_realm): plug a memory
1793*f59d82ffSelric	leak, found by IBM checker.
1794*f59d82ffSelric
1795*f59d82ffSelric	* lib/krb5/keytab_file.c (fkt_next_entry_int): remove a
1796*f59d82ffSelric	dereferencing NULL pointer, found by IBM checker.
1797*f59d82ffSelric
1798*f59d82ffSelric	* lib/krb5/init_creds_pw.c (init_creds_init_as_req): in AS-REQ the
1799*f59d82ffSelric	cname must always be given, don't avoid that fact and remove a
1800*f59d82ffSelric	cname == NULL case. Plugs a memory leak found by IBM checker.
1801*f59d82ffSelric
1802*f59d82ffSelric	* lib/krb5/init_creds_pw.c (default_s2k_func): avoid exposing
1803*f59d82ffSelric	free-ed memory on error. Found by IBM checker.
1804*f59d82ffSelric
1805*f59d82ffSelric	* lib/krb5/init_creds.c (_krb5_get_init_creds_opt_copy): use
1806*f59d82ffSelric	calloc to avoid uninitialized memory problem.
1807*f59d82ffSelric
1808*f59d82ffSelric	* lib/krb5/data.c (krb5_copy_data): avoid exposing free-ed memory
1809*f59d82ffSelric	on error. Found by IBM checker.
1810*f59d82ffSelric
1811*f59d82ffSelric	* lib/krb5/fcache.c (fcc_gen_new): fix a use after free, found by
1812*f59d82ffSelric	IBM checker.
1813*f59d82ffSelric
1814*f59d82ffSelric	* lib/krb5/config_file.c (krb5_config_vget_strings): IBM checker
1815*f59d82ffSelric	thought it found a memory leak, it didn't, but there was another
1816*f59d82ffSelric	error in the code, lets fix that instead.
1817*f59d82ffSelric
1818*f59d82ffSelric	* lib/krb5/cache.c (_krb5_expand_default_cc_name): plug memory
1819*f59d82ffSelric	leak. Found by IBM checker.
1820*f59d82ffSelric
1821*f59d82ffSelric	* lib/krb5/cache.c (_krb5_expand_default_cc_name): avoid return
1822*f59d82ffSelric	pointer to freed memory in the error case. Found by IBM checker.
1823*f59d82ffSelric
1824*f59d82ffSelric	* lib/hdb/keytab.c (hdb_resolve): off by one, found by IBM
1825*f59d82ffSelric	checker.
1826*f59d82ffSelric
1827*f59d82ffSelric	* lib/hdb/keys.c (hdb_generate_key_set): set ret_key_set before
1828*f59d82ffSelric	going into the error clause and freeing key_set. Found by IBM
1829*f59d82ffSelric	checker.  Make sure ret == 0 after of parse error, we catch the
1830*f59d82ffSelric	"no entries parsed" case later.
1831*f59d82ffSelric
1832*f59d82ffSelric	* lib/krb5/log.c (krb5_addlog_dest): make string length match
1833*f59d82ffSelric	strings in strcasecmp.  Found by IBM checker.
1834*f59d82ffSelric
1835*f59d82ffSelric2006-03-30  Love Hörnquist Åstrand  <lha@it.su.se>
1836*f59d82ffSelric
1837*f59d82ffSelric	* lib/hdb/hdb-ldap.c (LDAP_message2entry): in declaration set
1838*f59d82ffSelric	variable_name as "hdb_entry_ex"
1839*f59d82ffSelric	(hdb_ldap_common): change "arg" in condition (if) to "search_base"
1840*f59d82ffSelric	(hdb_ldapi_create): change "serach_base" to "search_base" From
1841*f59d82ffSelric	Alex V. Labuta.
1842*f59d82ffSelric
1843*f59d82ffSelric	* lib/krb5/pkinit.c (krb5_get_init_creds_opt_set_pkinit); fix
1844*f59d82ffSelric	prototype
1845*f59d82ffSelric
1846*f59d82ffSelric	* kuser/kinit.c: Add pool of certificates to help certificate path
1847*f59d82ffSelric	building for clients sending incomplete path in the signedData.
1848*f59d82ffSelric
1849*f59d82ffSelric2006-03-28  Love Hörnquist Åstrand  <lha@it.su.se>
1850*f59d82ffSelric
1851*f59d82ffSelric	* kdc/pkinit.c: Add pool of certificates to help certificate path
1852*f59d82ffSelric	building for clients sending incomplete path in the signedData.
1853*f59d82ffSelric
1854*f59d82ffSelric	* lib/krb5/pkinit.c: Add pool of certificates to help certificate
1855*f59d82ffSelric	path building for clients sending incomplete path in the
1856*f59d82ffSelric	signedData.
1857*f59d82ffSelric
1858*f59d82ffSelric2006-03-27  Love Hörnquist Åstrand  <lha@it.su.se>
1859*f59d82ffSelric
1860*f59d82ffSelric	* kdc/config.c: Allow passing in related certificates used to
1861*f59d82ffSelric	build the chain.
1862*f59d82ffSelric
1863*f59d82ffSelric	* kdc/pkinit.c: Allow passing in related certificates used to
1864*f59d82ffSelric	build the chain.
1865*f59d82ffSelric
1866*f59d82ffSelric	* kdc/kerberos5.c (log_patype): Add case for
1867*f59d82ffSelric	KRB5_PADATA_PA_PK_OCSP_RESPONSE.
1868*f59d82ffSelric
1869*f59d82ffSelric	* tools/Makefile.am: Spelling
1870*f59d82ffSelric
1871*f59d82ffSelric	* tools/krb5-config.in: Add hx509 when using PK-INIT.
1872*f59d82ffSelric
1873*f59d82ffSelric	* tools/Makefile.am: Add hx509 when using PK-INIT.
1874*f59d82ffSelric
1875*f59d82ffSelric2006-03-26  Love Hörnquist Åstrand  <lha@it.su.se>
1876*f59d82ffSelric
1877*f59d82ffSelric	* lib/krb5/acache.c: Use ticket flags definition, might fix Mac OS
1878*f59d82ffSelric	X Kerberos.app problems.
1879*f59d82ffSelric
1880*f59d82ffSelric	* lib/krb5/krb5_ccapi.h: Add ticket flags definitions
1881*f59d82ffSelric
1882*f59d82ffSelric	* lib/krb5/pkinit.c: Use less openssl, spell chelling.
1883*f59d82ffSelric
1884*f59d82ffSelric	* kdc/pkinit.c (pk_mk_pa_reply_dh): encode the DH public key with
1885*f59d82ffSelric	asn1 wrapping
1886*f59d82ffSelric
1887*f59d82ffSelric	* configure.in (AC_CONFIG_FILES): add lib/hx509/Makefile
1888*f59d82ffSelric
1889*f59d82ffSelric	* lib/Makefile.am: Add hx509.
1890*f59d82ffSelric
1891*f59d82ffSelric	* lib/krb5/Makefile.am: Add libhx509.la when PKINIT is used.
1892*f59d82ffSelric
1893*f59d82ffSelric	* configure.in: define automake PKINIT variable
1894*f59d82ffSelric
1895*f59d82ffSelric	* kdc/pkinit.c: Switch to hx509.
1896*f59d82ffSelric
1897*f59d82ffSelric	* lib/krb5/pkinit.c: Switch to hx509.
1898*f59d82ffSelric
1899*f59d82ffSelric2006-03-24  Love Hörnquist Åstrand  <lha@it.su.se>
1900*f59d82ffSelric
1901*f59d82ffSelric	* kdc/kerberos5.c (log_patypes): log the patypes requested by the
1902*f59d82ffSelric	client
1903*f59d82ffSelric
1904*f59d82ffSelric2006-03-23  Love Hörnquist Åstrand  <lha@it.su.se>
1905*f59d82ffSelric
1906*f59d82ffSelric	* lib/krb5/pkinit.c (_krb5_pk_rd_pa_reply): pass down the
1907*f59d82ffSelric	req_buffer in the w2k case too. From Douglas E. Engert.
1908*f59d82ffSelric
1909*f59d82ffSelric2006-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
1910*f59d82ffSelric
1911*f59d82ffSelric	* lib/krb5/mk_req_ext.c (_krb5_mk_req_internal): on failure, goto
1912*f59d82ffSelric	error handling.  Fixes Coverity NetBSD CID 2591 by catching a
1913*f59d82ffSelric	failing krb5_copy_keyblock()
1914*f59d82ffSelric
1915*f59d82ffSelric2006-03-17  Love Hörnquist Åstrand  <lha@it.su.se>
1916*f59d82ffSelric
1917*f59d82ffSelric	* lib/krb5/addr_families.c (krb5_free_addresses): reset val,len in
1918*f59d82ffSelric	address when free-ing.  Fixes Coverity NetBSD bug #2605
1919*f59d82ffSelric	(krb5_parse_address): reset val,len before possibly return errors
1920*f59d82ffSelric	Fixes Coverity NetBSD bug #2605
1921*f59d82ffSelric
1922*f59d82ffSelric2006-03-07  Love Hörnquist Åstrand  <lha@it.su.se>
1923*f59d82ffSelric
1924*f59d82ffSelric	* lib/krb5/send_to_kdc.c (recv_loop): it should never happen, but
1925*f59d82ffSelric	make sure nbytes > 0
1926*f59d82ffSelric
1927*f59d82ffSelric	* lib/krb5/get_for_creds.c (add_addrs): handle the case where
1928*f59d82ffSelric	addr->len == 0 and n == 0, then realloc might return NULL.
1929*f59d82ffSelric
1930*f59d82ffSelric	* lib/krb5/crypto.c (decrypt_*): handle the case where the
1931*f59d82ffSelric	plaintext is 0 bytes long, realloc might then return NULL.
1932*f59d82ffSelric
1933*f59d82ffSelric2006-02-28  Love Hörnquist Åstrand  <lha@it.su.se>
1934*f59d82ffSelric
1935*f59d82ffSelric	* lib/krb5/krb5_string_to_key.3: Drop krb5_string_to_key_derived.
1936*f59d82ffSelric
1937*f59d82ffSelric	* lib/krb5/krb5.3: Remove krb5_string_to_key_derived.
1938*f59d82ffSelric
1939*f59d82ffSelric	* lib/krb5/crypto.c (AES_string_to_key): drop _krb5_PKCS5_PBKDF2
1940*f59d82ffSelric	and use PKCS5_PBKDF2_HMAC_SHA1 instead.
1941*f59d82ffSelric
1942*f59d82ffSelric	* lib/krb5/aes-test.c: reformat, avoid free-ing un-init'd memory
1943*f59d82ffSelric
1944*f59d82ffSelric	* lib/krb5/aes-test.c: Only use PKCS5_PBKDF2_HMAC_SHA1.
1945*f59d82ffSelric
1946*f59d82ffSelric2006-02-27  Johan Danielsson  <joda@pdc.kth.se>
1947*f59d82ffSelric
1948*f59d82ffSelric	* doc/setup.texi: remove cartouches - we don't use them anywhere
1949*f59d82ffSelric	else, they should be around the example, not inside it, and
1950*f59d82ffSelric	probably shouldn't be used in html at all
1951*f59d82ffSelric
1952*f59d82ffSelric2006-02-18  Love Hörnquist Åstrand  <lha@it.su.se>
1953*f59d82ffSelric
1954*f59d82ffSelric	* lib/krb5/krb5_warn.3: Document that applications want to use
1955*f59d82ffSelric	krb5_get_error_message, add example.
1956*f59d82ffSelric
1957*f59d82ffSelric2006-02-16  Love Hörnquist Åstrand  <lha@it.su.se>
1958*f59d82ffSelric
1959*f59d82ffSelric	* lib/krb5/crypto.c (krb5_generate_random_block): check return
1960*f59d82ffSelric	value from RAND_bytes
1961*f59d82ffSelric
1962*f59d82ffSelric	* lib/krb5/error_string.c: Change indentation, update (c)
1963*f59d82ffSelric
1964*f59d82ffSelric2006-02-14  Love Hörnquist Åstrand  <lha@it.su.se>
1965*f59d82ffSelric
1966*f59d82ffSelric	* lib/krb5/pkinit.c: Make struct krb5_dh_moduli available when
1967*f59d82ffSelric	compiling w/o pkinit.
1968*f59d82ffSelric
1969*f59d82ffSelric2006-02-13  Love Hörnquist Åstrand  <lha@it.su.se>
1970*f59d82ffSelric
1971*f59d82ffSelric	* lib/krb5/pkinit.c: update to new paChecksum definition, update
1972*f59d82ffSelric	the dhgroup handling
1973*f59d82ffSelric
1974*f59d82ffSelric	* kdc/pkinit.c: update to new paChecksum definition, use
1975*f59d82ffSelric	hdb_entry_ex
1976*f59d82ffSelric
1977*f59d82ffSelric2006-02-09  Love Hörnquist Åstrand  <lha@it.su.se>
1978*f59d82ffSelric
1979*f59d82ffSelric	* lib/krb5/krb5_locl.h: Move Configurable options to last in the
1980*f59d82ffSelric	file.
1981*f59d82ffSelric
1982*f59d82ffSelric	* lib/krb5/krb5_locl.h: Wrap KRB5_ADDRESSLESS_DEFAULT with #ifndef
1983*f59d82ffSelric
1984*f59d82ffSelric2006-02-03  Love Hörnquist Åstrand  <lha@it.su.se>
1985*f59d82ffSelric
1986*f59d82ffSelric	* kpasswd/kpasswdd.c: Send back a better error-message to the
1987*f59d82ffSelric	client in case the password change was rejected.
1988*f59d82ffSelric
1989*f59d82ffSelric	* lib/krb5/krb5_warn.3: Document krb5_get_error_message.
1990*f59d82ffSelric
1991*f59d82ffSelric	* lib/krb5/error_string.c (krb5_get_error_message): new function,
1992*f59d82ffSelric	and combination of krb5_get_error_string and krb5_get_err_text
1993*f59d82ffSelric
1994*f59d82ffSelric	* lib/krb5/krb5.3: sort, and krb5_get_error_message
1995*f59d82ffSelric
1996*f59d82ffSelric	* lib/hdb/hdb-ldap.c: Log the filter string to the error message
1997*f59d82ffSelric	when doing searches.
1998*f59d82ffSelric
1999*f59d82ffSelric	* lib/krb5/init_creds.c (krb5_get_init_creds_opt_set_default_flags):
2000*f59d82ffSelric	Use KRB5_ADDRESSLESS_DEFAULT when
2001*f59d82ffSelric	checking [appdefault]no-addresses.
2002*f59d82ffSelric
2003*f59d82ffSelric	* lib/krb5/get_cred.c (get_cred_from_kdc_flags): Use
2004*f59d82ffSelric	KRB5_ADDRESSLESS_DEFAULT when checking
2005*f59d82ffSelric	[appdefault]no-addresses.
2006*f59d82ffSelric
2007*f59d82ffSelric	* lib/krb5/get_for_creds.c (krb5_get_forwarded_creds):
2008*f59d82ffSelric	Use [appdefault]no-addresses before checking if the krbtgt is
2009*f59d82ffSelric	address-less, use KRB5_ADDRESSLESS_DEFAULT.
2010*f59d82ffSelric
2011*f59d82ffSelric	* lib/krb5/krb5_locl.h: Introduce KRB5_ADDRESSLESS_DEFAULT that
2012*f59d82ffSelric	controlls all address-less behavior.  Defaults to false.
2013*f59d82ffSelric
2014*f59d82ffSelric2006-02-01  Love Hörnquist Åstrand  <lha@it.su.se>
2015*f59d82ffSelric
2016*f59d82ffSelric	* lib/krb5/n-fold-test.c: main is not a KRB5_LIB_FUNCTION
2017*f59d82ffSelric
2018*f59d82ffSelric	* lib/krb5/mk_priv.c (krb5_mk_priv): abort if ASN1_MALLOC_ENCODE
2019*f59d82ffSelric	failes to produce the matching lenghts.
2020*f59d82ffSelric
2021*f59d82ffSelric2006-01-27  Love Hörnquist Åstrand  <lha@it.su.se>
2022*f59d82ffSelric
2023*f59d82ffSelric	* kcm/protocol.c (kcm_op_retrieve): remove unused variable
2024*f59d82ffSelric
2025*f59d82ffSelric2006-01-15  Love Hörnquist Åstrand  <lha@it.su.se>
2026*f59d82ffSelric
2027*f59d82ffSelric	* tools/krb5-config.in: Move depenency on @LIB_dbopen@ to
2028*f59d82ffSelric	kadm-server, kerberos library doesn't depend on db-library.
2029*f59d82ffSelric
2030*f59d82ffSelric2006-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
2031*f59d82ffSelric
2032*f59d82ffSelric	* include/Makefile.am: Don't clean crypto headers, they now live
2033*f59d82ffSelric	in hcrypto/.  Add hcrypto to SUBDIRS.
2034*f59d82ffSelric
2035*f59d82ffSelric	* include/hcrypto/Makefile.am: clean installed headers
2036*f59d82ffSelric
2037*f59d82ffSelric	* include/make_crypto.c: include crypto headers from hcrypto/
2038*f59d82ffSelric
2039*f59d82ffSelric	* include/make_crypto.c: Include more crypto headerfiles. Remove
2040*f59d82ffSelric	support for old hash names.
2041*f59d82ffSelric
2042*f59d82ffSelric2006-01-02  Love Hörnquist Åstrand <lha@it.su.se>
2043*f59d82ffSelric
2044*f59d82ffSelric	* kdc/misc.c (_kdc_db_fetch): use calloc to allocate the entry,
2045*f59d82ffSelric	from Andrew Bartlet.
2046*f59d82ffSelric
2047*f59d82ffSelric	* Happy New Year.
2048