Revert "Use size_t where appropriate."
[heimdal.git] / ChangeLog
blob2d1846eb1df1a67d393784c70c9a660571090fa2
1 2008-04-08  Love Hörnquist Åstrand  <lha@it.su.se>
3         * doc/setup.texi: Add text about smbk5pwd overlay from Buchan
4         Milne.
5         
6         * lib/krb5/krb5_locl.h: Name the pkinit type enum.
8         * kdc/pkinit.c: Rename constants to match global header.
10         * lib/krb5/pkinit.c: Drop krb5_pk_identity and rename constants to
11         match global header.
13         * kdc/pkinit.c: Pick up krb5_pk_identity from krb5_locl.h.
15         * lib/krb5/scache.c (scc_alloc): %x is unsigned int.
16         
17 2008-04-07  Love Hörnquist Åstrand  <lha@it.su.se>
19         * lib/krb5/version-script.map: Sort and add krb5_cc_switch.
21         * lib/krb5/acache.c: Use unsigned where appropriate.
23         * kcm/glue.c: Adapt to chenge to krb5_cc_ops.
25         * kcm/acl.c: Add missing op.
27         * kdc/connect.c: Use unsigned where appropriate.
29         * lib/krb5/n-fold.c: Use size_t where appropriate.
31         * lib/krb5/get_addrs.c: Use unsigned where appropriate.
33         * lib/krb5/crypto.c: Use unsigned where appropriate.
35         * lib/krb5/crc.c: Use unsigned where appropriate.
37         * lib/krb5/changepw.c: simplify
39         * lib/krb5/copy_host_realm.c: simplify
41         * kuser/kswitch.c: Implement --principal.
43 2008-04-05  Love Hörnquist Åstrand  <lha@it.su.se>
45         * lib/krb5/cache.c: allow returning the default cc-type.
47         * kuser/kswitch.c: Enable switching between existing caches.
49         * lib/krb5/cache.c: Add krb5_cc_switch, to set the default
50         credential cache.
52         * lib/krb5/acache.c: Implement set_default.
54         * lib/krb5/krb5.h: Extend krb5_cc_ops and add set_default to set
55         the default cc name for a credential type.
57 2008-04-04  Love Hörnquist Åstrand  <lha@it.su.se>
59         * lib/krb5/test_cc.c: test remove
61         * lib/krb5/fcache.c: Make the remove cred slight more atomic, now
62         it might lose creds, but there will be no empty cache at any time.
64         * lib/krb5/scache.c: Do credential iteration by temporary table.
66 2008-04-02  Love Hörnquist Åstrand  <lha@it.su.se>
68         * lib/krb5/acache.c: Translate ccErrInvalidCCache.
70         * lib/krb5/scache.c: implemetation of a sqlite3 backed credential
71         cache.
73         * lib/krb5/test_cc.c: test acc and scc
75         * lib/krb5/acache.c: Only release context if its in use.
77 2008-04-01  Love Hörnquist Åstrand  <lha@it.su.se>
79         * doc/setup.texi: No patching of OpenLDAP is needed, from Buchan
80         Milne.
82 2008-03-30  Love Hörnquist Åstrand  <lha@it.su.se>
84         * lib/krb5/Makefile.am: Add scache.
86         * lib/krb5/scache.c: initial implementation
88         * lib/Makefile.am: sqlite
90         * configure.in: lib/sqlite/Makefile
92 2008-03-26  Love Hörnquist Åstrand  <lha@it.su.se>
94         * lib/krb5/fcache.c: Make the storing credential an atomic
95         write(2) to avoid signal races, bug traced by Harald Barth and Lars
96         Malinowsky.
98 2008-03-25  Love Hörnquist Åstrand  <lha@it.su.se>
100         * lib/krb5/fcache.c: Make erase_file() do locking too.
102         * kcm/protocol.c: Make work when moving to a non-existant
103         cred-cache.
105         * lib/krb5/test_cc.c: more verbose info.
106         
107         * lib/krb5/test_cc.c: test krb5_cc_move().
108         
109 2008-03-23  Love Hörnquist Åstrand  <lha@it.su.se>
110         
111         * lib/krb5/get_cred.c: Try both kdc server referral and the old
112         client chasing mode.
114         * lib/krb5/get_cred.c: Don't do canonicalize by default, make
115         add_cred() sane, make loop detection in credential fetching
116         better.
118         * lib/krb5/krb5_locl.h: Add flag EXTRACT_TICKET_AS_REQ.
120         * lib/krb5/init_creds_pw.c: Tell _krb5_extract_ticket that this is
121         an AS-REQ.
123         * lib/krb5/get_in_tkt.c: Make server referral work.
124         
125 2008-03-22  Love Hörnquist Åstrand  <lha@it.su.se>
126         
127         * lib/krb5/get_in_tkt.c: check no server referral, don't use
128         stringent length tests since encryption layer does padding for
129         us...
131         * kdc/kerberos5.c: Match name in ClientCanonicalizedNames with -10
133         * lib/krb5/principal.c (_krb5_principal_compare_PrincipalName):
134         new function to compare a principal to a PrincipalName.
136         * lib/krb5/init_creds_pw.c: Move client referral checking to
137         _krb5_extract_ticket().
139         * lib/krb5/get_in_tkt.c: More bits for server referral.
141         * lib/krb5/get_in_tkt.c: Make working with client referrals.
143         * lib/krb5/get_cred.c: Try moving referrals checking into
144         _krb5_extract_ticket().
146         * lib/krb5/get_in_tkt.c: Try moving referrals checking into
147         _krb5_extract_ticket().
149 2008-03-21  Love Hörnquist Åstrand  <lha@it.su.se>
150         
151         * kdc/krb5tgs.c: Send SERVER-REFERRAL data in rep.padata instead
152         of auth_data in ticket.
154 2008-03-20  Love Hörnquist Åstrand  <lha@it.su.se>
156         * lib/krb5/init_creds_pw.c: remove lost bits from using
157         krb5_principal_set_realm
158         
159         * kdc/krb5tgs.c: Better referrals support, use canonicalize flag.
161         * kdc/hprop.c: use krb5_principal_set_realm
163         * lib/krb5/init_creds_pw.c: use krb5_principal_set_realm
165         * lib/krb5/verify_user.c: use krb5_principal_set_realm
167         * lib/krb5/version-script.map: add krb5_principal_set_realm
169         * lib/krb5/principal.c: add krb5_principal_set_realm
171         * lib/krb5/get_cred.c: Insecure tgs referrals.
173         * lib/krb5/get_cred.c: Dont try key usage KRB5_KU_AP_REQ_AUTH for
174         TGS-REQ. This drop compatibility with pre 0.3d KDCs.
175         
176         * lib/krb5/get_cred.c: catch KRB5_GC_CANONICALIZE.
178         * lib/krb5/krb5.h: set KRB5_GC_CANONICALIZE.
180         * kuser/kgetcred.c: set KRB5_GC_CANONICALIZE.
182         * kuser/kgetcred.c: Add stub --canonicalize implementation.
184 2008-03-19  Love Hörnquist Åstrand  <lha@it.su.se>
186         * doc/setup.texi: Fix sasl-regexp, from Howard Chu.
188 2008-03-14  Love Hörnquist Åstrand  <lha@it.su.se>
190         * kdc/kx509.c: Adapt to hx509_env changes.
191         
192 2008-03-10  Love Hörnquist Åstrand  <lha@it.su.se>
194         * lib/krb5/pkinit.c: Try searchin the key by to use by first
195         looking for for PK-INIT EKU, then the Microsoft smart card EKU and
196         last, no special EKU at all.
198 2008-03-09  Love Hörnquist Åstrand  <lha@it.su.se>
200         * lib/krb5/acache.c: Create a new credential cache is ->get_name
201         is called, make acc_initialize() reset the existing credential
202         cache if needed.
204         * lib/krb5/acache.c (acc_get_name): just return the cache_name
205         directly instead of trying to resolve it.
207 2008-02-23  Love Hörnquist Åstrand  <lha@it.su.se>
209         * include/Makefile.am (CLEANFILES): add wind.h and wind_err.h and
210         sort.
212 2008-02-11  Love Hörnquist Åstrand  <lha@it.su.se>
214         * lib/hdb/hdb-ldap.c: Use malloc() instead of static buffer.
216         * lib/hdb/hdb-ldap.c: Use ldap_get_values_len, from LaMont Jones
217         via Brian May and Debian.
219         * doc/Makefile.am: add libwind
221 2008-02-05  Love Hörnquist Åstrand  <lha@it.su.se>
223         * lib/krb5/test_renew.c: Remove extra ;, From Dennis Davis.
225         * lib/krb5/store_emem.c: Make compile on-pre c99 compilers. From
226         Dennis Davis.
228 2008-02-03  Love Hörnquist Åstrand  <lha@it.su.se>
230         * tools/heimdal-gssapi.pc.in: Add wind.
232         * tools/krb5-config.in: Add wind.
234         * lib/krb5/pac.c: Use libwind.
236 2008-02-01  Love Hörnquist Åstrand  <lha@it.su.se>
238         * lib/Makefile.am: SUBDIRS: add wind
240 2008-01-29  Love Hörnquist Åstrand  <lha@it.su.se>
242         * doc/programming.texi: See the Kerberos 5 API introduction and
243         documentation on the Heimdal webpage.
244         
245 2008-01-27  Love Hörnquist Åstrand  <lha@it.su.se>
247         * lib/krb5: better error strings for the keytab fetching functions
249         * lib/krb5/verify_krb5_conf.c: Catch deprecated entries.
251         * lib/krb5/get_cred.c: Remove support
252         for [libdefaults]capath (not [libdefaults] capaths though).
254 2008-01-25  Love Hörnquist Åstrand  <lha@it.su.se>
256         * tools/heimdal-gssapi.pc.in: Fix caps of prefix, from Joakim
257         Fallsjo.
259 2008-01-24  Love Hörnquist Åstrand  <lha@it.su.se>
260         
261         * lib/krb5/fcache.c (fcc_move): more explict why the fcc_move
262         failes, handle cross device moves.
263         
264 2008-01-21  Love Hörnquist Åstrand  <lha@it.su.se>
266         * lib/krb5/get_for_creds.c: Use on variable less.
268         * lib/krb5/get_for_creds.c: Try to handle ticket full and
269         ticketless tickets better. Add doxygen comments while here.
271         * lib/krb5/test_forward.c: Used for testing
272         krb5_get_forwarded_creds().
273         
274         * lib/krb5/Makefile.am: noinst_PROGRAMS += test_forward
276         * lib/krb5/Makefile.am: drop CHECK_SYMBOLS
278         * lib/hdb/Makefile.am: drop CHECK_SYMBOLS
280         * kdc/Makefile.am: drop CHECK_SYMBOLS
282 2008-01-18  Love Hörnquist Åstrand  <lha@it.su.se>
284         * lib/krb5/version-script.map: Add krb5_digest_probe.
285         
286 2008-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
287         
288         * lib/krb5/pkinit.c: Replace hx509_name_to_der_name with
289         hx509_name_binary.
291 2008-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
293         * lib/krb5/Makefile.am: add missing files
295         * Happy new year.