Fix additional cases where krb5.h is included before k5-int.h. In most cases,
[krb5.git] / src / lib / kadm5 / ChangeLog
1 2005-11-17  Ken Raeburn  <raeburn@mit.edu>
2
3         * admin.h: Include kdb.h instead of k5-int.h.
4         * kadm_rpc_xdr.c, server_internal.h: Include errno.h instead of
5         k5-int.h.
6
7 2005-08-20  Ken Raeburn  <raeburn@mit.edu>
8
9         * configure.in: Use K5_AC_INIT instead of AC_INIT.
10
11         * kadm_rpc.h: Remove krb5_ui_4 casts on RPC defined numbers.
12         Remove argument names from RPC proc declarations.  Reorder
13         declarations, change whitespace.  Renamed all RPC functions from
14         _1 to _2 to match current program version number.
15
16 2005-06-20  Ken Raeburn  <raeburn@mit.edu>
17
18         Novell merge.
19         * Makefile.in (adb_err.*): Targets deleted.
20         (SRCS, OBJS, clean, STLIBOBJS, BUILD_HDRS): Delete references to
21         adb_err.*.
22         (HDRS, SRC_HDRS): Delete references to adb.h.
23         * adb_err.et: Moved to lib/kdb.
24         * admin.h: Don't include kadm5/adb_err.h.
25         (krb5_key_salt_tuple): Delete typedef and struct definition.
26         (kadm5_init, kadm5_init_with_password, kadm5_init_with_skey,
27         kadm5_init_with_creds, ovsec_kadm_init,
28         ovsec_kadm_init_with_password, ovsec_kadm_init_with_skey): Add new
29         char** argument for arbitrary db args.
30         * admin_xdr.h: Include server_internal.h.
31         (xdr_krb5_key_data, xdr_osa_pw_hist_ent): Declare.
32         * kadm_err.et (KADM5_XDR_FAILURE): New error code.
33         * kadm_rpc.h (struct generic_ret, struct gprincs_ret, struct
34         chrand_ret, struct gprinc_ret, struct gpol_ret, struct gpols_ret,
35         struct getprivs_ret): Add new field for error-string return.
36         * kadm_rpc_xdr.c (xdr_generic_ret, xdr_gprincs_ret,
37         xdr_chrand_ret, xdr_gprinc_ret, xdr_gpol_ret, xdr_gpols_ret,
38         xdr_getprivs_ret): Encode/decode new field.
39         * ovsec_glue.c (ovsec_kadm_init_with_password,
40         ovsec_kadm_init_with_skey, ovsec_kadm_init): Pass through new
41         argument to kadm5_init_* routines.
42         * server_internal.h: Don't include adb.h.
43         (kadm5_server_handle_rec): Delete policy_db field, add db_args
44         field.
45         (OSA_ADB_PRINC_VERSION_1, osa_pw_hist_ent, osa_pw_hist_t,
46         osa_princ_ent_rec, osa_princ_ent_t, xdr_osa_princ_ent_rec,
47         osa_free_princ_ent): Duplicate definitions and declarations from
48         adb.h.
49         (kdb_iter_entry): Add match_entry argument.
50
51 2005-04-19  Ken Raeburn  <raeburn@mit.edu>
52
53         * configure.in: Don't invoke AC_CANONICAL_HOST explicitly,
54         CONFIG_RULES already does it.
55
56 2004-08-20  Tom Yu  <tlyu@mit.edu>
57
58         * admin.h (KADM5_CONFIG_NO_AUTH): New flag.
59
60 2004-06-25  Tom Yu  <tlyu@mit.edu>
61
62         * adb.h:
63         * kadm_rpc_xdr.c: rpc_u_int32 -> uint32_t
64
65 2004-06-24  Tom Yu  <tlyu@mit.edu>
66
67         * alt_prof.c (kadm5_get_admin_service_name): Fix call to
68         kadm5_get_config_params().
69
70 2004-06-16  Ken Raeburn  <raeburn@mit.edu>
71
72         * Makefile.in (clean-mac): Target deleted.
73
74 2004-06-15  Tom Yu  <tlyu@mit.edu>
75
76         * admin.h (kadm5_get_admin_service_name): Prototype for new function.
77         (KADM5_CONFIG_OLD_AUTH_GSSAPI): New flag to force old AUTH_GSSAPI
78         flavor.
79
80         * alt_prof.c (kadm5_get_admin_service_name): New function.
81
82 2004-02-12  Tom Yu  <tlyu@mit.edu>
83
84         * configure.in: Invoke PRIOCNTL_HACK.
85
86 2003-06-03  Tom Yu  <tlyu@mit.edu>
87
88         * alt_prof.c (krb5_read_realm_params): Don't bother reading in
89         realm_keysalts or realm_num_keysalts, as they're no longer used.
90
91 2003-05-30  Ken Raeburn  <raeburn@mit.edu>
92
93         * alt_prof.c (kadm5_get_config_params): Change default max_life to
94         one day.
95
96 2003-05-13  Ken Raeburn  <raeburn@mit.edu>
97
98         * alt_prof.c (kadm5_get_config_params): Remove aes256 from the
99         default supported enctypes list for now.
100
101 2003-05-04  Sam Hartman  <hartmans@mit.edu>
102
103         * chpass_util_strings.et: Replace reference to ovpasswd with kpasswd
104
105 2003-04-18  Ken Raeburn  <raeburn@mit.edu>
106
107         * alt_prof.c (kadm5_get_config_params): Add aes256 to the default
108         supported enctypes list.
109
110 2003-01-10  Ken Raeburn  <raeburn@mit.edu>
111
112         * configure.in: Don't explicitly invoke AC_PROG_ARCHIVE,
113         AC_PROG_ARCHIVE_ADD, AC_PROG_RANLIB, AC_PROG_INSTALL.
114
115         * configure.in: Use V5_AC_OUTPUT_MAKEFILE instead of
116         K5_GEN_MAKEFILE and K5_AC_OUTPUT.
117
118         * Makefile.in: Add AC_SUBST_FILE marker for libobj_frag.
119
120 2003-01-07  Ken Raeburn  <raeburn@mit.edu>
121
122         * Makefile.ov: Deleted.
123
124 2002-12-12  Tom Yu  <tlyu@mit.edu>
125
126         * Makefile.in (all-prerecurse): Change double colons to single
127         colons.
128
129 2002-11-05  Tom Yu  <tlyu@mit.edu>
130
131         * chpass_util_strings.et: Remove trailing colons, as new
132         implementation of krb5_read_password() appends it.
133
134 2002-10-08  Tom Yu  <tlyu@mit.edu>
135
136         * adb.h (struct _osa_adb_db_ent_t): Add opencnt, which keeps track
137         of how many times an open was attempted on the adb.
138
139         * admin.h: Add kadm5_lock and kadm5_unlock.
140
141 2002-09-18  Ken Raeburn  <raeburn@mit.edu>
142
143         * admin.h (struct __krb5_realm_params): New field
144         realm_kdc_tcp_ports.
145         * alt_prof.c (krb5_read_realm_params): Fill it in by looking up
146         "kdc_tcp_ports" in the config file.
147         (krb5_free_realm_params): Free the storage.
148
149         * logger.c (klog_com_err_proc, krb5_klog_init, krb5_klog_close,
150         severity2string, klog_vsyslog, krb5_klog_syslog,
151         krb5_klog_reopen): Always define functions in prototype style.
152
153 2002-08-29  Ken Raeburn  <raeburn@mit.edu>
154
155         * Makefile.in: Revert $(S)=>/ change, for Windows support.
156
157 2002-08-23  Ken Raeburn  <raeburn@mit.edu>
158
159         * Makefile.in: Change $(S)=>/ and $(U)=>.. globally.
160
161 2002-08-22  Ken Raeburn  <raeburn@mit.edu>
162
163         * Makefile.in ($(HDRS)): Depend on "includes".
164
165 2002-07-31  Tom Yu  <tlyu@mit.edu>
166
167         * kadm_err.et: Add KADM5_MISSING_KRB5_CONF_PARAMS, indicating a
168         problem with krb5.conf.  This prevents confusing users who look
169         for kdc.conf trouble rather than krb5.conf trouble, which is what
170         they should be looking at on a kadm5 client.
171
172 2002-06-04  Ken Raeburn  <raeburn@mit.edu>
173
174         * get_admhst.c: Deleted.
175
176 2001-11-05  Ezra Peisach  <epeisach@mit.edu>
177
178         * alt_prof.c (krb5_aprof_get_boolean): Return krb5_boolean *
179         instead of int *.
180
181 2001-10-09  Ken Raeburn  <raeburn@mit.edu>
182
183         * logger.c (krb5_klog_init): Initialize savec to keep compiler
184         happy.
185
186 2001-10-05  Ken Raeburn  <raeburn@mit.edu>
187
188         * logger.c: Drop _MSDOS support.
189
190 2001-09-25  Ken Raeburn  <raeburn@mit.edu>
191
192         * admin.h (krb5_realm_params): Add fields realm_reject_bad_transit
193         and realm_reject_bad_transit_valid; delete field realm_filler.
194         * alt_prof.c (string_to_boolean, krb5_aprof_get_boolean): New
195         functions.
196         (krb5_read_realm_params): Parse "reject_bad_transit" value as
197         boolean and save it.
198
199 2001-07-25  Ezra Peisach  <epeisach@mit.edu>
200
201         * kadm_rpc_xdr.c: Add xdr_krb5_ui_2. 
202         (xdr_krb5_tl_data): Change local variable from int to unsigned int. 
203
204         * admin_xdr.h: Add prototype for xdr_krb5_ui_2. 
205
206 2001-07-08  Ezra Peisach  <epeisach@mit.edu>
207
208         * logger.c (severity2string): Declare as returning const char *.
209         (klog_com_err_proc): Do not discard const status of format string.
210
211 2001-07-06  Ezra Peisach  <epeisach@mit.edu>
212
213         * server_internal.h: Add prototype for krb5_copy_key_data_contents.
214
215 2001-06-26  Ezra Peisach  <epeisach@mit.edu>
216
217         * str_conv.c (krb5_string_to_keysalts): When parsing string, allow
218         for extra separator characters (like spaces) between keysalts.
219
220 2001-06-21  Ezra Peisach  <epeisach@mit.edu>
221
222         * admin_internal.h (_KADM5_CHECK_HANDLE): Change code to ecode in
223         blocked statement to prevent shadowing.
224
225 2001-06-20  Ken Raeburn  <raeburn@mit.edu>
226
227         * logger.c (krb5_klog_init) [HAVE_SYSLOG]: Loop over an array of
228         syslog facility names rather than open-coding each check.  Add
229         "authpriv" and "ftp" names.
230
231 2001-06-20  Ezra Peisach  <epeisach@mit.edu>
232
233         * server_internal.h: Add prototype for kdb_iter_entry().
234
235 2001-06-18  Ezra Peisach  <epeisach@mit.edu>
236
237         * alt_prof.c (krb5_read_realm_params): Cast argument to isspace()
238         to int.
239         * logger.c (krb5_klog_init): Likewise.
240
241 2001-06-17  Ezra Peisach  <epeisach@mit.edu>
242
243         * logger.c (klog_vsyslog): If krb5_klog_init() is not called, do
244         not pass a NULL pointer to vsprintf for a %s format. Also, if
245         syslog() exists on the system, fallback to using this so the
246         message is not dropped on the floor.
247
248 2001-06-04  Ezra Peisach  <epeisach@mit.edu>
249
250         * logger.c (krb5_klog_init): Cleanup assignments in
251         conditionals. Ensure that if hostname is MAXHOSTNAMELEN, buffer is
252         \0 terminated.
253
254         * str_conv.c (krb5_string_to_keysalts, krb5_keysalt_iterate):
255         Clean up assignments in conditionals.
256
257         * admin.h: Move kadm5_free_name_list() to version 1 api as it is
258         present in the ovsec_glue layer.
259
260 2001-03-10  Ezra Peisach  <epeisach@kangaroo.mit.edu>
261
262         * str_conv.c: Include adm_proto.h for missing prototypes.
263
264 Sun Feb 18 16:26:33 2001  Ezra Peisach  <epeisach@mit.edu>
265
266         * server_internal.h: Add prototype for
267         krb5_free_key_data_contents() which really should be in libkdb.
268
269         * kadm_rpc_xdr.c: Include krb5/admin_xdr.h for prototypes.
270
271         * kadm_rpc.h: Add prototypes for client and server stub
272         functions. Server functions renamed to have _svc appended. 
273
274         * alt_prof.c: Clean up warnings. Do not shadow index() with local
275         variable.
276
277         * admin_xdr.h: Add prototypes for xdr_nulltype(), xdr_krb5_ui_4(),
278         xdr_krb5_int16(), xdr_krb5_key_data_nocontents(),
279         xdr_krb5_key_salt_tuple(), xdr_krb5_tl_data(),
280         xdr_kadm5_principal_ent_rec_v1(), xdr_cprinc3_arg(),
281         xdr_generic_ret(0, xdr_chpass3_arg(), xdr_setv4key_arg(),
282         xdr_setkey_arg(), xdr_setkey3_arg(), xdr_chrand3_arg(),
283         xdr_gprincs_arg(), xdr_grpincs_ret(), xdr_gpols_arg(),
284         xdr_gpols_ret(), xdr_getprivs_ret(), xdr_krb5_salttype().
285
286         * admin_internal.h: Add prototype for _kadm5_check_handle().
287
288         * admin.h: Add prototypes for kadm5_free_config_params(),
289         kadm5_decrypt_key(), ovsec_kadm_free_name_list().
290
291         * adb.h: Add prototypes for xdr_osa_pw_hist_ent(),
292         xdr_krb5_key_data(), osa_adb_rename_db(),
293         osa_adb_rename_policy_db().
294
295 2001-01-16  Ken Raeburn  <raeburn@mit.edu>
296
297         * str_conv.c (krb5_keysalt_iterate): Always use the prototype for
298         function-pointer argument ITERATOR.
299
300 2000-10-17  Ezra Peisach  <epeisach@mit.edu>
301
302         * admin.h (KADM5_PW_FIRST_PROMPT): Get rid of casts from
303         error_message to char * - leave them as const char *.
304         (kadm5_chpass_principal_util): Argument msg_len is unsigned int.
305
306         * admin_internal.h (_kadm5_chpass_principal_util): msg_len is
307         unsigned int.
308
309         * chpass_util.c (_kadm5_chpass_principal_util): Change msg_len to
310         unsigned int. Arhument to krb5_read_password is unsigned int. 
311
312 2000-07-03  Ezra Peisach  <epeisach@mit.edu>
313
314         * admin.h: Add kadm5_free_name_list prototype.
315
316 2000-06-30  Tom Yu  <tlyu@mit.edu>
317
318         * adb.h: Add btinfo.
319
320         * configure.in: Remove AIX_DB_LIB kludge as we're now building
321         libdb reasonably.
322
323 2000-06-28  Ezra Peisach  <epeisach@mit.edu>
324
325         * alt_prof.c (krb5_aprof_init): profile_init takes a
326         profile_filespec_t as argument instad of char **.
327
328 2000-06-23  Ken Raeburn  <raeburn@mit.edu>
329
330         * alt_prof.c (kadm5_get_config_params): Include des3 in supported
331         enctypes by default.
332
333         * ovsec_glue.c (ovsec_kadm_chpass_principal_util): Use 1024 for
334         hard-coded length, to match existing callers.
335
336 2000-06-23  Nalin Dahyabhai  <nalin@redhat.com>
337
338         * admin.h: Add a length parameter to kadm5_chpass_principal_util().
339         * admin_internal.h: Add a length parameter to
340         _kadm5_chpass_principal_util().
341         * chpass_util.c (_kadm5_chpass_principal_util): Add a length parameter,
342         and use it to avoid overflowing "msg_ret".
343         * ovsec_glue.c (ovsec_kadm_chpass_principal_util): Adjust for new
344         parameter in kadm5_chpass_principal_util().
345
346         * logger.c (klog_com_err_proc): Don't overflow buffer "outbuf".
347
348 2000-05-31  Wilfredo Sanchez  <tritan@mit.edu>
349
350         * configure.in, chpass_util.c, server_internal.h: Check for
351         existance of <memory.h>.
352         [from Nathan Neulinger <nneul@umr.edu>]
353
354 2000-02-26  Tom Yu  <tlyu@mit.edu>
355
356         * kadm_rpc_xdr.c (xdr_cprinc3_arg): Don't XDR the nonexistent
357         keepold flag.
358
359         * kadm_rpc.h: Remove keepold flag from cprinc3_arg.
360
361         * admin.h: Remove keepold flag from create_principal_3, which was
362         kinda ridiculous.
363
364 2000-02-22  Ken Raeburn  <raeburn@mit.edu>
365
366         * Makefile.in (includes): Extract basename of header file to be
367         installed, since Digital UNIX 4.0 native make substitutes the
368         VPATH-derived pathname here.
369
370 2000-02-21  Bear Giles  <bgiles@coyotesong.com>
371
372         * alt_prof.c (krb5_read_realm_params): Permit realm supported
373         enctypes to be unspecified, letting the KDC produce defaults.
374         Don't look up enctypes at all if an error is to be returned.
375
376 2000-02-18  Tom Yu  <tlyu@mit.edu>
377
378         * kadm_rpc_xdr.c (xdr_chpass3_arg): 
379         (xdr_chrand3_arg): Fix up calls to xdr_array.
380
381 2000-02-13  Tom Yu  <tlyu@mit.edu>
382
383         * kadm_rpc_xdr.c: Add xdr functions for new kadm rpc functions.
384
385         * kadm_rpc.h: Add arg structs, prototypes, constants for new kadm
386         rpc functions.
387
388         * kadm_err.et: Add error code KADM5_SETKEY3_ETYPE_MISMATCH.
389
390         * admin.h: Add prototype for setkey_principal_3.
391
392 1999-12-01  Ken Raeburn  <raeburn@mit.edu>
393
394         * logger.c (klog_vsyslog): Convert pid_t to long for printing.
395
396 1999-11-30  Ken Raeburn  <raeburn@mit.edu>
397
398         * alt_prof.c (kadm5_get_config_params): Fix bug in direction of
399         test while walking through whitespace.  Thanks to Matt Crawford.
400
401 1999-10-26  Wilfredo Sanchez  <tritan@mit.edu>
402
403         * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
404         LOCAL_INCLUDES such that one can override CFLAGS from the command
405         line without losing CPP search patchs and defines. Some associated
406         Makefile cleanup.
407
408 1999-09-28  Ken Raeburn  <raeburn@mit.edu>
409
410         * logger.c (lspec_parse_err_1, lspec_parse_err_2, log_file_err,
411         log_device_err, log_ufo_string, log_emerg_string,
412         log_alert_string, log_crit_string, log_err_string,
413         log_warning_string, log_notice_string, log_info_string,
414         log_debug_string): Replace char arrays with macros.
415         (klog_com_err_proc, klog_vsyslog): When calling syslog, supply %s
416         format string.
417
418 1999-09-23  Ken Raeburn  <raeburn@mit.edu>
419
420         * logger.c (DEVICE_PRINT, klog_com_err_proc, klog_vsyslog): Use
421         proper format strings to fprintf, instead of net-supplied data.
422         Fold in writes of following end-of-line sequences when
423         appropriate.
424
425 1998-11-13  Theodore Ts'o  <tytso@rsts-11.mit.edu>
426
427         * Makefile.in: Set the myfulldir and mydir variables (which are
428                 relative to buildtop and thisconfigdir, respectively.)
429
430 Fri Dec  4 23:12:43 1998  Tom Yu  <tlyu@mit.edu>
431
432         * admin.h: Add prototypes for create_principal_3,
433         chpass_principal_3, and randkey_principal_3.
434
435 Thu Aug 13 17:21:06 1998  Tom Yu  <tlyu@mit.edu>
436
437         * alt_prof.c (krb5_read_realm_params): Fix to check
438         "supported_enctypes" if "kdc_supported_enctypes" isn't there.
439
440 Wed Aug 12 20:19:08 1998  Tom Yu  <tlyu@mit.edu>
441
442         * alt_prof.c (krb5_read_realm_params): Use
443         "kdc_supported_enctypes" instead of "supported_enctypes" so that
444         the KDC and the kadmind will use different enctype lists.
445
446 Wed Jul  8 04:48:50 1998  Geoffrey J. King  <gjking@mit.edu>
447
448         * logger.c: Add the function krb5_klog_reopen() which closes
449                 and reopens the log files.
450
451 Mon Apr  6 19:40:05 1998  Tom Yu  <tlyu@voltage-multiplier.mit.edu>
452
453         * Makefile.in (includes): Don't call mkdir unless the directory
454         exists.
455
456 Fri Feb 27 22:30:41 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
457
458         * configure.in: Move tests from all of kadm5's subdirectories into
459                 this configure.in, and make it generate makefiles for all
460                 of the subdirectories.
461
462         * Makefile.in: Add a LOCAL_SUBDIRS macro for all subdirectories in
463                 the kadm5 library.
464
465 Wed Feb 25 15:00:10 1998  Ezra Peisach  <epeisach@mit.edu>
466
467         * alt_prof.c (krb5_free_realm_params): Free realm_acl_file portion
468         of structure. 
469
470 Wed Feb 18 16:13:56 1998  Tom Yu  <tlyu@mit.edu>
471
472         * Makefile.in: Remove trailing slash from thisconfigdir.  Fix up
473         BUILDTOP for new conventions.
474
475 Fri Feb 13 21:33:27 1998  Tom Yu  <tlyu@mit.edu>
476
477         * admin.h:
478         * kadm_rpc.h:
479         * kadm_rpc_xdr.c: Update header locations.
480
481 Mon Feb  2 17:02:29 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
482
483         * Makefile.in: Define BUILDTOP and thisconfigdir in the Makefile
484
485 Wed Jan 28 16:32:36 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
486
487         * configure.in, Makefile.in: Remove the CopySrcHeader and
488                 CopyHeader macros from configure.in and substitute
489                 equivalent functionality in Makefile.in
490
491 Tue Jan 20 23:06:36 1998  Tom Yu  <tlyu@mit.edu>
492
493         * alt_prof.c (kadm5_get_config_params): Add support for Cygnus chpw.
494
495         * admin.h: Add support for Cygnus chpw.
496
497 Mon Oct 13 10:48:24 1997  Ezra Peisach  <epeisach@mit.edu>
498
499         * alt_prof.c (kadm5_get_config_params): When KADM5_CONFIG_ENCTYPES
500            is set on the input parameters, allocate a new copy of the
501            key_salts for the output parameters.
502         (kadm5_free_config_params): Free the admin_server and admin_lockfile
503            names. 
504
505 Tue Oct  7 07:48:12 1997  Ezra Peisach  <epeisach@mit.edu>
506
507         * logger.c: Include ctype.h for isspace definition.
508
509 Tue Jul  1 02:31:07 1997  Tom Yu  <tlyu@mit.edu>
510
511         * kadm_rpc.h, kadm_rpc_xdr.c: Add support for setv4key.
512
513 Sun Jun 29 14:52:04 1997  Tom Yu  <tlyu@mit.edu>
514
515         * kadm_err.et: Add support for kadm5_setv4key_principal.
516
517         * admin.h: Add prototype for kadm5_setv4key_principal.
518
519 Wed May 28 13:34:17 1997  Barry Jaspan  <bjaspan@mit.edu>
520
521         * admin.h: add prototype for kadm5_setkey_principal
522
523         * misc_free.c (kadm5_free_key_data): add kadm5_free_data
524         
525 Mon Mar 31 17:41:11 1997  Barry Jaspan  <bjaspan@mit.edu>
526
527         * kadm_err.et, kadm_rpc.h, kadm_rpc_xdr.c: add support for
528         setkey_principal
529
530 Thu Jan 16 19:01:00 1997  Tom Yu  <tlyu@mit.edu>
531
532         * Makefile.in (all-prerecurse): Update to use double-colon rules.
533
534 Wed Jan 15 20:43:01 1997  Tom Yu  <tlyu@mit.edu>
535
536         * Makefile.in:
537         * configure.in: Update to new libarary build procedure.
538
539 Mon Nov 11 17:01:40 1996  Barry Jaspan  <bjaspan@mit.edu>
540
541         * kadm_rpc_xdr.c: fix memory leak handling key_data and tl_data
542
543 Wed Nov  6 10:20:36 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
544
545         * kadm_err.et: New error codes for KADM5_MISSING_CONF_PARAMS and 
546                 KADM5_BAD_SERVER_NAME.
547
548 Mon Nov  4 21:16:01 1996  Theodore Y. Ts'o  <tytso@mit.edu>
549
550         * alt_prof.c (krb5_aprof_init): If the user specifies the config
551                 file using a configuration file, it must exist.
552                 Otherwise, krb5_aprof_init will return an error.
553                 (kadm5_get_config_params): If aprof_init returns an error,
554                 it should return an error as well.
555
556 Wed Nov  6 17:45:43 1996  Barry Jaspan  <bjaspan@mit.edu>
557
558         * kadm_rpc_xdr.c (xdr_krb5_principal): handle a NULL principal
559         pointer (this can happen when get_principal is passed a mask
560         without KADM5_PRINCIPAL in it, and will cause a beta 7 kadmind to
561         coredump)
562
563 Fri Nov  1 13:16:16 1996  Barry Jaspan  <bjaspan@mit.edu>
564
565         * kadm_err.et: update for new tl_data semantics [krb5-admin/140]
566
567 Fri Oct 25 23:47:26 1996  Tom Yu  <tlyu@mit.edu>
568
569         * configure.in, Makefile.in: Tweaks to prevent unecessary
570         rebuilding.
571
572 Mon Oct 21 21:23:44 1996  Tom Yu  <tlyu@mit.edu>
573
574         * Makefile.in: Fixes for new directory recursion method; also
575         fixes for inclusion sequencing.
576
577 Mon Oct 21 16:29:11 1996  Barry Jaspan  <bjaspan@mit.edu>
578
579         * server_internal.h (ALL_PRINC_MASK): add KADM5_TL_DATA and
580         KADM5_KEY_DATA to ALL_PRINC_MASK [krb5-admin/20]
581
582 Fri Oct 18 15:44:14 1996  Barry Jaspan  <bjaspan@mit.edu>
583
584         * kadm_rpc_xdr.c, misc_free.c, server_internal.h: include stdlib.h
585         instead of malloc.h [krb5-admin/35]
586
587 Tue Oct 15 18:01:51 1996  Barry Jaspan  <bjaspan@mit.edu>
588
589         * logger.c (krb5_klog_init): remember to call openlog() when
590         defaulting to syslog because nothing else was specified
591         (klog_vsyslog): enable VERBOSE_LOGS so we get the process name and
592         pid [krb5-kdc/63]
593
594 Thu Sep 26 17:45:18 1996  Barry Jaspan  <bjaspan@mit.edu>
595
596         * alt_prof.c: don't allow admin_dbname or admin_lockfile to be
597         independetly configured
598
599 Fri Sep 20 16:52:07 1996  Barry Jaspan  <bjaspan@mit.edu>
600
601         * configure.in: add unit-test directory
602
603 Wed Sep 18 12:35:16 1996  Barry Jaspan  <bjaspan@mit.edu>
604
605         * alt_prof.c (kadm5_get_config_params): set max_life default to 10
606         hours, instead of 0
607
608 Tue Sep 17 15:09:28 1996  Barry Jaspan  <bjaspan@mit.edu>
609
610         * server_internal.h (ALL_PRINC_MASK): Add MAX_RLIFE to
611         ALL_PRINC_MASK.
612
613 Tue Sep 10 01:47:39 1996  Mark Eichin  <eichin@cygnus.com>
614
615         * alt_prof.c (krb5_aprof_init): use profile_init_path on fname,
616         not profile_init.
617
618 Wed Aug 28 16:11:50 1996  Barry Jaspan  <bjaspan@mit.edu>
619
620         * alt_prof.c (kadm5_get_config_params): fix default semantics to
621         agree with api-funcspec.tex
622
623 Mon Aug 26 17:02:55 1996  Barry Jaspan  <bjaspan@mit.edu>
624
625         * admin.h: KRB5_TL_KADM5_E_DATA moved to kdb.h
626
627 Fri Aug  2 13:19:29 1996  Barry Jaspan  <bjaspan@DUN-DUN-NOODLES>
628
629         * alt_prof.c (kadm5_get_config_params): alloc enough bytes for
630         adbname
631
632         * kadm_rpc_xdr.c (xdr_krb5_kvno): assign tmp before xdr'ing it to
633         avoid a spurious purify error
634
635 Thu Jul 25 12:04:32 1996  Theodore Y. Ts'o  <tytso@mit.edu>
636
637         * admin_internal.h (_KADM5_CHECK_HANDLE): Add parenthesis around
638                 assignment used as truth value to reduce gcc -Wall flames.
639
640         * misc_free.c (kadm5_free_name_list, krb5_free_key_data_contents: 
641                 Add KADM5_OK return value upon success.
642
643
644 Wed Jul 24 18:18:39 1996  Tom Yu  <tlyu@voltage-multiplier.mit.edu>
645
646         * Makefile.in, configure.in: fix shared lib lossage by
647                 rearrangement of subdirectories
648
649 Tue Jul 23 16:49:56 1996  Tom Yu  <tlyu@voltage-multiplier.mit.edu>
650
651         * Makefile.in: delete extraneous trailing backslash from GENSRCS
652                 and GENOBJS
653
654 Mon Jul 22 04:17:23 1996  Marc Horowitz  <marc@mit.edu>
655
656         * configure.in (LIBS): add -lgen to LIBS whenever compile is
657         found.  Solaris requires it.
658
659         * chpass_util.c (_kadm5_chpass_principal_util): the calls to
660         kadm5_free_{princicpal,policy}_ent used server_handle instead of
661         lhandle, which caused problems in the api versioning code.
662
663 Thu Jul 18 19:50:39 1996  Marc Horowitz  <marc@mit.edu>
664
665         * configure.in: removed ET_RULES, replaced with AC_PROG_AWK
666
667 Mon Jul 15 16:52:44 1996  Barry Jaspan  <bjaspan@mit.edu>
668
669         * client_init.c (_kadm5_init_any): use krb5_get_in_tkt_keytab
670         instead of changing krb5_defkeyname
671
672 Mon Jul 15 16:36:02 1996  Marc Horowitz  <marc@mit.edu>
673
674         * Makefile.in (CLNTOBJS), AC_REPLACE_FUNCS: check for setenv, and
675         link against setenv.o if it's needed.
676
677 Fri Jul 12 15:06:48 1996  Marc Horowitz  <marc@mit.edu>
678
679         * svr_iters.c (glob_to_regexp:append_realm): the semantics and
680         code were somewhat confused.  they are now fixed.
681
682         * logger.c (HAVE_*): turn all the "#if HAVE_*" into
683         "#ifdef HAVE_*"
684
685         * configure.in (AC_CHECK_FUNCS): check for the functions which
686         logger.c checks for.
687
688         * svr_principal.c (kadm5_get_principal): due to the the api
689         versioning, it is possible for this function to be called with a
690         three argument prototype.  in this case, do not modify mask,
691         because this will clobber the stack on some platforms.
692
693         * client_principal.c (kadm5_create_principal): be more careful
694         about what sorts of things are referenced, passed down, and passed
695         back if the caller is api v1.
696
697 Wed Jul 10 01:29:34 1996  Marc Horowitz  <marc@mit.edu>
698
699         * configure.in: added autoconf support
700
701 Tue Jul  9 17:38:43 1996  Marc Horowitz  <marc@mit.edu>
702
703         * svr_iters.c (*_REGEXPS): rework the conditionals to operate
704         as functions of function symbols tested by configure.
705         * client_init.c (setenv, unsetenv declarations): make them the
706         same as the stdlib declarations, if they're going to be here at
707         all.
708         * Makefile.in: reworked to support building both libraries.  this
709         required a bunch of changes, including some coordinating ones in
710         aclocal.m4
711         
712 Tue Jul  9 16:26:26 1996  Barry Jaspan  <bjaspan@mit.edu>
713
714         * svr_principal.c (kadm5_decrypt_key): add kadm5_decrypt_key
715
716 Mon Jul  8 16:55:22 1996  Barry Jaspan  <bjaspan@mit.edu>
717
718         * svr_iters.c (kadm5_get_either): append local ream to globs with
719         no realm
720
721         * alt_prof.c: fix dbname, admin_dbname, and admin_lockfile to
722         derive from each other as in spec
723
724         * adb_policy.c: add create_db/destroy_db
725
726         * adb_openclose.c: add create_db/destroy_db, fix handling of
727         permanent locks, handle multiple lock files via static linked list
728
729         * adb.h: update create_db/destroy_db to make params instead of
730         explicit values
731
732         * Makefile.ov (TOP): Use ../../kadmin, not kadmin.ov
733         
734