log tritan's changes
[krb5.git] / src / kadmin / dbutil / ChangeLog
1 1999-10-26  Tom Yu  <tlyu@mit.edu>
2
3         * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
4         LOCAL_INCLUDES such that one can override CFLAGS from the command
5         line without losing CPP search patchs and defines. Some associated
6         Makefile cleanup. [from wsanchez@apple.com]
7
8 1999-07-06  Ken Raeburn  <raeburn@mit.edu>
9
10         * kdb5_util.c (main): Do try using com_err in the case that
11         krb5_init_context fails, instead of fprintf of the error number.
12
13 1998-11-13  Theodore Ts'o  <tytso@rsts-11.mit.edu>
14
15         * Makefile.in: Set the myfulldir and mydir variables (which are
16                 relative to buildtop and thisconfigdir, respectively.)
17
18 Tue Nov  3 16:28:23 1998  Tom Yu  <tlyu@mit.edu>
19
20         * dump.c: Fix up to work with new crypto API.
21
22 1998-10-27  Marc Horowitz  <marc@mit.edu>
23
24         * dumpv4, loadv4.c, kdb5_create.c, kdb5_stash.c, kdb5_util.c,
25         kadm5_create.c: convert to new crypto api
26
27 Wed Sep 30 00:02:01 1998  Theodore Y. Ts'o  <tytso@mit.edu>
28
29         * dump.c: Add support for changing the master key for a database
30                 as part of creating a dump of the database.
31
32 Thu Aug 20 16:50:00 1998  Tom Yu  <tlyu@mit.edu>
33
34         * kdb5_util.c (add_random_key): Fixes to deal with absence of "-e"
35         flag.
36
37 Wed Aug 19 14:52:40 1998  Tom Yu  <tlyu@mit.edu>
38
39         * kdb5_util.c (add_random_key): New function to create a new
40         random key for a principal while retaining the previous kvno's
41         keys.  This is only temporary until a reasonable kadm5 interface
42         is made.
43
44 1998-05-06  Theodore Ts'o  <tytso@rsts-11.mit.edu>
45
46         * kdb5_stash.c (argv): 
47         * kdb5_destroy.c (kdb5_destroy): 
48         * kdb5_create.c (kdb5_create): POSIX states that getopt returns -1
49                 when it is done parsing options, not EOF.
50
51 Fri Feb 27 23:32:38 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
52
53         * Makefile.in: Changed thisconfigdir to point at the kadmin
54                 directory, since we've moved all of the configure.in
55                 tests to the toplevel kadmin configure.in
56
57 Wed Feb 18 15:55:06 1998  Tom Yu  <tlyu@mit.edu>
58
59         * Makefile.in: Remove trailing slash from thisconfigdir.  Fix up
60         BUILDTOP for new conventions.
61
62 Mon Feb  2 17:02:29 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
63
64         * Makefile.in: Define BUILDTOP and thisconfigdir in the Makefile
65
66 Sun Nov  2 19:09:17 1997  Ezra Peisach  <epeisach@mit.edu>
67
68         * kdb5_util.c: Add flag indicating that policy db is to be closed.
69                 Change '-f" option to "-sf" to indicate stash file on
70                 command line.
71
72         * kdb5_stash.c (kdb5_stash): Indicate that policy db should be
73                 closed, free context when done.
74         
75         * kadm5_create.c (kadm5_create): Fix up memory leaks.
76
77 Wed Oct 22 15:39:38 1997  Ezra Peisach  <epeisach@mit.edu>
78
79         * tcl_wrapper.c: Include either tcl.h or tcl/tcl.h
80
81 Fri Jul 25 15:46:24 1997  Tom Yu  <tlyu@mit.edu>
82
83         * loadv4.c:
84         * kdb5_create.c:
85         * kdb5_destroy.c:
86         * dump.c: Update to new kdb API.
87
88 Thu Jul 17 12:25:41 1997  Ezra Peisach  <epeisach@mit.edu>
89
90         * dump.c (process_k5beta_record): Change variables from char to
91                 krb5_octet to match types in krb5_key_data.
92
93         * ovload.c (process_ov_principal): Change "more" variable to
94                 krb5_boolean as argument to krb5_db_get_principal. 
95
96 Wed Mar 12 01:19:51 1997  Theodore Y. Ts'o  <tytso@mit.edu>
97
98         * loadv4.c (argv): Check to see if the global_param's stash file
99                 is non-NULL before trying to strdup() it.  [PR#341, PR#394]
100
101 Tue Feb  4 21:17:09 1997  Tom Yu  <tlyu@mit.edu>
102
103         * Makefile.in:
104         * configure.in: Update to new program build procedure.
105
106 Tue Dec  3 16:04:24 1996  Barry Jaspan  <bjaspan@mit.edu>
107
108         * kdb5_util.c: fix multiply defined globals [krb5-admin/260]
109
110 Wed Nov 13 00:06:40 1996  Mark Eichin  <eichin@cygnus.com>
111
112         * dump.c (load_db): lock the database directly (having fixed the
113         lock/unlock code) to avoid reopening on every record.
114
115 Mon Nov 11 16:50:25 1996  Mark Eichin  <eichin@cygnus.com>
116
117         * kadmin/dbutil dumpv4 expiration ("never") fixes
118         * kadmin/dbutil loadv4 stashfile, default fixes
119
120         Fri Sep 27 18:45:43 1996  Mark Eichin  <eichin@cygnus.com>
121
122         * dump.c (read_string): fgetc doesn't return char.
123         
124         Wed Sep 11 23:45:11 1996  Mark Eichin  <eichin@cygnus.com>
125
126         * loadv4.c (enter_in_v5_db): set last_pwd_change from the
127         mod_time, not only the mod_princ_data.
128         
129         Wed Sep 11 00:02:33 1996  Mark Eichin  <eichin@cygnus.com>
130
131         * dumpv4.c (dump_v4_iterator): detect expiration time of "never"
132         and fill in a reasonable default (namely, the Cygnus 96q1 default
133         of 12/31/2009.)
134
135         * loadv4.c (v4_dump_find_default): New function. Scans a dumpfile
136         for a "default" entry, which was probably created at kdb_init time
137         and probably hasn't changed from either the MIT default of
138         12/31/1999 or the Cygnus 96q1 default of 12/31/2009.  Check for
139         either value, and replace it with 0, which is understood as
140         "never" in V5.  If verbose is set (-v flag), log either the match
141         or the non-matching value.
142         (process_v4_dump): new argument default_exp_time, the value found
143         by v4_dump_find_default, actually performs the replacement of
144         matching entries.
145         (load_v4db): call v4_dump_find_default to get the default
146         expiration time.
147         * kdb5_util.M: document the above changes.
148
149         Sun Sep  8 01:02:47 1996  Mark W. Eichin  <eichin@kitten.gen.ma.us>
150
151         * kdb5_util.c (usage): document load_v4 -s stashfile.
152         (main): fix typo in usage message.
153         * kdb5_util.M: document load_v4, including new options, removing
154         previously eliminated -f option.
155         * loadv4.c (load_v4db): support -s stashfile option.
156
157 Thu Nov  7 20:53:17 1996  Tom Yu  <tlyu@mit.edu>
158
159         * configure.in: Remove spurious WITH_KRB4.
160
161 Tue Nov  5 16:16:53 1996  Barry Jaspan  <bjaspan@mit.edu>
162
163         * dump.c (load_db): minor fix to code that verifies the specified
164         load version matches the file (autodetect worked anyway)
165
166 Fri Oct 18 14:23:41 1996  Barry Jaspan  <bjaspan@mit.edu>
167
168         * dump.c (load_db): osa_adb_rename_policy_db will create the db,
169         so this function doesn't have to [krb5-admin/58]
170
171         * dump.c (dump_k5beta6_iterator): don't dump tl types that are
172         special to us and the previous version did not understand
173         [krb5-admin/89]
174
175 Tue Oct  8 13:35:56 1996  Barry Jaspan  <bjaspan@mit.edu>
176
177         * dump.c (load_db): rework the way policy database naming and
178         renaming is handled; the code no longer depends on being able to
179         specify admin_dbname specifically (which is no longer supported by
180         the libraries), uses osa_adb_rename_policy instead of doing it
181         directly, and will create a policy db if one does not already
182         exist.  Automated testing is needed. [krb5-admin/62]
183
184         * dump.c (load_db): rename osa_adb_rename_policy to *_db
185
186 Thu Oct  3 18:17:36 1996  Barry Jaspan  <bjaspan@mit.edu>
187
188         * kdb5_util.c (ARG_VAL): case second half of ?: operator to char *
189         to fix problem on AIX; this should have worked anyway because of
190         the , operator but it is easy enough to force the solution, too.
191         [krb5-admin/41]
192
193 Tue Sep 10 14:16:40 1996  Tom Yu  <tlyu@mit.edu>
194
195         * kdb5_edit.M: remove extra args from .TH
196
197         * kdb5_util.M: remove ".so man1/header.doc"
198
199 Mon Sep  9 11:06:29 1996  Theodore Y. Ts'o  <tytso@mit.edu>
200
201         * loadv4.c: Don't call get_config_params again, since it's not
202                 necessary, and breaks the policy database name if it is
203                 manually set.
204
205 Wed Sep  4 17:34:58 1996  Theodore Y. Ts'o  <tytso@mit.edu>
206
207         * loadv4.c (load_v4db): Fix argument parsing so that it actually works!
208                 Eliminated the -f option, as it is superfluous.  Don't
209                 create the policy database if using the -t option, since
210                 it'll already exist.
211
212         * kdb5_util.c (usage): Fix usage message so that it's correct for
213                 load_v4.
214
215 Tue Sep  3 22:12:54 1996  Theodore Y. Ts'o  <tytso@mit.edu>
216
217         * Makefile.in (install): Fixed typo: ($PROG) -> $(PROG)
218
219 Thu Aug 29 11:57:09 1996  Barry Jaspan  <bjaspan@mit.edu>
220
221         * dump.c (dump_db): don't compare apples and iguanas
222
223 Sat Aug 24 21:14:45 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
224
225         * loadv4.c, kdb5_stash.c: Removed unused variable rparams.
226
227 Fri Aug 16 12:00:56 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
228
229         * configure.in: Link with the GSSAPI library, since it's needed
230                 for shared libraries.
231
232 Mon Aug 12 11:41:57 1996  Barry Jaspan  <bjaspan@mit.edu>
233
234         * kdb5_util.c: make mkey_password non-static
235
236         * kdb5_create.c: use global mkey_password
237
238 Mon Aug  5 21:24:47 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
239
240         * kdb5_stash.c (kdb5_stash): Ignore (expected) failure in stashing
241                 key when key not already present in returning exit status.
242
243 Mon Aug  5 14:36:47 1996  Barry Jaspan  <bjaspan@DUN-DUN-NOODLES>
244
245         * all files: reworked for non-ss usage; kdb5_util_ct.ct and
246         ss_wrapper.c are now obsolete
247
248 Thu Aug  1 14:34:51 1996  Barry Jaspan  <bjaspan@DUN-DUN-NOODLES>
249
250         * dump.c, kadm5_create.c, kdb5_create.c: create policy database
251         and kadm5 principals when loading a databas
252
253         * loadv4.c: create empty policy database after loading V4 dump file
254
255         * dumpv4.c (dump_v4db): use global_params.stash_file
256
257         * Makefile.in, Makefile.ov, configure.in, dump.c: add support for
258         dump/load of OV*Secure-compatible format.
259
260 Wed Jul 31 14:55:38 1996  Tom Yu  <tlyu@mit.edu>
261
262         * kdb5_stash.c (kdb5_stash): Declare optind.
263
264 Tue Jul 30 17:51:24 1996  Samuel D Hartman  (hartmans@vorlon)
265
266         * configure.in: Use gssapi library.
267
268 Sat Jul 27 02:16:01 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
269         * kdb5_create.c (kdb5_create): Ignore (expected) failure in
270                 open_db_and_mkey when creating database in returning exit
271                 status.
272
273 Wed Jul 24 02:57:16 1996  Sam Hartman  <hartmans@tertius.mit.edu>
274
275         * loadv4.cdumpv4.c : Fixes for Athena Kerberos
276
277 Wed Jul 24 02:47:07 1996  Sam Hartman  <hartmans@mit.edu>
278
279         * configure.in: Check for kdc.h and krb_db.h for Athena Kerberos.
280
281 Tue Jul 23 17:03:42 1996  Tom Yu  <tlyu@voltage-multiplier.mit.edu>
282
283         * Makefile.in: add dependency for kdb5_util_ct.o
284
285 Thu Jul 18 19:22:04 1996  Marc Horowitz  <marc@mit.edu>
286
287         * configure.in: removed SS_RULES
288
289 Wed Jul 10 19:43:22 1996  Marc Horowitz  <marc@mit.edu>
290
291         * dumpv4.c (configure.in, Makefile.in): make autoconf work after
292         barry's carnage
293
294 Sun May 12 00:27:44 1996  Marc Horowitz  <marc@mit.edu>
295
296         * loadv4.c (enter_in_v5_db, add_principal), kdb5_edit.c
297         (create_db_entry, modent), dumpv4.c (dump_v4_iterator), dump.c
298         (dump_k5beta_iterator, process_k5beta_record): convert to use new
299         krb5_dbe_* tl_data functions.
300
301         * cpw.c (enter_pwd_key): krb5_dbe_cpw() takes a kvno now.
302
303 Tue May  7 23:16:57 1996  Marc Horowitz  <marc@mit.edu>
304
305         * configure.in: USE_KADM_LIBRARY replaced by USE_KADMSRV_LIBRARY
306
307 Thu Apr 11 19:32:36 1996  Richard Basch  <basch@lehman.com>
308
309         * kdb5_edit.c (extract_v4_srvtab): Use the matching key_data's kvno;
310         don't assume that key_data[0]'s kvno is necessarily the matching
311         key_data's kvno.
312
313 Wed Apr 10 19:17:58 1996  Richard Basch  <basch@lehman.com>
314
315         * kdb5_edit.c (extract_v4_srvtab): Translate the principal name to
316         the common V4 name.
317
318 Tue Mar 19 18:00:58 1996  Richard Basch  <basch@lehman.com>
319
320         * kdb5_edit.c (extract_v4_srvtab): do not test to make sure we
321         fetched a key of enctype 1 (des-cbc-crc), since we may have gotten
322         another des key from the database, which is just as useful in a
323         v4 srvtab
324
325         * dumpv4.c (dump_v4_iterator): use krb5_524_conv_principal to do the
326         v5 to v4 principal translation, instead of having yet another
327         hard-coded table.
328
329 Wed Mar  6 16:17:20 1996  Richard Basch  <basch@lehman.com>
330
331         * dumpv4.c: The V4 master key & schedule was never initialized,
332         so the dump created by dump_v4db was garbage.   Read the V4
333         master key from /.k or prompt for the V4 master key password.
334           If there is no V4-salt key in the database, but there is a DES
335         key, include it in the V4 dump, in case it is merely a random 
336         service key for which there is no associated password.
337           Skip over K/M in the V5 database (use the entered V4 master key).
338           Both krbtgt and afs keys often have domain-qualifed instances.
339
340 Tue Mar  5 12:18:22 1996  Richard Basch  <basch@lehman.com>
341
342         * dump.c: POSIX locking requires that the file be opened read-write.
343
344 Mon Feb 26 22:42:09 1996  Mark Eichin  <eichin@cygnus.com>
345
346         * kdb5_edit.c: new command line option -f stashfile.
347         * kdb5_edit.M: document stashfile option.
348
349 Mon Feb 26 22:13:45 1996  Mark Eichin  <eichin@cygnus.com>
350
351         * dump.c (process_k5beta_record): since V4 salt type has no data
352         either, only set key_data_ver to 1 for data_type 0 with 0-length
353         salt. Also, don't include alternate key if akey has all-zero type
354         and length in both fields.
355
356 Sat Feb 24 04:02:18 1996  Mark W. Eichin  <eichin@cygnus.com>
357
358         * dump.c (process_k5beta_record): encrypted keys used to have 4
359         byte lengths in MSB order, need to convert to 2 byte LSB order
360         lengths before storing. Handle primary key and alternate key.
361
362 Fri Feb 23 18:44:10 1996  Mark Eichin  <eichin@cygnus.com>
363
364         * kdb5_edit.c (kdb5_edit_Init): set manual_mkey for testing with -P
365
366 Wed Feb 14 09:52:18 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
367
368         * kdb5_edit.c (enter_master_key, set_dbname_help): If master key
369                 enctype is unknown, set to DEFAULT_KDC_ENCTYPE.
370
371 Tue Feb 13 16:08:07 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>
372
373         * kdb5_edit.c (extract_v4_srvtab): krb5_dbekd_decrypt_key_data
374                 takes krb5_key_data *, not **.
375
376 Tue Jan 30 18:28:57 1996  Mark Eichin  <eichin@cygnus.com>
377
378         * dump.c (load_db): dbrenerr_fmt prints "from" first, so pass it
379         to fprintf correctly.
380
381 Sun Jan 28 14:31:47 1996  Mark Eichin  <eichin@cygnus.com>
382
383         * dump.c (process_k5_record): t2..t9 is only 8 vars, not 9.
384
385 Thu Jan 25 16:07:42 1996  Sam Hartman  <hartmans@tertius.mit.edu>
386
387         * kdb5_edit.c (extract_srvtab): Extract *all* the keys in a
388         dbentry, not the first one.
389         (extract_v4_srvtab): Attempt to find the right v4 keys.
390
391 Wed Jan 24 18:48:38 1996  Tom Yu  <tlyu@dragons-lair.MIT.EDU>
392
393         * Makefile.in: Remove spurious @DEFS@
394
395
396 Wed Dec 13 03:44:58 1995  Chris Provenzano (proven@mit.edu)
397
398         * dump.c, dumpv4.c, kdb5_edit.c, loadv4.c : 
399                 Remove mkvno from krb5_db_entry.
400
401 Sun Dec 10 11:07:51 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
402
403         * kdb5_edit.M: Document that modent exists
404
405         * kdb5_edit.c (modent): Add usage as suggested by jhawk@mit.edu.
406
407 Thu Nov 09 17:05:57 1995  Chris Provenzano (proven@mit.edu)
408
409         * kdb5_edit.c : Remove krb5_enctype from krb5_string_to_key() args.
410
411 Fri Oct 27 13:37:04 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
412
413         * dump.c (process_k5_record): Fix off by one in malloc.
414
415 Mon Oct  9 16:35:19 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
416
417         * kdb5_edit.c (extract_v4_srvtab): Extract a one byte version
418                 number for v4 srvtabs (from warlord).
419
420 Thu Oct  5 10:35:35 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
421
422         * cpw.c: Declare std_ks_tuple as extern.
423         * kdb5_edit.h: Remove std_ks_tuple declaration as not all sources
424                 include adm.h for structures
425
426 Tue Oct  3 23:10:57 1995  Theodore Y. Ts'o  <tytso@dcl>
427
428         * cpw.c (enter_rnd_key, enter_pwd_key):
429         * kdb5_edit.c (kdb5_edit_Init): Use the kdc.conf file to determine
430                 the default list of keysalt tuples to be used.  This is
431                 stored in std_ks_tuple, and is used by cpw.c for random
432                 keys and when a list of keysalts is not specified.
433
434 Mon Sep 18 03:59:47 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
435
436         * kdb5_edit.c (show_principal): Show key version and last password
437                 change. 
438
439         * cpw.c: Fix typo in below change in which list was terminated
440                 after third entry. (extra } removed)
441
442 Fri Sep 15 14:21:25 1995  Theodore Y. Ts'o  <tytso@dcl>
443
444         * cpw.c: Add DES_CBC_MD5 and DES_CBC_CRC with the V4 salt as
445                 default key/salt tuples to be added.  (Once proven's DES_*
446                 folding code is implemented, we can shorten this list.)
447                 Eventually, this list should be read in from kdc.conf.
448
449 Thu Sep  7 20:41:24 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
450
451         * loadv4.c (load_v4db): Provide a dummy routine if krb4
452                 compatibility is not compiled in. 
453
454 Wed Sep 06 14:20:57 1995   Chris Provenzano (proven@mit.edu)
455
456         * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c : 
457                 s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
458
459 Tue Sep 05 22:10:34 1995   Chris Provenzano (proven@mit.edu)
460
461         * cpw.c, dump.c, dumpv4.c, kdb5_edit.c, loadv4.c : Remove krb5_enctype 
462                 references, and replace with krb5_keytype where appropriate.
463
464 Fri Aug 25 17:37:33 EDT 1995    Paul Park       (pjpark@mit.edu)
465         * dumpv4.c - Fix handle_keys().  It was trying to recreate work that
466                 has already been done.
467         * Makefile.in, .Sanitize, loadv4.c, kdb5_ed_ct.ct - Add lddb4, the
468                 command to load a v4 dump file.  This is basically, kdb5_
469                 convert reconstituted to fit within the framework of kdb5_edit.
470
471 Thu Aug 24 19:28:39 1995  Theodore Y. Ts'o  <tytso@dcl>
472
473         * .Sanitize: Update file list
474
475 Mon Aug 21 16:45:39 EDT 1995    Paul Park       (pjpark@mit.edu)
476         * dump.c - Completely rework this logic to support old (e.g. Beta 5
477                 and previous) dump format and new dump format using the same
478                 commands.  This is differentiated by using the "-old" command
479                 qualifier.
480
481         * kdb5_edit.M - Add description of -R and -s.  Remove "ascii represen-
482                 tation of a decimal number".  Remove "Bugs".
483
484 Fri Aug 18 17:06:06 EDT 1995    Paul Park       (pjpark@mit.edu)
485
486         * ss_wrapper.c - Change sense of fgets() check so scripts work.
487
488
489 Tue Aug 15 14:22:50 EDT 1995    Paul Park       (pjpark@mit.edu)
490
491         * kdb5_edit.c, ss_wrapper.c, cpw.c, kdb5_edit.h - Add support for
492                 -s scriptfile and fix up assorted gcc -Wall complaints.
493
494
495 Mon Aug 7 17:32:31 EDT 1995     Paul Park       (pjpark@mit.edu)
496         * cpw.c - Use krb5_string_to_keysalts() to generate a list of unique
497                 key/salt pairs supplied in argv.
498
499
500 Mon Aug 07 11:16:03 1995  Chris Provenzano   (proven@mit.edu)
501
502         * cpw.c : Uses new kdb change password routines for ank, ark, cpw,
503                 and crk. Also remove v4 variants of ank and cpw.
504         * krb5_edit.c : Deleted old variants of rotuines now in cpw.c
505         * kdb5_ed_ct.ct, kdb5_edit.M, tcl_wrapper.c: 
506                 Removed references to v4 variants of ank and cpw.
507         * kdb5_edit.h (enter_pwd_key()) : Removed proto, it's nolonger 
508                 necessary as it's a static routine in cpw.c
509
510 Thu Aug 03 12:13:50 1995  Chris Provenzano   (proven@mit.edu)
511
512         * cpw.c : New change password code for kdb5_edit.
513         * dumpv4.c : Get it to compile with new kdb format.
514
515 Mon Jul 31 15:47:30 EDT 1995    Paul Park       (pjpark@mit.edu)
516         * kdb5_edit.c - Use libkadm string conversion routines.  These are
517                 shared by all utilities.
518         * Makefile.in - Remove getdate.y.
519         * configure.in - Remove getdate.y dependency checks.
520         * getdate.y - Sayonara.
521
522
523 Thu Jul 27 15:01:01 EDT 1995    Paul Park       (pjpark@mit.edu)
524         * configure.in - Add --with-dbm and check for already checking for dbm.
525
526
527 Thu Jul 27 02:59:05 1995   Chris Provenzano (proven@mit.edu)
528
529         * dump.c kdb5_edit.c kdb5_edit.h util.c : Use new kdb format.
530
531 Mon Jul 17 15:00:08 EDT 1995    Paul Park       (pjpark@mit.edu)
532         * configure.in - Add KADM library.
533         * dumpv4.c - Change calling sequence to krb5_db_fetch_mkey().
534         * kdb5_edit.c - Change calling sequence to krb5_db_fetch_mkey() which
535                 uses the stash file.  Add KDC profile reading/handling as a
536                 supplement to command line supplied arguments.
537
538
539 Wed Jul 12 12:01:04 EDT 1995    Paul Park       (pjpark@mit.edu)
540         * configure.in - Temporarily add --with-kdb4 option.  Default is without
541                 kdb4.  Without kdb4 enables a define.  With kdb4 uses -lkdb4 and
542                 -l[n]dbm libraries.
543         * dumpv4.c -  Conditionalize references to kdb4 routines with
544                 KDB4_DISABLE.  Replace two required routines:
545                         kdb_encrypt_key -> pcbc_encrypt
546                         kdb_get_master_key -> des_read_password/printf/key_sched
547
548
549 Fri Jul 7 15:38:00 EDT 1995     Paul Park       (pjpark@mit.edu)
550         * Makefile.in - Remove all explicit library handling and LDFLAGS.
551         * configure.in - Add USE_<mumble> and KRB5_LIBRARIES.
552
553
554 Thu Jun 15 15:34:59 EDT 1995    Paul Park       (pjpark@mit.edu)
555         * Makefile.in - Change explicit library names to -l<lib> form, and
556                 change target link line to use $(LD) and associated flags.
557                 Also, for K4, use KRB4_LIB and KRB4_CRYPTO_LIB, these wer
558                 split out.
559         * configure.in - Add shared library usage check.
560
561 Fri Jun  9 18:14:43 1995    <tytso@rsx-11.mit.edu>
562
563         * configure.in: Remove standardized set of autoconf macros, which
564                 are now handled by CONFIG_RULES.
565
566         * dumpv4.c: Change name of controlling #ifdef to be
567                 KRB5_KRB4_COMPAT instead of KRB4.
568
569 Sun May 21 14:20:32 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
570
571         * dumpv4.c: Include k5-int.h before krb.h so that PROTOTYPE is not
572                 redefined. 
573
574 Sun May  7 13:46:30 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
575
576         * configure.in: Add AC_HEADER_STDC to define STDC_HEADERS for
577                 getdate.y. 
578
579 Mon May  1 13:36:41 1995  Theodore Y. Ts'o  (tytso@dcl)
580
581         * kdb5_edit.c (kdb5_edit_Init): Check the return code from
582                 kdb5_init_context().
583
584 Fri Apr 28 18:04:26 1995  Mark Eichin  <eichin@cygnus.com>
585
586         * Makefile.in (LOCAL_LIBRARIES): put KRB4_LIB inside KLIB, and put
587         KDB4_LIB ahead of them both.
588
589 Thu Apr 27 13:47:23 1995  Mark Eichin  <eichin@cygnus.com>
590
591         * Makefile.in (LOCAL_LIBRARIES): use KRB4_LIB and KDB4_LIB
592         directly.
593         * configure.in: just use WITH_KRB4.
594
595 Wed Apr 19 13:59:47 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>
596
597         * kdb5_edit.c (kdb5_edit_Init): If a default realm is specified
598                 (with -r), use krb5_set_default_realm so that created keys
599                 will have the correct realm.
600
601 Thu Mar 23 23:28:26 1995  Theodore Y. Ts'o  <tytso@dcl>
602
603         * kdb5_edit.c (show_principal, parse_princ_args): Add
604                 "support_desmd5" flag.
605
606 Tue Mar 14 16:29:05 1995    <tytso@rsx-11.mit.edu>
607
608         * ss_wrapper.c (main): Set the return code from ss_execute_line(),
609                 so that appropriate error checking is done.
610
611 Thu Mar  2 12:18:57 1995  Theodore Y. Ts'o  <tytso@dcl>
612
613         * Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
614
615 Wed Mar  1 11:53:02 1995  Theodore Y. Ts'o  <tytso@dcl>
616
617         * configure.in: Remove ISODE_INCLUDE, replace check for -lsocket
618                 and -lnsl with WITH_NETLIB check.
619
620 Tue Feb 28 02:06:26 1995  John Gilmore  (gnu at toad.com)
621
622         * dump.c, dumpv4.c, kdb5_edit.c, ss_wrapper.c, tcl_wrapper.c,
623         util.c: Avoid <krb5/...> includes.
624
625 Thu Feb 23 19:52:35 1995  Mark Eichin  (eichin@cygnus.com)
626
627         * kdb5_edit.c: add struct timeb and sys/timeb includes from
628         getdate.y.
629         (ftime): new function, in case we don't HAVE_FTIME.
630
631 Tue Feb 14 17:55:47 1995  Tom Yu  (tlyu@dragons-lair)
632
633         * kdb5_edit.c: add modent
634         * getdate.y: import get_date
635         * kdbt_ed_ct.ct: add modent
636         * configure.in:
637         * Makefile.in: support for getdate.y
638
639 Wed Feb  8 20:08:36 1995  Tom Yu  (tlyu@dragons-lair)
640
641         * kdb5_edit.c (show_principal): make sane and print all useful
642         fields
643
644 Wed Jan 25 16:54:40 1995  Chris Provenzano (proven@mit.edu)
645
646         * Removed all narrow types and references to wide.h and narrow.h
647
648 Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)
649
650     * Added krb5_context to all krb5_routines
651
652 Mon Dec 19 18:04:11 1994  Theodore Y. Ts'o  (tytso@dcl)
653
654         * configure.in:
655         * Makefile.in:
656         * dumpv4.c (dump_v4db): Do the right thing if we are compiling
657                 without V4 support.  (The dump_v4db command is disabled.)
658
659 Wed Dec  7 00:07:46 1994    <tytso@rsx-11.mit.edu>
660
661         * dumpv4.c (v4_print_time): gmtime expects a pointer to a time_t,
662                 not a long. On most systems these are the same, on
663                 others.... 
664
665 Wed Nov 16 01:03:42 1994  Mark Eichin  (eichin@cygnus.com)
666
667         * dumpv4.c: new file. New command dump_v4db which creates a v4
668         slave dump out of a v5 database, leaving out any keys which aren't
669         using v4 salt, and any keys that aren't for the current
670         realm. Reencrypts using v4 master key, synthesizes arbitrary
671         master key version number.
672         * configure.in: use WITH_KRB4 for dump support.
673         * kdb5_ed_ct.ct: add new dump_v4 command.
674         * Makefile.in: link in dumpv4.
675
676 Fri Oct 14 23:31:49 1994  Theodore Y. Ts'o  (tytso@dcl)
677
678         * dump.c (load_db): When scanning a database entry, read
679                 fail_auth_count into a temporary integer variable, and
680                 then copy that into entry.fail_auth_count, which is a
681                 char.  
682
683 Fri Oct  7 00:01:40 1994  Theodore Y. Ts'o  (tytso@dcl)
684
685         * kdb5_edit.c (kdb5_edit_Init): Don't let errors in
686                 set_dbname_help initially cause the exit status to be set.
687                 Commands like load_db don't need a valid database to be
688                 opened.
689
690         * ss_wrapper.c (main): Clear code before ss_execute_line, since
691                 ss_execute_line doesn't set code to 0 if there are no
692         problems. 
693
694         * kdb5_edit.c (kdb5_edit_Init): Add a new option so that the
695                 master key password can be entered on the command line ---
696                 for testing only; not documented!!
697
698 Mon Oct  3 19:10:47 1994  Theodore Y. Ts'o  (tytso@dcl)
699
700         * Makefile.in: Use $(srcdir) to find manual page for make install.
701
702 Thu Sep 29 15:52:22 1994  Theodore Y. Ts'o  (tytso@dcl)
703
704         * dump.c (update_ok_file): Make sure mod time on the dump_ok file
705                 is updated.  (Some systems don't update the mod-time when
706                 a file is opened for writing.)
707
708         * Makefile.in: Relink executable when libraries change.
709
710         * kdb5_edit.c (show_principal): Pass variable with correct type to
711                 ctime().
712
713         * tcl_wrapper.c (doquit):
714           ss_wrapper.c (main):
715           kdb5_edit.c:
716           dump.c: Exit with a non-zero exit status if there was an error
717                   in a executed command.
718
719 Thu Sep 15 11:00:30 1994  Theodore Y. Ts'o  (tytso@dcl)
720
721         * dump.c (load_db): Fix error string on failed fopen. ("for
722                 writing" -> "for reading")
723
724