Rename cache variable to AC_CACHE_CHECK to make the cached.
[heimdal.git] / ChangeLog
blob27ff5403afbc6cda938009485e2b8aa4f0692d50
1 2008-04-17  Love Hörnquist Åstrand  <lha@it.su.se>
3         * configure.in: Run autoupdate, use LT_INIT().
5 2008-04-15  Love Hörnquist Åstrand  <lha@it.su.se>
7         * lib/krb5/test_forward.c: Don't print krb5_error_code since we
8         are using krb5_err().
10         * lib/krb5/ticket.c: Cast krb5_error_code to int to avoid warning.
12         * lib/krb5/scache.c: Cast krb5_error_code to int to avoid warning.
14         * lib/krb5/principal.c: Cast enum to int to avoid warning.
16         * lib/krb5/pkinit.c: Cast krb5_error_code to int to avoid warning.
18         * lib/krb5/pac.c: Cast size_t to unsigned long to avoid warning.
20         * lib/krb5/error_string.c: Cast krb5_error_code to int to avoid
21         warning.
23         * lib/krb5/keytab_keyfile.c: Make num_entries an uint32 to avoid
24         negative numbers and type warnings.
26         * lib/krb5: cc_get_version returns an int, update.
28 2008-04-10  Love Hörnquist Åstrand  <lha@it.su.se>
30         * configure.in: Check for <asl.h>.
32 2008-04-09  Love Hörnquist Åstrand  <lha@it.su.se>
34         * lib/krb5/version-script.map: sort and export _krb5_pk_kdf
36         * lib/krb5/crypto.c: Check kdf params. calculate the second half
37         of the key.
39         * lib/krb5/Makefile.am: Add test_pknistkdf
41         * lib/krb5/test_pknistkdf.c: Test the new pkinit nist kdf.
43         * lib/krb5/crypto.c: Complete _krb5_pk_kdf.
45         * lib/krb5/crypto.c: First version of KDF in
46         draft-ietf-krb-wg-pkinit-alg-agility-03.txt.
47         
48 2008-04-08  Love Hörnquist Åstrand  <lha@it.su.se>
50         * doc/setup.texi: Add text about smbk5pwd overlay from Buchan
51         Milne.
52         
53         * lib/krb5/krb5_locl.h: Name the pkinit type enum.
55         * kdc/pkinit.c: Rename constants to match global header.
57         * lib/krb5/pkinit.c: Drop krb5_pk_identity and rename constants to
58         match global header.
60         * kdc/pkinit.c: Pick up krb5_pk_identity from krb5_locl.h.
62         * lib/krb5/scache.c (scc_alloc): %x is unsigned int.
63         
64 2008-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
66         * lib/krb5/version-script.map: Sort and add krb5_cc_switch.
68         * lib/krb5/acache.c: Use unsigned where appropriate.
70         * kcm/glue.c: Adapt to chenge to krb5_cc_ops.
72         * kcm/acl.c: Add missing op.
74         * kdc/connect.c: Use unsigned where appropriate.
76         * lib/krb5/n-fold.c: Use size_t where appropriate.
78         * lib/krb5/get_addrs.c: Use unsigned where appropriate.
80         * lib/krb5/crypto.c: Use unsigned where appropriate.
82         * lib/krb5/crc.c: Use unsigned where appropriate.
84         * lib/krb5/changepw.c: simplify
86         * lib/krb5/copy_host_realm.c: simplify
88         * kuser/kswitch.c: Implement --principal.
90 2008-04-05  Love Hörnquist Åstrand  <lha@it.su.se>
92         * lib/krb5/cache.c: allow returning the default cc-type.
94         * kuser/kswitch.c: Enable switching between existing caches.
96         * lib/krb5/cache.c: Add krb5_cc_switch, to set the default
97         credential cache.
99         * lib/krb5/acache.c: Implement set_default.
101         * lib/krb5/krb5.h: Extend krb5_cc_ops and add set_default to set
102         the default cc name for a credential type.
104 2008-04-04  Love Hörnquist Åstrand  <lha@it.su.se>
106         * lib/krb5/test_cc.c: test remove
108         * lib/krb5/fcache.c: Make the remove cred slight more atomic, now
109         it might lose creds, but there will be no empty cache at any time.
111         * lib/krb5/scache.c: Do credential iteration by temporary table.
113 2008-04-02  Love Hörnquist Åstrand  <lha@it.su.se>
115         * lib/krb5/acache.c: Translate ccErrInvalidCCache.
117         * lib/krb5/scache.c: implemetation of a sqlite3 backed credential
118         cache.
120         * lib/krb5/test_cc.c: test acc and scc
122         * lib/krb5/acache.c: Only release context if its in use.
124 2008-04-01  Love Hörnquist Åstrand  <lha@it.su.se>
126         * doc/setup.texi: No patching of OpenLDAP is needed, from Buchan
127         Milne.
129 2008-03-30  Love Hörnquist Åstrand  <lha@it.su.se>
131         * lib/krb5/Makefile.am: Add scache.
133         * lib/krb5/scache.c: initial implementation
135         * lib/Makefile.am: sqlite
137         * configure.in: lib/sqlite/Makefile
139 2008-03-26  Love Hörnquist Åstrand  <lha@it.su.se>
141         * lib/krb5/fcache.c: Make the storing credential an atomic
142         write(2) to avoid signal races, bug traced by Harald Barth and Lars
143         Malinowsky.
145 2008-03-25  Love Hörnquist Åstrand  <lha@it.su.se>
147         * lib/krb5/fcache.c: Make erase_file() do locking too.
149         * kcm/protocol.c: Make work when moving to a non-existant
150         cred-cache.
152         * lib/krb5/test_cc.c: more verbose info.
153         
154         * lib/krb5/test_cc.c: test krb5_cc_move().
155         
156 2008-03-23  Love Hörnquist Åstrand  <lha@it.su.se>
157         
158         * lib/krb5/get_cred.c: Try both kdc server referral and the old
159         client chasing mode.
161         * lib/krb5/get_cred.c: Don't do canonicalize by default, make
162         add_cred() sane, make loop detection in credential fetching
163         better.
165         * lib/krb5/krb5_locl.h: Add flag EXTRACT_TICKET_AS_REQ.
167         * lib/krb5/init_creds_pw.c: Tell _krb5_extract_ticket that this is
168         an AS-REQ.
170         * lib/krb5/get_in_tkt.c: Make server referral work.
171         
172 2008-03-22  Love Hörnquist Åstrand  <lha@it.su.se>
173         
174         * lib/krb5/get_in_tkt.c: check no server referral, don't use
175         stringent length tests since encryption layer does padding for
176         us...
178         * kdc/kerberos5.c: Match name in ClientCanonicalizedNames with -10
180         * lib/krb5/principal.c (_krb5_principal_compare_PrincipalName):
181         new function to compare a principal to a PrincipalName.
183         * lib/krb5/init_creds_pw.c: Move client referral checking to
184         _krb5_extract_ticket().
186         * lib/krb5/get_in_tkt.c: More bits for server referral.
188         * lib/krb5/get_in_tkt.c: Make working with client referrals.
190         * lib/krb5/get_cred.c: Try moving referrals checking into
191         _krb5_extract_ticket().
193         * lib/krb5/get_in_tkt.c: Try moving referrals checking into
194         _krb5_extract_ticket().
196 2008-03-21  Love Hörnquist Åstrand  <lha@it.su.se>
197         
198         * kdc/krb5tgs.c: Send SERVER-REFERRAL data in rep.padata instead
199         of auth_data in ticket.
201 2008-03-20  Love Hörnquist Åstrand  <lha@it.su.se>
203         * lib/krb5/init_creds_pw.c: remove lost bits from using
204         krb5_principal_set_realm
205         
206         * kdc/krb5tgs.c: Better referrals support, use canonicalize flag.
208         * kdc/hprop.c: use krb5_principal_set_realm
210         * lib/krb5/init_creds_pw.c: use krb5_principal_set_realm
212         * lib/krb5/verify_user.c: use krb5_principal_set_realm
214         * lib/krb5/version-script.map: add krb5_principal_set_realm
216         * lib/krb5/principal.c: add krb5_principal_set_realm
218         * lib/krb5/get_cred.c: Insecure tgs referrals.
220         * lib/krb5/get_cred.c: Dont try key usage KRB5_KU_AP_REQ_AUTH for
221         TGS-REQ. This drop compatibility with pre 0.3d KDCs.
222         
223         * lib/krb5/get_cred.c: catch KRB5_GC_CANONICALIZE.
225         * lib/krb5/krb5.h: set KRB5_GC_CANONICALIZE.
227         * kuser/kgetcred.c: set KRB5_GC_CANONICALIZE.
229         * kuser/kgetcred.c: Add stub --canonicalize implementation.
231 2008-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
233         * doc/setup.texi: Fix sasl-regexp, from Howard Chu.
235 2008-03-14  Love Hörnquist Åstrand  <lha@it.su.se>
237         * kdc/kx509.c: Adapt to hx509_env changes.
238         
239 2008-03-10  Love Hörnquist Åstrand  <lha@it.su.se>
241         * lib/krb5/pkinit.c: Try searchin the key by to use by first
242         looking for for PK-INIT EKU, then the Microsoft smart card EKU and
243         last, no special EKU at all.
245 2008-03-09  Love Hörnquist Åstrand  <lha@it.su.se>
247         * lib/krb5/acache.c: Create a new credential cache is ->get_name
248         is called, make acc_initialize() reset the existing credential
249         cache if needed.
251         * lib/krb5/acache.c (acc_get_name): just return the cache_name
252         directly instead of trying to resolve it.
254 2008-02-23  Love Hörnquist Åstrand  <lha@it.su.se>
256         * include/Makefile.am (CLEANFILES): add wind.h and wind_err.h and
257         sort.
259 2008-02-11  Love Hörnquist Åstrand  <lha@it.su.se>
261         * lib/hdb/hdb-ldap.c: Use malloc() instead of static buffer.
263         * lib/hdb/hdb-ldap.c: Use ldap_get_values_len, from LaMont Jones
264         via Brian May and Debian.
266         * doc/Makefile.am: add libwind
268 2008-02-05  Love Hörnquist Åstrand  <lha@it.su.se>
270         * lib/krb5/test_renew.c: Remove extra ;, From Dennis Davis.
272         * lib/krb5/store_emem.c: Make compile on-pre c99 compilers. From
273         Dennis Davis.
275 2008-02-03  Love Hörnquist Åstrand  <lha@it.su.se>
277         * tools/heimdal-gssapi.pc.in: Add wind.
279         * tools/krb5-config.in: Add wind.
281         * lib/krb5/pac.c: Use libwind.
283 2008-02-01  Love Hörnquist Åstrand  <lha@it.su.se>
285         * lib/Makefile.am: SUBDIRS: add wind
287 2008-01-29  Love Hörnquist Åstrand  <lha@it.su.se>
289         * doc/programming.texi: See the Kerberos 5 API introduction and
290         documentation on the Heimdal webpage.
291         
292 2008-01-27  Love Hörnquist Åstrand  <lha@it.su.se>
294         * lib/krb5: better error strings for the keytab fetching functions
296         * lib/krb5/verify_krb5_conf.c: Catch deprecated entries.
298         * lib/krb5/get_cred.c: Remove support
299         for [libdefaults]capath (not [libdefaults] capaths though).
301 2008-01-25  Love Hörnquist Åstrand  <lha@it.su.se>
303         * tools/heimdal-gssapi.pc.in: Fix caps of prefix, from Joakim
304         Fallsjo.
306 2008-01-24  Love Hörnquist Åstrand  <lha@it.su.se>
307         
308         * lib/krb5/fcache.c (fcc_move): more explict why the fcc_move
309         failes, handle cross device moves.
310         
311 2008-01-21  Love Hörnquist Åstrand  <lha@it.su.se>
313         * lib/krb5/get_for_creds.c: Use on variable less.
315         * lib/krb5/get_for_creds.c: Try to handle ticket full and
316         ticketless tickets better. Add doxygen comments while here.
318         * lib/krb5/test_forward.c: Used for testing
319         krb5_get_forwarded_creds().
320         
321         * lib/krb5/Makefile.am: noinst_PROGRAMS += test_forward
323         * lib/krb5/Makefile.am: drop CHECK_SYMBOLS
325         * lib/hdb/Makefile.am: drop CHECK_SYMBOLS
327         * kdc/Makefile.am: drop CHECK_SYMBOLS
329 2008-01-18  Love Hörnquist Åstrand  <lha@it.su.se>
331         * lib/krb5/version-script.map: Add krb5_digest_probe.
332         
333 2008-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
334         
335         * lib/krb5/pkinit.c: Replace hx509_name_to_der_name with
336         hx509_name_binary.
338 2008-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
340         * lib/krb5/Makefile.am: add missing files
342         * Happy new year.