summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/ccache/file/ChangeLog
blob: 8b568c1781c6a2d12cebb2f0143d5f284202ceb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
Thu Aug 15 16:46:00 1996  Tom Yu  <tlyu@mit.edu>

	* fcc_retrv.c (flags_match): Add parens to def'n of flags_match to
		make comparison correct. (== has higher precedence than &)

Wed Jun 12 01:04:27 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* fcc-proto.h: Change use of PROTOTYPE to KRB5_PROTOTYPE.
		Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP.

	* fcc-getnam.c: Change use of INTERFACE to KRB5_CALLCONV and
		KRB5_DLLIMP, since fcc_getname returns a char * and the
		old INTERFACE method bombs out when the return type
		contains an indirection.

Mon Jun 10 21:44:07 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* fcc_read.c:
	* fcc_ops.c: Change _WINDOWS to _MSDOS, and add check for _WIN32.

Wed Feb 14 10:44:27 1996    <tytso@rsts-11.mit.edu>

	* fcc_read.c (krb5_fcc_read_keyblock, krb5_fcc_read_data,
		krb5_fcc_read_authdatum, krb5_fcc_read_addr): For windows,
		mask off low 16 bits because Gradient DCE does things
		wrong.

Wed Mar 20 22:48:51 1996  Theodore Y. Ts'o  <tytso@dcl>

	* fcc-proto.h (krb5_fcc_skip_header): Added prototype (fix Windows
		lint flames).

Sat Feb 24 19:16:23 1996  Theodore Y. Ts'o  <tytso@dcl>

	* fcc_destry.c (krb5_fcc_destroy): For MS-DOS filesystems, you
		must close the file before unlinking it, otherwise the
		unlink() will fail.

Thu Feb 15 14:55:56 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* fcc_skip.c (krb5_fcc_skip_header): If version is not FVNO_4, do not
		seek forward a random stack value.

Thu Feb  1 15:45:23 1996  Sam Hartman  <hartmans@tertius.mit.edu>

	* fcc_retrv.c (ktype_reasonable): removed.
	(krb5_fcc_retrieve): Accept any enctype unless specific enctype is
		being matched. 

Wed Jan 24 21:36:34 1996  Sam Hartman  <hartmans@tertius.mit.edu>

	* fcc_retrv.c (ktype_reasonable): Renamed ktype_match because it
        didn't really match enctypes.  Instead, it just determined whether
        they were something the TGS would likely return.  When I ask for
        an exact enctype match, I want an enctype match.
	(krb5_fcc_retrieve): Match keytype exactly if matching enctype.

Wed Jan 10 21:14:31 1996  Theodore Y. Ts'o  <tytso@dcl>

	* fcc.h (KRB5_FCC_DEFAULT_VNO): Remove KRB5_FCC_DEFAULT_VNO; now
		set in init_ctx.c.

	* fcc_maybe.c (krb5_fcc_open_file): 
	* fcc_gennew.c (krb5_fcc_generate_new): Use
		context->fcc_default_format to determine the credentials
		cache type.

	* fcc_read.c (krb5_fcc_read_keyblock): If reading in a version 3
		credentials cache, ignore the second enctype stored in the
		ccache; just read it into a dummy variable.

Thu Dec 21 18:28:09 1995  Theodore Y. Ts'o  <tytso@dcl>

	* fcc_maybe.c (krb5_fcc_open_file): In the case of
		FCC_OPEN_AND_ERASE, unlink the old filename, and then add
		the O_EXCL open flag, to prevent O_CREAT from following a
		symbolic link.
		(krb5_fcc_open_file): Use KRB5_CC_FORMAT as an error code
		instead of KRB5_CCACHE_BADVNO, when it's really a format
		error in the credentials cache file.

Fri Oct  6 22:03:16 1995  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in: Remove ##DOS!include of config/windows.in.
		config/windows.in is now included by wconfig.

Mon Sep 25 16:56:41 1995  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the
		Makefile. 

Wed Sep 13 10:56:00 1995 Keith Vetter (keithv@fusion.com)

	* fcc_maybe.c: signed/unsigned mismatch.

Mon Sep 11 21:05:40 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* fcc_maybe.c (krb5_fcc_open_file): use THREEPARAMOPEN instead of
	just open.

Wed Sep 06 14:20:57 1995   Chris Provenzano (proven@mit.edu)

         * file_read.c, file_write.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g

Wed Sept 6 12:00:00 EDT 1995	James Mattly	(mattly@fusion.com)

	* fcc_retrv.c: for _MACINTOSH, defined register to null for compiler
	 prototype problems.

	* fcc_maybe.c: included <stdio.h>

