x
[metze/heimdal/wip.git] / ChangeLog
1 2008-07-15  Love Hornquist Astrand  <lha@kth.se>
2
3         * lib/krb5/send_to_kdc_plugin.h: add name for send_to_kdc plugin.
4         
5         * lib/krb5/krbhst.c: handle KRB5_PLUGIN_NO_HANDLE for lookup
6         plugin.
7
8         * lib/krb5/send_to_kdc.c: Add support for the send_to_kdc plugin
9         interface.
10
11         * lib/krb5/Makefile.am: add send_to_kdc_plugin.h
12         
13         * lib/krb5/krb5_err.et: add plugin error codes
14
15 2008-07-14  Love Hornquist Astrand  <lha@kth.se>
16
17         * lib/hdb/Makefile.am: EXTRA_DIST += version-script.map
18
19 2008-07-14  Love Hornquist Astrand  <lha@kth.se>
20
21         * lib/krb5/krb5_{address,ccache}.3: spelling, from openbsd via janne
22         johansson
23
24 2008-07-13  Love Hörnquist Åstrand  <lha@kth.se>
25
26         * lib/krb5/version-script.map: add krb5_free_error_message
27
28 2008-06-21  Love Hörnquist Åstrand  <lha@kth.se>
29
30         * lib/krb5/init_creds_pw.c: switch to krb5_set_password().
31
32 2008-06-18  Love Hörnquist Åstrand  <lha@kth.se>
33
34         * lib/krb5/time.c (krb5_set_real_time): handle negative usec
35
36 2008-05-31  Love Hörnquist Åstrand  <lha@kth.se>
37
38         * lib/krb5/krb5_locl.h: Add <wind.h>
39
40         * lib/krb5/crypto.c: Use wind_utf8ucs2_length to convert the password to utf16.
41
42 2008-05-30  Love Hörnquist Åstrand  <lha@kth.se>
43
44         * lib/krb5/kcm.c: Add back krb5_kcmcache argument to try_door().
45
46 2008-05-27  Love Hörnquist Åstrand  <lha@kth.se>
47
48         * lib/krb5/error_string.c (krb5_free_error_message): constify
49         
50         * lib/krb5/error_string.c: Add krb5_get_error_message().
51
52         * lib/krb5/doxygen.c: krb5_cc_new_unique() is name of the creation
53         function.
54         
55 2008-04-30  Love Hörnquist Åstrand  <lha@it.su.se>
56
57         * lib/hdb/hdb-ldap.c: Use the _ext api for OpenLDAP, from Honza
58         Machacek (gentoo).
59
60 2008-04-28  Love Hörnquist Åstrand  <lha@it.su.se>
61
62         * lib/krb5/crypto.c: Use DES_set_key_unchecked().
63
64         * lib/krb5/krb5.conf.5: Document default_cc_type.
65
66         * lib/krb5/cache.c: Pick up [libdefaults]default_cc_type
67
68 2008-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
69         
70         * kdc/kaserver.c: Use DES_set_key_unchecked().
71
72 2008-04-21  Love Hörnquist Åstrand  <lha@it.su.se>
73
74         * doc/hx509.texi: About the pkcs11 module.
75
76         * doc/hx509.texi: Pick up version from vars.texi
77
78         * doc/hx509.texi: No MIT code in hx509.
79
80         * hx509 now includes a pkcs11 implementation.
81
82 2008-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
83
84         * lib/hdb/Makefile.am: Move OpenLDAP includes to AM_CPPFLAGS to
85         avoid dropping other defines for the library.
86
87 2008-04-17  Love Hörnquist Åstrand  <lha@it.su.se>
88
89         * lib/krb5: add __declspec() for windows.
90
91         * configure.in: Update rk_WIN32_EXPORT, add gssapi to
92         rk_WIN32_EXPORT.
93         
94         * configure.in: Lets try dependency tracking for automake 1.10 and
95         later.
96         
97         * configure.in: Use at least libtool-2.2.
98
99         * configure.in: Use LT_INIT the right way.
100
101         * lib/krb5/Makefile.am: Update make-proto usage.
102
103         * configure.in: Run autoupdate, use LT_INIT().
104
105 2008-04-15  Love Hörnquist Åstrand  <lha@it.su.se>
106
107         * lib/krb5/test_forward.c: Don't print krb5_error_code since we
108         are using krb5_err().
109
110         * lib/krb5/ticket.c: Cast krb5_error_code to int to avoid warning.
111
112         * lib/krb5/scache.c: Cast krb5_error_code to int to avoid warning.
113
114         * lib/krb5/principal.c: Cast enum to int to avoid warning.
115
116         * lib/krb5/pkinit.c: Cast krb5_error_code to int to avoid warning.
117
118         * lib/krb5/pac.c: Cast size_t to unsigned long to avoid warning.
119
120         * lib/krb5/error_string.c: Cast krb5_error_code to int to avoid
121         warning.
122
123         * lib/krb5/keytab_keyfile.c: Make num_entries an uint32 to avoid
124         negative numbers and type warnings.
125
126         * lib/krb5: cc_get_version returns an int, update.
127
128 2008-04-10  Love Hörnquist Åstrand  <lha@it.su.se>
129
130         * configure.in: Check for <asl.h>.
131
132 2008-04-09  Love Hörnquist Åstrand  <lha@it.su.se>
133
134         * lib/krb5/version-script.map: sort and export _krb5_pk_kdf
135
136         * lib/krb5/crypto.c: Check kdf params. calculate the second half
137         of the key.
138
139         * lib/krb5/Makefile.am: Add test_pknistkdf
140
141         * lib/krb5/test_pknistkdf.c: Test the new pkinit nist kdf.
142
143         * lib/krb5/crypto.c: Complete _krb5_pk_kdf.
144
145         * lib/krb5/crypto.c: First version of KDF in
146         draft-ietf-krb-wg-pkinit-alg-agility-03.txt.
147         
148 2008-04-08  Love Hörnquist Åstrand  <lha@it.su.se>
149
150         * doc/setup.texi: Add text about smbk5pwd overlay from Buchan
151         Milne.
152         
153         * lib/krb5/krb5_locl.h: Name the pkinit type enum.
154
155         * kdc/pkinit.c: Rename constants to match global header.
156
157         * lib/krb5/pkinit.c: Drop krb5_pk_identity and rename constants to
158         match global header.
159
160         * kdc/pkinit.c: Pick up krb5_pk_identity from krb5_locl.h.
161
162         * lib/krb5/scache.c (scc_alloc): %x is unsigned int.
163         
164 2008-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
165
166         * lib/krb5/version-script.map: Sort and add krb5_cc_switch.
167
168         * lib/krb5/acache.c: Use unsigned where appropriate.
169
170         * kcm/glue.c: Adapt to chenge to krb5_cc_ops.
171
172         * kcm/acl.c: Add missing op.
173
174         * kdc/connect.c: Use unsigned where appropriate.
175
176         * lib/krb5/n-fold.c: Use size_t where appropriate.
177
178         * lib/krb5/get_addrs.c: Use unsigned where appropriate.
179
180         * lib/krb5/crypto.c: Use unsigned where appropriate.
181
182         * lib/krb5/crc.c: Use unsigned where appropriate.
183
184         * lib/krb5/changepw.c: simplify
185
186         * lib/krb5/copy_host_realm.c: simplify
187
188         * kuser/kswitch.c: Implement --principal.
189
190 2008-04-05  Love Hörnquist Åstrand  <lha@it.su.se>
191
192         * lib/krb5/cache.c: allow returning the default cc-type.
193
194         * kuser/kswitch.c: Enable switching between existing caches.
195
196         * lib/krb5/cache.c: Add krb5_cc_switch, to set the default
197         credential cache.
198
199         * lib/krb5/acache.c: Implement set_default.
200
201         * lib/krb5/krb5.h: Extend krb5_cc_ops and add set_default to set
202         the default cc name for a credential type.
203
204 2008-04-04  Love Hörnquist Åstrand  <lha@it.su.se>
205
206         * lib/krb5/test_cc.c: test remove
207
208         * lib/krb5/fcache.c: Make the remove cred slight more atomic, now
209         it might lose creds, but there will be no empty cache at any time.
210
211         * lib/krb5/scache.c: Do credential iteration by temporary table.
212
213 2008-04-02  Love Hörnquist Åstrand  <lha@it.su.se>
214
215         * lib/krb5/acache.c: Translate ccErrInvalidCCache.
216
217         * lib/krb5/scache.c: implemetation of a sqlite3 backed credential
218         cache.
219
220         * lib/krb5/test_cc.c: test acc and scc
221
222         * lib/krb5/acache.c: Only release context if its in use.
223
224 2008-04-01  Love Hörnquist Åstrand  <lha@it.su.se>
225
226         * doc/setup.texi: No patching of OpenLDAP is needed, from Buchan
227         Milne.
228
229 2008-03-30  Love Hörnquist Åstrand  <lha@it.su.se>
230
231         * lib/krb5/Makefile.am: Add scache.
232
233         * lib/krb5/scache.c: initial implementation
234
235         * lib/Makefile.am: sqlite
236
237         * configure.in: lib/sqlite/Makefile
238
239 2008-03-26  Love Hörnquist Åstrand  <lha@it.su.se>
240
241         * lib/krb5/fcache.c: Make the storing credential an atomic
242         write(2) to avoid signal races, bug traced by Harald Barth and Lars
243         Malinowsky.
244
245 2008-03-25  Love Hörnquist Åstrand  <lha@it.su.se>
246
247         * lib/krb5/fcache.c: Make erase_file() do locking too.
248
249         * kcm/protocol.c: Make work when moving to a non-existant
250         cred-cache.
251
252         * lib/krb5/test_cc.c: more verbose info.
253         
254         * lib/krb5/test_cc.c: test krb5_cc_move().
255         
256 2008-03-23  Love Hörnquist Åstrand  <lha@it.su.se>
257         
258         * lib/krb5/get_cred.c: Try both kdc server referral and the old
259         client chasing mode.
260
261         * lib/krb5/get_cred.c: Don't do canonicalize by default, make
262         add_cred() sane, make loop detection in credential fetching
263         better.
264
265         * lib/krb5/krb5_locl.h: Add flag EXTRACT_TICKET_AS_REQ.
266
267         * lib/krb5/init_creds_pw.c: Tell _krb5_extract_ticket that this is
268         an AS-REQ.
269
270         * lib/krb5/get_in_tkt.c: Make server referral work.
271         
272 2008-03-22  Love Hörnquist Åstrand  <lha@it.su.se>
273         
274         * lib/krb5/get_in_tkt.c: check no server referral, don't use
275         stringent length tests since encryption layer does padding for
276         us...
277
278         * kdc/kerberos5.c: Match name in ClientCanonicalizedNames with -10
279
280         * lib/krb5/principal.c (_krb5_principal_compare_PrincipalName):
281         new function to compare a principal to a PrincipalName.
282
283         * lib/krb5/init_creds_pw.c: Move client referral checking to
284         _krb5_extract_ticket().
285
286         * lib/krb5/get_in_tkt.c: More bits for server referral.
287
288         * lib/krb5/get_in_tkt.c: Make working with client referrals.
289
290         * lib/krb5/get_cred.c: Try moving referrals checking into
291         _krb5_extract_ticket().
292
293         * lib/krb5/get_in_tkt.c: Try moving referrals checking into
294         _krb5_extract_ticket().
295
296 2008-03-21  Love Hörnquist Åstrand  <lha@it.su.se>
297         
298         * kdc/krb5tgs.c: Send SERVER-REFERRAL data in rep.padata instead
299         of auth_data in ticket.
300
301 2008-03-20  Love Hörnquist Åstrand  <lha@it.su.se>
302
303         * lib/krb5/init_creds_pw.c: remove lost bits from using
304         krb5_principal_set_realm
305         
306         * kdc/krb5tgs.c: Better referrals support, use canonicalize flag.
307
308         * kdc/hprop.c: use krb5_principal_set_realm
309
310         * lib/krb5/init_creds_pw.c: use krb5_principal_set_realm
311
312         * lib/krb5/verify_user.c: use krb5_principal_set_realm
313
314         * lib/krb5/version-script.map: add krb5_principal_set_realm
315
316         * lib/krb5/principal.c: add krb5_principal_set_realm
317
318         * lib/krb5/get_cred.c: Insecure tgs referrals.
319
320         * lib/krb5/get_cred.c: Dont try key usage KRB5_KU_AP_REQ_AUTH for
321         TGS-REQ. This drop compatibility with pre 0.3d KDCs.
322         
323         * lib/krb5/get_cred.c: catch KRB5_GC_CANONICALIZE.
324
325         * lib/krb5/krb5.h: set KRB5_GC_CANONICALIZE.
326
327         * kuser/kgetcred.c: set KRB5_GC_CANONICALIZE.
328
329         * kuser/kgetcred.c: Add stub --canonicalize implementation.
330
331 2008-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
332
333         * doc/setup.texi: Fix sasl-regexp, from Howard Chu.
334
335 2008-03-14  Love Hörnquist Åstrand  <lha@it.su.se>
336
337         * kdc/kx509.c: Adapt to hx509_env changes.
338         
339 2008-03-10  Love Hörnquist Åstrand  <lha@it.su.se>
340
341         * lib/krb5/pkinit.c: Try searchin the key by to use by first
342         looking for for PK-INIT EKU, then the Microsoft smart card EKU and
343         last, no special EKU at all.
344
345 2008-03-09  Love Hörnquist Åstrand  <lha@it.su.se>
346
347         * lib/krb5/acache.c: Create a new credential cache is ->get_name
348         is called, make acc_initialize() reset the existing credential
349         cache if needed.
350
351         * lib/krb5/acache.c (acc_get_name): just return the cache_name
352         directly instead of trying to resolve it.
353
354 2008-02-23  Love Hörnquist Åstrand  <lha@it.su.se>
355
356         * include/Makefile.am (CLEANFILES): add wind.h and wind_err.h and
357         sort.
358
359 2008-02-11  Love Hörnquist Åstrand  <lha@it.su.se>
360
361         * lib/hdb/hdb-ldap.c: Use malloc() instead of static buffer.
362
363         * lib/hdb/hdb-ldap.c: Use ldap_get_values_len, from LaMont Jones
364         via Brian May and Debian.
365
366         * doc/Makefile.am: add libwind
367
368 2008-02-05  Love Hörnquist Åstrand  <lha@it.su.se>
369
370         * lib/krb5/test_renew.c: Remove extra ;, From Dennis Davis.
371
372         * lib/krb5/store_emem.c: Make compile on-pre c99 compilers. From
373         Dennis Davis.
374
375 2008-02-03  Love Hörnquist Åstrand  <lha@it.su.se>
376
377         * tools/heimdal-gssapi.pc.in: Add wind.
378
379         * tools/krb5-config.in: Add wind.
380
381         * lib/krb5/pac.c: Use libwind.
382
383 2008-02-01  Love Hörnquist Åstrand  <lha@it.su.se>
384
385         * lib/Makefile.am: SUBDIRS: add wind
386
387 2008-01-29  Love Hörnquist Åstrand  <lha@it.su.se>
388
389         * doc/programming.texi: See the Kerberos 5 API introduction and
390         documentation on the Heimdal webpage.
391         
392 2008-01-27  Love Hörnquist Åstrand  <lha@it.su.se>
393
394         * lib/krb5: better error strings for the keytab fetching functions
395
396         * lib/krb5/verify_krb5_conf.c: Catch deprecated entries.
397
398         * lib/krb5/get_cred.c: Remove support
399         for [libdefaults]capath (not [libdefaults] capaths though).
400
401 2008-01-25  Love Hörnquist Åstrand  <lha@it.su.se>
402
403         * tools/heimdal-gssapi.pc.in: Fix caps of prefix, from Joakim
404         Fallsjo.
405
406 2008-01-24  Love Hörnquist Åstrand  <lha@it.su.se>
407         
408         * lib/krb5/fcache.c (fcc_move): more explict why the fcc_move
409         failes, handle cross device moves.
410         
411 2008-01-21  Love Hörnquist Åstrand  <lha@it.su.se>
412
413         * lib/krb5/get_for_creds.c: Use on variable less.
414
415         * lib/krb5/get_for_creds.c: Try to handle ticket full and
416         ticketless tickets better. Add doxygen comments while here.
417
418         * lib/krb5/test_forward.c: Used for testing
419         krb5_get_forwarded_creds().
420         
421         * lib/krb5/Makefile.am: noinst_PROGRAMS += test_forward
422
423         * lib/krb5/Makefile.am: drop CHECK_SYMBOLS
424
425         * lib/hdb/Makefile.am: drop CHECK_SYMBOLS
426
427         * kdc/Makefile.am: drop CHECK_SYMBOLS
428
429 2008-01-18  Love Hörnquist Åstrand  <lha@it.su.se>
430
431         * lib/krb5/version-script.map: Add krb5_digest_probe.
432         
433 2008-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
434         
435         * lib/krb5/pkinit.c: Replace hx509_name_to_der_name with
436         hx509_name_binary.
437
438 2008-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
439
440         * lib/krb5/Makefile.am: add missing files
441
442         * Happy new year.