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