Tue Sep 05 22:58:52 1995

	* fcc.h : Add another KRB5_FCC_FVNO but don't up the default.
	* fcc_gennew.c, fcc_maybe.c : New version saves a length after 
		version for whatever we want to put into the ccache before 
		the first credential (like a time skew)
        * fcc_read.c, fcc_write.c : Remove krb5_enctype references, and 
		replace with krb5_keytype where appropriate
  
Tue Aug 29 13:36:00 EDT 1995	Paul Park	(pjpark@mit.edu)
	* fcc_reslv.c - Set magic number in successfully resolved ccache.

Tue Jul 11 19:26:47 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* fcc-proto.h: Add prototype for krb5_fcc_read. Indicate that
		krb5_change_cache takes no arguments. 
	

Wed July  5 15:52:31 1995  James Mattly  <mattly@fusion.com>
	* fcc_destroy.c changed open to THREEPARAMOPEN for macintosh
	opens
	* fcc_gennew.c conditons for HAS_MACSOCK_H and THREEPARAMOPEN
	* fcc_maybe.c conditons for HAS_MACSOCK_H

Wed Nov 15 20:39:18 1995  Mark Eichin  <eichin@cygnus.com>

	* fcc_maybe.c (fcc_lock_file_posix): initialize lock_arg to a copy
 	of a static (thus zero) struct flock, to avoid panic'ing sunos
 	4.1.4.

Wed Jun 14 23:54:09 1995  Theodore Y. Ts'o  (tytso@dcl)

	* fcc_errs.c (krb5_fcc_interpret): Add #ifdef around switch
		statement for ETXTBUSY.

Sat Jun 10 00:01:23 1995  Theodore Y. Ts'o  <tytso@dcl>

	* fcc_init.c (krb5_fcc_initialize): Make sure the status return
	        from krb5_fcc_store_principal is reflected in the return
		status of krb5_fcc_initialize().

Fri Jun  9 19:30:01 1995    <tytso@rsx-11.mit.edu>

	* configure.in: Remove standardized set of autoconf macros, which
		are now handled by CONFIG_RULES.

	* fcc_maybe.c: Fix -Wall nits

Fri May 26 20:19:39 1995  Theodore Y. Ts'o  (tytso@dcl)

	* configure.in, Makefile.in: Add support for building shared libraries.

Thu May 25 15:37:39 1995 Keith Vetter (keithv@fusion.com)

	* fcc_maybe.c: the NEED_SOCKETS has to be before the #include line.

Tue May 23 16:28:07 1995  Theodore Y. Ts'o  (tytso@dcl)

	* fcc_maybe.c: Rearrange #include files so that krb5.h gets
		included first, so that the debugging information can be
		more efficiently collapsed since the type numbers will be
		the same.

Tue May  9 16:23:39 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* fcc_close.c (krb5_fcc_close): Remove <malloc.h> as not all
		platforms have it and k5-int.h already takes care of
		malloc declarations.

Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com)

	* *.[ch]: removed unneeded INTERFACE from non-api functions.

Wed Mar 22 11:24:07 1995 Keith Vetter (keithv@fusion.com)

	* fcc-proto.h: added prototype for cache changing hook, 
	* fcc.h: changed cache file location for the PC (out of /tmp).
        * fcc_ops.h: made the cache changing hook return an error code.

Tue Mar 21 19:14:49 1995 Keith Vetter (keithv@fusion.com)

	* fcc_destroy.c: open file on the PC in binary mode, worked around
           the unixism of working with deleted files.
        * fcc_genn.c: open file on the PC in binary mode.
        * fcc_init.c: uninitialized variable on the PC.
        * fcc_maybe.c: open file on the PC in binary mode.
        * fcc_read.c: a real clever one-line piece of code to turn 4 bytes 
           into a 32 bit integer fails miserbly on 16 bit machines. Fixed.
        * fcc_ops.c: added hooks to notify programs when the ccache changes.
           For windows, the code is taken from the K4 release, for other
           platforms it does nothing.
        * fcc_destroy.c, fcc_genn.c, fcc_init.c, fcc_store.c: added calls to
           the hook described for fcc_ops.c.

Fri Mar 17 19:23:09 1995  John Gilmore  (gnu at toad.com)

	* Makefile.in (LDFLAGS):  Eliminate, duplicates config/pre.in.

Wed Mar 15 12:07:28 1995 Keith Vetter (keithv@fusion.com)

	* fcc_eseq.c, fcc_init.c, fcc_maybe.c, fcc_dest.c:
	   Initialized return code.
	* fcc_genn.c, fcc_init.c: removed chmod call for the PC

Thu Mar 09 18:43:10 1995  Chris Provenzano (proven@mit.edu)

	* fcc_destry.c (krb5_fcc_destroy())
	* fcc_init.c   (krb5_fcc_initialize())
		Initialize kret before returning it.

	* fcc_maybe.c (fcc_lock_file()) Initialize st before returning it.

Tue Mar  7 19:54:48 1995  Mark Eichin  <eichin@cygnus.com>

	* configure.in: take out ISODE_DEFS.

Tue Mar 7 15:58:15 1995 Keith Vetter (keithv@fusion.com)

	* fcc.h: alwas pull in low-level i/o stuff for the PC.
        * *.c, fcc-proto.h: added windows INTERFACE keyword.
        * fcc_dest.c, fcc_init.c, fcc_maybe.c, fcc_nseq.c, fcc_read.c, 
           fcc_sseq.c, fcc_write.c: fixed up some int/long and 
           signed/unsigned problems.

Tue Feb 28 00:35:55 1995  John Gilmore  (gnu at toad.com)

	* fcc.h, fcc_gennew.c, fcc_maybe.c:  Avoid <krb5/...> includes.

Tue Feb 21 16:14:25 1995  Mark Eichin  (eichin@cygnus.com)

	* configure.in: check for HAVE_FLOCK, since we may need to use
	both flock and fcntl.
	* fcc_maybe.c: try fcntl lock, if we get EINVAL specifically, fall
	back to flock (if we have it.)

Fri Jan 27 00:49:36 1995  Chris Provenzano (proven@mit.edu)

        * Fix fcc_read.c (krb5_fcc_read_authdatum()) krb5_authdatatype
                is of type unsigned int and therefore shouldn't be the
                argument to krb5_fcc_read_ui_2(). 

Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)

	* Added krb5_context to all krb5_routines

Wed Dec  7 16:58:59 1994    <tytso@rsx-11.mit.edu>

	* fcc_write.c (krb5_fcc_store_addrs): If a null addresses is
		passed in, don't core dump.

Fri Nov 18 17:22:51 1994  Theodore Y. Ts'o  (tytso@dcl)

	* fcc_read.c (krb5_fcc_read_principal): Fix to return correct
		error code, instead of always returning KRB5_CC_NOMEM.

Wed Nov 16 23:31:49 1994  Theodore Y. Ts'o  (tytso@dcl)

        * fcc-proto.h, fcc.h, fcc_maybe.c (krb5_fcc_open_file), fcc_nseq.c
	(krb5_fcc_next_cred), fcc_store.c (krb5_fcc_store), fcc_read.c,
	fcc_write.c:  Changes to implement FCC format version #3, which
		is architecture independent, and includes the key
		encryption type information.

	* fcc_gennew.c (krb5_fcc_generate_new): Generate new ccaches using
		whatever version is marked as the default.

	* fcc_read.c (krb5_fcc_read_keyblock): Insert keyblock magic
		number and initialize etype value.  Also add magic numbers
		for the krb5_principal, krb5_data, krb5_address, and
		krb5_authdata structures.

Mon Oct 31 17:02:04 1994  Theodore Y. Ts'o  (tytso@dcl)

	* fcc_maybe.c: Back out POSIX_FILE_LOCKS change.  (Should be
		depending on autoconf.h to supply this #define if
		necessary.) 

Thu Oct 13 17:23:42 1994  Theodore Y. Ts'o  (tytso@maytag)

	* configure.in: Add ISODE_DEFS

Fri Oct  7 14:18:44 1994  Theodore Y. Ts'o  (tytso@dcl)

	* configure.in: Add test for unistd.h
	* fcc_maybe.c: Use POSIX_FILE_LOCKS if _POSIX_VERSION is defined.

Fri Sep 30 21:54:20 1994  Theodore Y. Ts'o  (tytso@dcl)

	* fcc_defops.c (krb5_cc_file_ops):
	  fcc_ops.c (krb5_fcc_ops): Add placeholder for magic number

Thu Sep 22 21:37:15 1994  Theodore Y. Ts'o  (tytso@dcl)

	* fcc_destry.c (krb5_fcc_destroy): Make sure memory associated
		with the credentials cache is freed after it is destroyed.

Thu Aug 18 16:33:33 1994  Theodore Y. Ts'o  (tytso at tsx-11)

	* fcc_retrv.c (srvname_match): Fix bug in srvname_match where so
	that the server realm is really ignored in the compare, like it's
	supposed to be.

Mon Jun 20 19:36:19 1994  Theodore Y. Ts'o  (tytso at tsx-11)

	* fcc.h: #include <krb5/osconf.h> so that build works using imake.