1 Sun Dec 21 09:44:05 1997 Assar Westerlund <assar@sics.se>
3 * kadmin/util.c (str2deltat, str2attr, get_deltat): return value
4 as pointer and have return value indicate success.
6 (get_response): check NULL from fgets
8 (edit_time, edit_attributes): new functions for reading values and
9 offering list of answers on '?'
11 (edit_entry): use edit_time and edit_attributes
13 * kadmin/ank.c (add_new_key): test the return value of
16 * kdc/kerberos5.c (tgs_check_authenticator): RFC1510 doesn't say
17 that the checksum has to be keyed, even though later drafts do.
18 Accept unkeyed checksums to be compatible with MIT.
20 * appl/rsh/rshd.c (recv_krb5_auth): swap the order of the
21 `local_user' and the `remote_user'
23 * appl/rsh/rsh.c (send_krb5_auth): swap the order of the
24 `local_user' and the `remote_user'
26 * kadmin/kadmin_locl.h: add some prototypes.
28 * kadmin/util.c (edit_entry): return a value
30 * appl/afsutil/afslog.c (main): return a exit code.
32 * lib/krb5/get_cred.c (init_tgs_req): use krb5_keytype_to_enctypes
34 * lib/krb5/encrypt.c (krb5_keytype_to_enctypes): new function.
36 * lib/krb5/build_auth.c (krb5_build_authenticator): use
37 krb5_{free,copy}_keyblock instead of the _contents versions
39 Sat Dec 6 10:09:40 1997 Johan Danielsson <joda@emma.pdc.kth.se>
41 * lib/krb5/keyblock.c (krb5_free_keyblock): check for NULL
44 Sat Dec 6 08:26:10 1997 Assar Westerlund <assar@sics.se>
48 Thu Dec 4 03:38:12 1997 Johan Danielsson <joda@emma.pdc.kth.se>
50 * lib/krb5/send_to_kdc.c: Add TCP client support.
52 * lib/krb5/store.c: Add k_{put,get}_int.
54 * kadmin/ank.c: Set initial kvno to 1.
56 * kdc/connect.c: Send version 5 TCP-reply as length+data.
58 Sat Nov 29 07:10:11 1997 Assar Westerlund <assar@sics.se>
60 * appl/rsh/rshd.c: updated to use getarg.
61 changed `struct fd_set' to `fd_set'.
62 implemented broken/BSD authentication (requires iruserok)
64 * lib/krb5/rd_req.c (krb5_rd_req): fixed obvious bug
66 * kdc/kaserver.c (create_reply_ticket): use a random nonce in the
69 * kdc/connect.c (init_sockets): less reallocing.
71 * **/*.c: changed `struct fd_set' to `fd_set'
73 Sat Nov 29 05:12:01 1997 Johan Danielsson <joda@emma.pdc.kth.se>
75 * lib/krb5/get_default_principal.c: More guessing.
77 Thu Nov 20 02:55:09 1997 Johan Danielsson <joda@emma.pdc.kth.se>
79 * lib/krb5/rd_req.c: Use principal from ticket if no server is
82 Tue Nov 18 02:58:02 1997 Johan Danielsson <joda@emma.pdc.kth.se>
84 * kuser/klist.c: Use krb5_err*().
86 Sun Nov 16 11:57:43 1997 Johan Danielsson <joda@emma.pdc.kth.se>
88 * kadmin/kadmin.c: Add local `init', `load', `dump', and `merge'
91 Sun Nov 16 02:52:20 1997 Assar Westerlund <assar@sics.se>
93 * lib/krb5/mk_req_ext.c (krb5_mk_req_ext): figure out the correct
96 * lib/krb5/mk_req.c (krb5_mk_req): use `(*auth_context)->enctype'
99 * lib/krb5/get_cred.c: handle the case of a specific keytype
101 * lib/krb5/build_auth.c (krb5_build_authenticator): enctype as a
102 parameter instead of guessing it.
104 * lib/krb5/build_ap_req.c (krb5_build_ap_req): new parameter
107 * appl/test/common.c (common_setup): don't use `optarg'
109 * lib/krb5/keytab.c (krb5_kt_copy_entry_contents): new function
110 (krb5_kt_get_entry): retrieve the latest version if kvno == 0
112 * lib/krb5/krb5.h: define KRB5_TC_MATCH_KEYTYPE
114 * lib/krb5/creds.c (krb5_compare_creds): check for
115 KRB5_TC_MATCH_KEYTYPE
117 * lib/gssapi/8003.c (gssapi_krb5_create_8003_checksum): remove
120 * lib/krb5/creds.c (krb5_copy_creds_contents): only free the
123 Sun Nov 16 00:32:48 1997 Johan Danielsson <joda@emma.pdc.kth.se>
125 * kpasswd/kpasswdd.c: Get password expiration time from config
128 * lib/asn1/{der_get,gen_decode}.c: Allow passing NULL size.
130 Wed Nov 12 02:35:57 1997 Assar Westerlund <assar@sics.se>
132 * lib/krb5/get_for_creds.c (krb5_get_forwarded_creds):
133 restructured and fixed.
135 * lib/krb5/addr_families.c (krb5_h_addr2addr): new function.
137 * appl/rsh/rsh_locl.h: add AUTH_BROKEN and PATH_RSH
139 * appl/rsh/Makefile.am: set BINDIR
141 * appl/rsh/rsh.c: implemented BSD-style reserved port
144 Wed Nov 12 01:36:01 1997 Johan Danielsson <joda@emma.pdc.kth.se>
146 * lib/krb5/get_addrs.c: Fall back to hostname's addresses if other
149 Tue Nov 11 22:22:12 1997 Johan Danielsson <joda@emma.pdc.kth.se>
151 * kadmin/kadmin.c: Add `-l' flag to use local database.
153 * lib/kadm5/acl.c: Use KADM5_PRIV_ALL.
155 * lib/kadm5: Use function pointer trampoline for easier dual use
156 (without radiation-hardening capability).
158 Tue Nov 11 05:15:22 1997 Assar Westerlund <assar@sics.se>
160 * lib/krb5/encrypt.c (krb5_etype_valid): new function
162 * lib/krb5/creds.c (krb5_copy_creds_contents): zero target
164 * lib/krb5/context.c (valid_etype): remove
166 * lib/krb5/checksum.c: remove dead code
168 * lib/krb5/changepw.c (send_request): free memory on error.
170 * lib/krb5/build_ap_req.c (krb5_build_ap_req): check return value
173 * lib/krb5/auth_context.c (krb5_auth_con_init): free memory on
175 (krb5_auth_con_setaddrs_from_fd): return error correctly.
177 * lib/krb5/get_in_tkt_with_{keytab,skey}.c: new files
179 Tue Nov 11 02:53:19 1997 Johan Danielsson <joda@emma.pdc.kth.se>
181 * lib/krb5/auth_context.c: Implement auth_con_setuserkey.
183 * lib/gssapi/init_sec_context.c: Use krb5_auth_con_getkey.
185 * lib/krb5/keyblock.c: Rename krb5_free_keyblock to
186 krb5_free_keyblock_contents, and reimplement krb5_free_keyblock.
188 * lib/krb5/rd_req.c: Use auth_context->keyblock if
189 ap_options.use_session_key.
191 Tue Nov 11 02:35:17 1997 Assar Westerlund <assar@sics.se>
193 * lib/krb5/net_{read,write}.c: change `int fd' to `void *p_fd'.
196 * lib/krb5/krb5_locl.h: include <asn1.h> and <der.h>
198 * include/Makefile.am: add xdbm.h
200 Tue Nov 11 01:58:22 1997 Johan Danielsson <joda@emma.pdc.kth.se>
202 * lib/krb5/get_cred.c: Implement krb5_get_cred_from_kdc.
204 Mon Nov 10 22:41:53 1997 Johan Danielsson <joda@emma.pdc.kth.se>
206 * lib/krb5/ticket.c: Implement copy_ticket.
208 * lib/krb5/get_in_tkt.c: Make `options' parameter MIT-compatible.
210 * lib/krb5/data.c: Implement free_data and copy_data.
212 Sun Nov 9 02:17:27 1997 Johan Danielsson <joda@emma.pdc.kth.se>
214 * lib/kadm5: Implement kadm5_get_privs, and kadm5_get_principals.
216 * kadmin/kadmin.c: Add get_privileges function.
218 * lib/kadm5: Rename KADM5_ACL_* -> KADM5_PRIV_* to conform with
221 * kdc/connect.c: Exit if no sockets could be bound.
223 * kadmin/kadmind.c: Check return value from krb5_net_read().
225 * lib/kadm5,kadmin: Fix memory leaks.
227 Fri Nov 7 02:45:26 1997 Johan Danielsson <joda@emma.pdc.kth.se>
229 * lib/kadm5/create_s.c: Get some default values from `default'
232 * lib/kadm5/ent_setup.c: Add optional default entry to get some
235 Thu Nov 6 00:20:41 1997 Johan Danielsson <joda@emma.pdc.kth.se>
237 * lib/error/compile_et.awk: Remove generated destroy_*_error_table
240 * kadmin/kadmind.c: Crude admin server.
242 * kadmin/kadmin.c: Update to use remote protocol.
244 * kadmin/get.c: Fix principal formatting.
246 * lib/kadm5: Add client support.
248 * lib/kadm5/error.c: Error code mapping.
250 * lib/kadm5/server.c: Kadmind support function.
252 * lib/kadm5/marshall.c: Kadm5 marshalling.
254 * lib/kadm5/acl.c: Simple acl system.
256 * lib/kadm5/kadm5_locl.h: Add client stuff.
258 * lib/kadm5/init_s.c: Initialize acl.
260 * lib/kadm5/*: Return values.
262 * lib/kadm5/create_s.c: Correct kvno.
264 Wed Nov 5 22:06:50 1997 Johan Danielsson <joda@emma.pdc.kth.se>
266 * lib/krb5/log.c: Fix parsing of log destinations.
268 Mon Nov 3 20:33:55 1997 Johan Danielsson <joda@emma.pdc.kth.se>
270 * lib/krb5/principal.c: Reduce number of reallocs in unparse_name.
272 Sat Nov 1 01:40:53 1997 Johan Danielsson <joda@emma.pdc.kth.se>
274 * kadmin: Simple kadmin utility.
276 * admin/ktutil.c: Print keytype.
278 * lib/kadm5/get_s.c: Set correct n_key_data.
280 * lib/kadm5/init_s.c: Add kadm5_s_init_with_password_ctx. Use
283 * lib/kadm5/destroy_s.c: Check for allocated context.
285 * lib/kadm5/{create,chpass}_s.c: Use _kadm5_set_keys().
287 Sat Nov 1 00:21:00 1997 Assar Westerlund <assar@sics.se>
289 * configure.in: test for readv, writev
291 Wed Oct 29 23:41:26 1997 Assar Westerlund <assar@sics.se>
293 * lib/krb5/warn.c (_warnerr): handle the case of an illegal error
296 * kdc/kerberos5.c (encode_reply): return success
298 Wed Oct 29 18:01:59 1997 Johan Danielsson <joda@emma.pdc.kth.se>
300 * kdc/kerberos5.c (find_etype) Return correct index of selected
303 Wed Oct 29 04:07:06 1997 Assar Westerlund <assar@sics.se>
307 * lib/krb5/context.c (krb5_init_context): support `KRB5_CONFIG'
310 * *: use the roken_get*-macros from roken.h for the benefit of
313 * configure.in: add --{enable,disable}-otp. check for compatible
314 prototypes for gethostbyname, gethostbyaddr, getservbyname, and
315 openlog (they have strange prototypes on Crays)
317 * acinclude.m4: new macro `AC_PROTO_COMPAT'
319 Tue Oct 28 00:11:22 1997 Johan Danielsson <joda@emma.pdc.kth.se>
321 * kdc/connect.c: Log bad requests.
323 * kdc/kerberos5.c: Move stuff that's in common between as_rep and
324 tgs_rep to separate functions.
326 * kdc/kerberos5.c: Fix user-to-user authentication.
328 * lib/krb5/get_cred.c: Some restructuring of krb5_get_credentials:
329 - add a kdc-options argument to krb5_get_credentials, and rename
330 it to krb5_get_credentials_with_flags
331 - honour the KRB5_GC_CACHED, and KRB5_GC_USER_USER options
332 - add some more user-to-user glue
334 * lib/krb5/rd_req.c: Move parts of krb5_verify_ap_req into a new
335 function, krb5_decrypt_ticket, so it is easier to decrypt and
336 check a ticket without having an ap-req.
338 * lib/krb5/krb5.h: Add KRB5_GC_CACHED, and KRB5_GC_USER_USER
341 * lib/krb5/crc.c (crc_init_table): Check if table is already
344 Sun Oct 26 04:51:02 1997 Johan Danielsson <joda@emma.pdc.kth.se>
346 * lib/asn1/der_get.c (der_get_length, fix_dce): Special-case
349 * lib/asn1/gen_glue.c (generate_units): Check for empty
352 Sat Oct 25 07:24:57 1997 Johan Danielsson <joda@emma.pdc.kth.se>
354 * lib/error/compile_et.awk: Allow specifying table-base.
356 Tue Oct 21 20:21:40 1997 Johan Danielsson <joda@emma.pdc.kth.se>
358 * kdc/kerberos5.c: Check version number of krbtgt.
360 Mon Oct 20 01:14:53 1997 Assar Westerlund <assar@sics.se>
362 * lib/krb5/prompter_posix.c (krb5_prompter_posix): implement the
363 case of unhidden prompts.
365 * lib/krb5/str2key.c (string_to_key_internal): return error
366 instead of aborting. always free memory
368 * admin/ktutil.c: add `help' command
370 * admin/kdb_edit.c: implement new commands: add_random_key(ark),
371 change_password(cpw), change_random_key(crk)
373 Thu Oct 16 05:16:36 1997 Assar Westerlund <assar@sics.se>
375 * kpasswd/kpasswdd.c: change all the keys in the database
377 * kdc: removed all unsealing, now done by the hdb layer
379 * lib/hdb/hdb.c: new functions `hdb_create', `hdb_set_master_key'
380 and `hdb_clear_master_key'
382 * admin/misc.c: removed
384 Wed Oct 15 22:47:31 1997 Assar Westerlund <assar@sics.se>
386 * kuser/klist.c: print year as YYYY iff verbose
388 Wed Oct 15 20:02:13 1997 Johan Danielsson <joda@emma.pdc.kth.se>
390 * kuser/klist.c: print etype from ticket
392 Mon Oct 13 17:18:57 1997 Johan Danielsson <joda@emma.pdc.kth.se>
396 * lib/krb5/get_cred.c: Get the subkey from mk_req so it can be
397 used to decrypt the reply from DCE secds.
399 * lib/krb5/auth_context.c: Add {get,set}enctype.
401 * lib/krb5/get_cred.c: Fix for DCE secd.
403 * lib/krb5/store.c: Store keytype twice, as MIT does.
405 * lib/krb5/get_in_tkt.c: Use etype from reply.
407 Fri Oct 10 00:39:48 1997 Johan Danielsson <joda@emma.pdc.kth.se>
409 * kdc/connect.c: check for leading '/' in http request
411 Tue Sep 30 21:50:18 1997 Assar Westerlund <assar@assaris.pdc.kth.se>
415 Mon Sep 29 15:58:43 1997 Assar Westerlund <assar@sics.se>
417 * lib/krb5/rd_req.c (krb5_rd_req): redone because we don't know
418 the kvno or keytype before receiving the AP-REQ
420 * lib/krb5/mk_safe.c (krb5_mk_safe): figure out what cksumtype to
421 use from the keytype.
423 * lib/krb5/mk_req_ext.c (krb5_mk_req_extended): figure out what
424 cksumtype to use from the keytype.
426 * lib/krb5/mk_priv.c (krb5_mk_priv): figure out what etype to use
429 * lib/krb5/keytab.c (krb5_kt_get_entry): check the keytype
431 * lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): figure out
432 what etype to use from the keytype.
434 * lib/krb5/generate_seq_number.c (krb5_generate_seq_number):
435 handle other key types than DES
437 * lib/krb5/encrypt.c (key_type): add `best_cksumtype'
438 (krb5_keytype_to_cksumtype): new function
440 * lib/krb5/build_auth.c (krb5_build_authenticator): figure out
441 what etype to use from the keytype.
443 * lib/krb5/auth_context.c (krb5_auth_con_init): set `cksumtype'
446 * admin/extkeytab.c (ext_keytab): extract all keys
448 * appl/telnet/telnet/commands.c: INET6_ADDRSTRLEN kludge
450 * configure.in: check for <netinet6/in6.h>. check for -linet6
452 Tue Sep 23 03:00:53 1997 Assar Westerlund <assar@sics.se>
454 * lib/krb5/encrypt.c: fix checksumtype for des3-cbc-sha1
456 * lib/krb5/rd_safe.c: fix check for keyed and collision-proof
459 * lib/krb5/context.c (valid_etype): remove hard-coded constants
460 (default_etypes): include DES3
462 * kdc/kerberos5.c: fix check for keyed and collision-proof
465 * admin/util.c (init_des_key, set_password): DES3 keys also
467 * lib/krb/send_to_kdc.c (krb5_sendto_kdc): no data returned means
470 * lib/krb5/addr_families.c: fix typo in `ipv6_anyaddr'
472 Mon Sep 22 11:44:27 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
474 * kdc/kerberos5.c: Somewhat fix the etype usage. The list sent by
475 the client is used to select wich key to encrypt the kdc rep with
476 (in case of as-req), and with the server info to select the
477 session key type. The server key the ticket is encrypted is based
478 purely on the keys in the database.
480 * kdc/string2key.c: Add keytype support. Default to version 5
483 * lib/krb5/get_in_tkt.c: Fix a lot of etype/keytype misuse.
485 * lib/krb5/encrypt.c: Add des3-cbc-md5, and des3-cbc-sha1. Add
486 many *_to_* functions.
488 * lib/krb5/str2key.c: Add des3 string-to-key. Add ktype argument
489 to krb5_string_to_key().
491 * lib/krb5/checksum.c: Some cleanup, and added:
494 - keyed and collision proof flags to each checksum method
495 - checksum<->string functions.
497 * lib/krb5/generate_subkey.c: Use krb5_generate_random_keyblock.
499 Sun Sep 21 15:19:23 1997 Assar Westerlund <assar@sics.se>
501 * kdc/connect.c: use new addr_families functions
503 * kpasswd/kpasswdd.c: use new addr_families functions. Now works
506 * kuser/klist.c: use correct symbols for address families
508 * lib/krb5/sock_principal.c: use new addr_families functions
510 * lib/krb5/send_to_kdc.c: use new addr_families functions
512 * lib/krb5/krb5.h: add KRB5_ADDRESS_INET6
514 * lib/krb5/get_addrs.c: use new addr_families functions
516 * lib/krb5/changepw.c: use new addr_families functions. Now works
519 * lib/krb5/auth_context.c: use new addr_families functions
521 * lib/krb5/addr_families.c: new file
523 * acconfig.h: AC_SOCKADDR_IN6 -> AC_STRUCT_SOCKADDR_IN6. Updated
526 * acinclude.m4: new macro `AC_KRB_IPV6'. Use it.
528 Sat Sep 13 23:04:23 1997 Johan Danielsson <joda@emma.pdc.kth.se>
530 * kdc/hprop.c: Don't encrypt twice. Complain on non-convertable
533 Sat Sep 13 00:59:36 1997 Assar Westerlund <assar@sics.se>
537 * appl/telnet/telnet/commands.c: AF_INET6 support
539 * admin/misc.c: new file
541 * lib/krb5/context.c: new configuration variable `max_retries'
543 * lib/krb5/get_addrs.c: fixes and better #ifdef's
545 * lib/krb5/config_file.c: implement krb5_config_get_int
547 * lib/krb5/auth_context.c, send_to_kdc.c, sock_principal.c:
550 * kuser/klist.c: support for printing IPv6-addresses
552 * kdc/connect.c: support AF_INET6
554 * configure.in: test for gethostbyname2 and struct sockaddr_in6
556 Thu Sep 11 07:25:28 1997 Assar Westerlund <assar@sics.se>
558 * lib/asn1/k5.asn1: Use `METHOD-DATA' instead of `SEQUENCE OF
561 Wed Sep 10 21:20:17 1997 Johan Danielsson <joda@emma.pdc.kth.se>
563 * kdc/kerberos5.c: Fixes for cross-realm, including (but not
565 - allow client to be non-existant (should probably check for
567 - if server isn't found and it is a request for a krbtgt, try to
568 find a realm on the way to the requested realm
569 - update the transited encoding iff
570 client-realm != server-realm != tgt-realm
572 * lib/krb5/get_cred.c: Several fixes for cross-realm.
574 Tue Sep 9 15:59:20 1997 Johan Danielsson <joda@emma.pdc.kth.se>
576 * kdc/string2key.c: Fix password handling.
578 * lib/krb5/encrypt.c: krb5_key_to_string
580 Tue Sep 9 07:46:05 1997 Assar Westerlund <assar@sics.se>
582 * lib/krb5/get_addrs.c: rewrote. Now should be able to handle
583 aliases and IPv6 addresses
585 * kuser/klist.c: try printing IPv6 addresses
587 * kdc/kerberos5.c: increase the arbitrary limit from 1024 to 8192
589 * configure.in: check for <netinet/in6_var.h>
591 Mon Sep 8 02:57:14 1997 Assar Westerlund <assar@sics.se>
595 * admin/util.c (init_des_key): increase kvno
596 (set_password): return -1 if `des_read_pw_string' failed
598 * admin/mod.c (doit2): check the return value from `set_password'
600 * admin/ank.c (doit): don't add a new entry if `set_password'
603 Mon Sep 8 02:20:16 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
605 * lib/krb5/verify_init.c: fix ap_req_nofail semantics
607 * lib/krb5/transited.c: something that might resemble
610 Mon Sep 8 01:24:42 1997 Assar Westerlund <assar@sics.se>
612 * kdc/hpropd.c (main): check number of arguments
614 * appl/popper/pop_init.c (pop_init): check number of arguments
616 * kpasswd/kpasswd.c (main): check number of arguments
618 * kdc/string2key.c (main): check number of arguments
620 * kuser/kdestroy.c (main): check number of arguments
622 * kuser/kinit.c (main): check number of arguments
624 * kpasswd/kpasswdd.c (main): use sigaction without SA_RESTART to
625 break out of select when a signal arrives
627 * kdc/main.c (main): use sigaction without SA_RESTART to break out
628 of select when a signal arrives
630 * kdc/kstash.c: default to HDB_DB_DIR "/m-key"
632 * kdc/config.c (configure): add `--version'. Check the number of
633 arguments. Handle the case of there being no specification of port
636 * admin/util.c: seal and unseal key at appropriate places
638 * admin/kdb_edit.c (main): parse arguments, config file and read
639 master key iff there's one.
641 * admin/extkeytab.c (ext_keytab): unseal key while extracting
643 Sun Sep 7 20:41:01 1997 Assar Westerlund <assar@sics.se>
645 * lib/roken/roken.h: include <fcntl.h>
647 * kdc/kerberos5.c (set_salt_padata): new function
649 * appl/telnet/telnetd/telnetd.c: Rename some variables that
650 conflict with cpp symbols on HP-UX 10.20
652 * change all calls of `gethostbyaddr' to cast argument 1 to `const
655 * acconfig.h: only use SGTTY on nextstep
657 Sun Sep 7 14:33:50 1997 Johan Danielsson <joda@emma.pdc.kth.se>
659 * kdc/kerberos5.c: Check invalid flag.
661 Fri Sep 5 14:19:38 1997 Johan Danielsson <joda@emma.pdc.kth.se>
663 * lib/krb5/verify_user.c: Use get_init_creds/verify_init_creds.
665 * lib/kafs: Move functions common to krb/krb5 modules to new file,
666 and make things more modular.
668 * lib/krb5/krb5.h: rename STRING -> krb5_config_string, and LIST
671 Thu Sep 4 23:39:43 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
673 * lib/krb5/get_addrs.c: Fix loopback test.
675 Thu Sep 4 04:45:49 1997 Assar Westerlund <assar@sics.se>
677 * lib/roken/roken.h: fallback definition of `O_ACCMODE'
679 * lib/krb5/get_in_tkt.c (krb5_get_in_cred): be more careful when
680 checking for a v4 reply
682 Wed Sep 3 18:20:14 1997 Johan Danielsson <joda@emma.pdc.kth.se>
684 * kdc/hprop.c: Add `--decrypt' and `--encrypt' flags.
686 * lib/hdb/hdb.c: new {seal,unseal}_keys functions
688 * kdc/{hprop,hpropd}.c: Add support to dump database to stdout.
690 * kdc/hprop.c: Don't use same master key as version 4.
692 * admin/util.c: Don't dump core if no `default' is found.
694 Wed Sep 3 16:01:07 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
696 * kdc/connect.c: Allow run time port specification.
698 * kdc/config.c: Add flags for http support, and port
701 Tue Sep 2 02:00:03 1997 Assar Westerlund <assar@sics.se>
703 * include/bits.c: Don't generate ifndef's in bits.h. Instead, use
704 them when building the program. This makes it possible to include
705 bits.h without having defined all HAVE_INT17_T symbols.
707 * configure.in: test for sigaction
709 * doc: updated documentation.
711 Tue Sep 2 00:20:31 1997 Johan Danielsson <joda@emma.pdc.kth.se>
715 Mon Sep 1 17:42:14 1997 Johan Danielsson <joda@emma.pdc.kth.se>
717 * lib/krb5/data.c: don't return ENOMEM if len == 0
719 Sun Aug 31 17:15:49 1997 Johan Danielsson <joda@emma.pdc.kth.se>
721 * lib/hdb/hdb.asn1: Include salt type in salt.
723 * kdc/hprop.h: Change port to 754.
725 * kdc/hpropd.c: Verify who tries to transmit a database.
727 * appl/popper: Use getarg and krb5_log.
729 * lib/krb5/get_port.c: Add context parameter. Now takes port in
732 Sat Aug 30 18:48:19 1997 Johan Danielsson <joda@emma.pdc.kth.se>
734 * kdc/connect.c: Add timeout to select, and log about expired tcp
737 * kdc/config.c: Add `database' option.
739 * kdc/hpropd.c: Log about duplicate entries.
741 * lib/hdb/{db,ndbm}.c: Use common routines.
743 * lib/hdb/common.c: Implement more generic fetch/store/delete
746 * lib/hdb/hdb.h: Add `replace' parameter to store.
748 * kdc/connect.c: Set filedecriptor to -1 on allocated decriptor
751 Fri Aug 29 03:13:23 1997 Assar Westerlund <assar@sics.se>
753 * lib/krb5/get_in_tkt.c: extract_ticket -> _krb5_extract_ticket
755 * aux/make-proto.pl: fix __P for stone age mode
757 Fri Aug 29 02:45:46 1997 Johan Danielsson <joda@emma.pdc.kth.se>
759 * lib/45/mk_req.c: implementation of krb_mk_req that uses 524
762 * lib/krb5/init_creds_pw.c: make change_password and
763 get_init_creds_common static
765 * lib/krb5/krb5.h: Merge stuff from removed headerfiles.
767 * lib/krb5/fcache.c: fcc_ops -> krb5_fcc_ops
769 * lib/krb5/mcache.c: mcc_ops -> krb5_mcc_ops
771 Fri Aug 29 01:45:25 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
773 * lib/krb5/krb5.h: Remove all prototypes.
775 * lib/krb5/convert_creds.c: Use `struct credentials' instead of
778 Fri Aug 29 00:08:18 1997 Assar Westerlund <assar@sics.se>
780 * lib/asn1/gen_glue.c: new file. generates 2int and int2 functions
781 and units for bit strings.
783 * admin/util.c: flags2int, int2flags, and flag_units are now
784 generated by asn1_compile
786 * lib/roken/parse_units.c: generalised `parse_units' and
787 `unparse_units' and added new functions `parse_flags' and
788 `unparse_flags' that use these
790 * lib/krb5/krb5_locl.h: moved krb5_data* functions to krb5.h
792 * admin/util.c: Use {un,}parse_flags for printing and parsing
795 Thu Aug 28 03:26:12 1997 Assar Westerlund <assar@sics.se>
797 * lib/krb5/get_addrs.c: restructured
799 * lib/krb5/warn.c (_warnerr): leak less memory
801 * lib/hdb/hdb.c (hdb_free_entry): zero keys
802 (hdb_check_db_format): leak less memory
804 * lib/hdb/ndbm.c (NDBM_seq): check for valid hdb_entries implement
807 * lib/hdb/db.c (DB_seq): check for valid hdb_entries
809 Thu Aug 28 02:06:58 1997 Johan Danielsson <joda@emma.pdc.kth.se>
811 * lib/krb5/send_to_kdc.c: Don't use sendto on connected sockets.
813 Thu Aug 28 01:13:17 1997 Assar Westerlund <assar@sics.se>
815 * kuser/kinit.1, klist.1, kdestroy.1: new man pages
817 * kpasswd/kpasswd.1, kpasswdd.8: new man pages
819 * kdc/kstash.8, hprop.8, hpropd.8: new man pages
821 * admin/ktutil.8, admin/kdb_edit.8: new man pages
823 * admin/mod.c: new file
825 * admin/life.c: renamed gettime and puttime to getlife and putlife
826 and moved them to life.c
828 * admin/util.c: add print_flags, parse_flags, init_entry,
829 set_created_by, set_modified_by, edit_entry, set_password. Use
832 * admin/get.c: use print_flags
834 * admin: removed unused stuff. use krb5_{warn,err}*
836 * admin/ank.c: re-organized and abstracted.
838 * admin/gettime.c: removed
840 Thu Aug 28 00:37:39 1997 Johan Danielsson <joda@emma.pdc.kth.se>
842 * lib/krb5/{get_cred,get_in_tkt}.c: Check for v4 reply.
844 * lib/roken/base64.c: Add base64 functions.
846 * kdc/connect.c lib/krb5/send_to_kdc.c: Add http support.
848 Wed Aug 27 00:29:20 1997 Johan Danielsson <joda@emma.pdc.kth.se>
850 * include/Makefile.am: Don't make links to built files.
852 * admin/kdb_edit.c: Add command to set the database path.
854 * lib/hdb: Include version number in database.
856 Tue Aug 26 20:14:54 1997 Johan Danielsson <joda@emma.pdc.kth.se>
858 * admin/ktutil: Merged v4 srvtab conversion.
860 Mon Aug 25 23:02:18 1997 Assar Westerlund <assar@sics.se>
862 * lib/roken/roken.h: add F_OK
864 * lib/gssapi/acquire_creds.c: fix typo
866 * configure.in: call AC_TYPE_MODE_T
868 * acinclude.m4: Add AC_TYPE_MODE_T
870 Sun Aug 24 16:46:53 1997 Assar Westerlund <assar@sics.se>
874 Sun Aug 24 08:06:54 1997 Assar Westerlund <assar@sics.se>
876 * appl/rsh/rshd.c: syslog remote shells
878 * appl/popper/pop_pass.c: log poppers
880 * kdc/kaserver.c: some more checks
882 * kpasswd/kpasswd.c: removed `-p'
884 * kuser/kinit.c: removed `-p'
886 * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): If
887 KDC_ERR_PREUATH_REQUIRED, add preauthentication and try again.
889 * lib/krb5/get_in_tkt.c (krb5_get_in_cred): don't print out
892 * lib/gssapi/import_name.c (input_name): more names types.
894 * admin/load.c (parse_keys): handle the case of an empty salt
896 * kdc/kaserver.c: fix up memory deallocation
898 * kdc/kaserver.c: quick hack at talking kaserver protocol
900 * kdc/kerberos4.c: Make `db-fetch4' global
902 * configure.in: add --enable-kaserver
904 * kdc/rx.h, kdc/kerberos4.h: new header files
906 * lib/krb5/principal.c: fix krb5_build_principal_ext & c:o
908 Sun Aug 24 03:52:44 1997 Johan Danielsson <joda@emma.pdc.kth.se>
910 * lib/krb5/{get_in_tkt,mk_safe,mk_priv}.c: Fix some Cray specific
913 * lib/krb5/{get_cred,get_in_tkt}.c: Mask nonce to 32 bits.
915 * lib/des/{md4,md5,sha}.c: Now works on Crays.
917 Sat Aug 23 18:15:01 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
919 * appl/afsutil/afslog.c: If no cells or files specified, get
920 tokens for all local cells. Better test for files.
922 Thu Aug 21 23:33:38 1997 Assar Westerlund <assar@sics.se>
924 * lib/gssapi/v1.c: new file with v1 compatibility functions.
926 Thu Aug 21 20:36:13 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
928 * lib/kafs/afskrb5.c: Don't check ticket file for afs ticket.
930 * kdc/kerberos4.c: Check database when converting v4 principals.
932 * kdc/kerberos5.c: Include kvno in Ticket.
934 * lib/krb5/encrypt.c: Add kvno parameter to encrypt_EncryptedData.
936 * kuser/klist.c: Print version number of ticket, include more
939 Wed Aug 20 21:26:58 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
941 * lib/kafs/afskrb5.c (get_cred): Check cached afs tickets for
944 Wed Aug 20 17:40:31 1997 Assar Westerlund <assar@sics.se>
946 * lib/krb5/recvauth.c (krb5_recvauth): Send a KRB-ERROR iff
949 * lib/krb5/sendauth.c (krb5_sendauth): correct the protocol
950 documentation and process KRB-ERROR's
952 Tue Aug 19 20:41:30 1997 Johan Danielsson <joda@emma.pdc.kth.se>
954 * kdc/kerberos4.c: Fix memory leak in v4 protocol handler.
956 Mon Aug 18 05:15:09 1997 Assar Westerlund <assar@sics.se>
958 * lib/gssapi/accept_sec_context.c: Added
959 `gsskrb5_register_acceptor_identity'
961 Sun Aug 17 01:40:20 1997 Assar Westerlund <assar@sics.se>
963 * lib/gssapi/accept_sec_context.c (gss_accept_sec_context): don't
964 always pass server == NULL to krb5_rd_req.
966 * lib/gssapi: new files: canonicalize_name.c export_name.c
967 context_time.c compare_name.c release_cred.c acquire_cred.c
968 inquire_cred.c, from Luke Howard <lukeh@xedoc.com.au>
970 * lib/krb5/config_file.c: Add netinfo support from Luke Howard
973 * lib/editline/sysunix.c: sgtty-support from Luke Howard
976 * lib/krb5/principal.c: krb5_sname_to_principal fix from Luke
977 Howard <lukeh@xedoc.com.au>
979 Sat Aug 16 00:44:47 1997 Assar Westerlund <assar@koi.pdc.kth.se>
983 Sat Aug 16 00:23:46 1997 Johan Danielsson <joda@emma.pdc.kth.se>
985 * appl/afsutil/afslog.c: Use new libkafs.
987 * lib/kafs/afskrb5.c: Get AFS tokens via 524 protocol.
989 * lib/krb5/warn.c: Fix format string for *x type.
991 Fri Aug 15 22:15:01 1997 Assar Westerlund <assar@sics.se>
993 * admin/get.c (get_entry): print more information about the entry
995 * lib/des/Makefile.am: build destest, mdtest, des, rpw, speed
997 * lib/krb5/config_file.c: new functions `krb5_config_get_time' and
998 `krb5_config_vget_time'. Use them.
1000 Fri Aug 15 00:09:37 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1002 * admin/ktutil.c: Keytab manipulation program.
1004 * lib/krb5/keytab.c: Return sane values from resolve and
1007 * kdc/kerberos5.c: Fix for old clients passing 0 for `no endtime'.
1009 * lib/45/get_ad_tkt.c: Kerberos 4 get_ad_tkt using
1010 krb524_convert_creds_kdc.
1012 * lib/krb5/convert_creds.c: Implementation of
1013 krb524_convert_creds_kdc.
1015 * lib/asn1/k5.asn1: Make kdc-req-body.till OPTIONAL
1017 * kdc/524.c: A somewhat working 524-protocol module.
1019 * kdc/kerberos4.c: Add version 4 ticket encoding and encryption
1022 * lib/krb5/context.c: Fix kdc_timeout.
1024 * lib/hdb/{ndbm,db}.c: Free name in close.
1026 * kdc/kerberos5.c (tgs_check_autenticator): Return error code
1028 Thu Aug 14 21:29:03 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1030 * kdc/kerberos5.c (tgs_make_reply): Fix endtime in reply.
1032 * lib/krb5/store_emem.c: Fix reallocation bug.
1034 Tue Aug 12 01:29:46 1997 Assar Westerlund <assar@sics.se>
1036 * appl/telnet/libtelnet/kerberos5.c, appl/popper/pop_init.c,
1037 appl/rshd/rshd.c: Use `krb5_sock_to_principal'. Send server
1038 parameter to krb5_rd_req/krb5_recvauth. Set addresses in
1041 * lib/krb5/recvauth.c: Set addresses in auth_context if there
1044 * lib/krb5/auth_context.c: New function
1045 `krb5_auth_con_setaddrs_from_fd'
1047 * lib/krb5/sock_principal.c: new function
1048 `krb5_sock_to_principal'
1050 * lib/krb5/time.c: new file with `krb5_timeofday' and
1051 `krb5_us_timeofday'. Use these functions.
1053 * kuser/klist.c: print KDC offset iff verbose
1055 * lib/krb5/get_in_tkt.c: implement KDC time offset and use it if
1056 [libdefaults]kdc_timesync is set.
1058 * lib/krb5/fcache.c: Implement version 4 of the ccache format.
1060 Mon Aug 11 05:34:43 1997 Assar Westerlund <assar@sics.se>
1062 * lib/krb5/rd_rep.c (krb5_free_ap_rep_enc_part): free all memory
1064 * lib/krb5/principal.c (krb5_unparse_name): allocate memory
1067 * kpasswd/kpasswd.c: Use `krb5_change_password'
1069 * lib/krb5/init_creds_pw.c (init_cred): set realm of server
1072 * lib/krb5/init_creds_pw.c: support changing of password when it
1075 * lib/krb5/changepw.c: new file
1077 * kuser/klist.c: use getarg
1079 * admin/init.c (init): add `kadmin/changepw'
1081 Mon Aug 11 04:30:47 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1083 * lib/krb5/get_cred.c: Make get_credentials handle cross-realm.
1085 Mon Aug 11 00:03:24 1997 Assar Westerlund <assar@sics.se>
1087 * lib/krb5/config_file.c: implement support for #-comments
1089 Sat Aug 9 02:21:46 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1091 * kdc/hprop*.c: Add database propagation programs.
1093 * kdc/connect.c: Max request size.
1095 Sat Aug 9 00:47:28 1997 Assar Westerlund <assar@sics.se>
1097 * lib/otp: resurrected from krb4
1099 * appl/push: new program for fetching mail with POP.
1101 * appl/popper/popper.h: new include files. new fields in `POP'
1103 * appl/popper/pop_pass.c: Implement both v4 and v5.
1105 * appl/popper/pop_init.c: Implement both v4 and v5.
1107 * appl/popper/pop_debug.c: use getarg. Talk both v4 and v5
1109 * appl/popper: Popper from krb4.
1111 * configure.in: check for inline and <netinet/tcp.h> generate
1112 files in appl/popper, appl/push, and lib/otp
1114 Fri Aug 8 05:51:02 1997 Assar Westerlund <assar@sics.se>
1116 * lib/krb5/get_cred.c: clean-up and try to free memory even when
1119 * lib/krb5/get_cred.c: adapt to new `extract_ticket'
1121 * lib/krb5/get_in_tkt.c: reorganize. check everything and try to
1122 return memory even if there are errors.
1124 * kuser/kverify.c: new file
1126 * lib/krb5/free_host_realm.c: new file
1128 * lib/krb5/principal.c (krb5_sname_to_principal): implement
1129 different nametypes. Also free memory.
1131 * lib/krb5/verify_init.c: more functionality
1133 * lib/krb5/mk_req_ext.c (krb5_mk_req_extended): free the checksum
1135 * lib/krb5/get_in_tkt.c (extract_ticket): don't copy over the
1136 principals in creds. Should also compare them with that received
1139 * lib/krb5/cache.c (krb5_cc_gen_new): copy the newly allocated
1141 (krb5_cc_destroy): call krb5_cc_close
1142 (krb5_cc_retrieve_cred): delete the unused creds
1144 Fri Aug 8 02:30:40 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1146 * lib/krb5/log.c: Allow better control of destinations of logging
1147 (like passing explicit destinations, and log-functions).
1149 Fri Aug 8 01:20:39 1997 Assar Westerlund <assar@sics.se>
1151 * lib/krb5/get_default_principal.c: new file
1153 * kpasswd/kpasswdd.c: use krb5_log*
1155 Fri Aug 8 00:37:47 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1157 * lib/krb5/init_creds_pw.c: Implement krb5_get_init_creds_keytab.
1159 Fri Aug 8 00:37:17 1997 Assar Westerlund <assar@sics.se>
1161 * lib/krb5/init_creds_pw.c: Use `krb5_get_default_principal'.
1162 Print password expire information.
1164 * kdc/config.c: new variable `kdc_warn_pwexpire'
1166 * kpasswd/kpasswd.c: converted to getarg and get_init_creds
1168 Thu Aug 7 22:17:09 1997 Assar Westerlund <assar@sics.se>
1170 * lib/krb5/mcache.c: new file
1172 * admin/gettime.c: new function puttime. Use it.
1174 * lib/krb5/keyblock.c: Added krb5_free_keyblock and
1177 * lib/krb5/init_creds_pw.c: more functionality
1179 * lib/krb5/creds.c: Added krb5_free_creds_contents and
1180 krb5_copy_creds. Changed callers.
1182 * lib/krb5/config_file.c: new functions krb5_config_get and
1185 * lib/krb5/cache.c: cleanup added mcache
1187 * kdc/kerberos5.c: include last-req's of type 6 and 7, if
1190 Wed Aug 6 20:38:23 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1192 * lib/krb5/log.c: New parameter `log-level'. Default to `SYSLOG'.
1194 Tue Aug 5 22:53:54 1997 Assar Westerlund <assar@sics.se>
1196 * lib/krb5/verify_init.c, init_creds_pw.c, init_creds.c,
1197 prompter_posix.c: the beginning of an implementation of the cygnus
1200 * lib/krb5/get_in_tkt_pw.c: make `krb5_password_key_proc' global
1202 * lib/krb5/get_in_tkt.c (krb5_get_in_cred): new function that is
1203 almost krb5_get_in_tkt but doesn't write the creds to the ccache.
1204 Small fixes in krb5_get_in_tkt
1206 * lib/krb5/get_addrs.c (krb5_get_all_client_addrs): don't include
1209 Mon Aug 4 20:20:48 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1211 * kdc: Make context global.
1213 Fri Aug 1 17:23:56 1997 Assar Westerlund <assar@sics.se>
1217 * lib/roken/flock.c: new file
1219 * kuser/kinit.c: check for and print expiry information in the
1222 * lib/krb5/get_in_tkt.c: Set `ret_as_reply' if != NULL
1224 * kdc/kerberos5.c: Check the valid times on client and server.
1225 Check the password expiration.
1226 Check the require_preauth flag.
1227 Send an lr_type == 6 with pw_end.
1228 Set key.expiration to min(valid_end, pw_end)
1230 * lib/hdb/hdb.asn1: new flags `require_preauth' and `change_pw'
1232 * admin/util.c, admin/load.c: handle the new flags.
1234 Fri Aug 1 16:56:12 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1236 * lib/hdb: Add some simple locking.
1238 Sun Jul 27 04:44:31 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1240 * lib/krb5/log.c: Add some general logging functions.
1242 * kdc/kerberos4.c: Add version 4 protocol handler. The requrement
1243 for this to work is that all involved principals has a des key in
1244 the database, and that the client has a version 4 (un-)salted
1245 key. Furthermore krb5_425_conv_principal has to do it's job, as
1246 present it's not very clever.
1248 * lib/krb5/principal.c: Quick patch to make 425_conv work
1251 * lib/hdb/hdb.c: Add keytype->key and next key functions.
1253 Fri Jul 25 17:32:12 1997 Assar Westerlund <assar@sics.se>
1255 * lib/krb5/build_auth.c (krb5_build_authenticator): don't free
1256 `cksum'. It's allocated and freed by the caller
1258 * lib/krb5/get_cred.c (krb5_get_kdc_cred): Don't free `addresses'.
1260 * kdc/kerberos5.c (tgs_rep2): make sure we also have an defined
1261 `client' to return as part of the KRB-ERROR
1263 * appl/rsh/rshd.c: implement forwarding
1265 * appl/rsh/rsh.c: Use getarg. Implement forwarding.
1267 Thu Jul 24 08:13:59 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1269 * kdc/kerberos5.c: Unseal keys from database before use.
1271 * kdc/misc.c: New functions set_master_key, unseal_key and
1274 * lib/roken/getarg.c: Handle `-f arg' correctly.
1276 Thu Jul 24 01:54:43 1997 Assar Westerlund <assar@sics.se>
1278 * kuser/kinit.c: implement `-l' aka `--lifetime'
1280 * lib/roken/parse_units.c, parse_time.c: new files
1282 * admin/gettime.c (gettime): use `parse_time'
1284 * kdc/kerberos5.c (as_rep): Use `METHOD-DATA' when sending
1285 KRB5KDC_ERR_PREAUTH_REQUIRED, not PA-DATA.
1287 * kpasswd/kpasswdd.c: fix freeing bug use sequence numbers set
1288 addresses in auth_context bind one socket per interface.
1290 * kpasswd/kpasswd.c: use sequence numbers
1292 * lib/krb5/rd_req.c (krb5_verify_ap_req): do abs when verifying
1295 * lib/krb5/rd_priv.c (krb5_rd_priv): Fetch the correct session key
1298 * lib/krb5/mk_priv.c (krb5_mk_priv): Fetch the correct session key
1301 * lib/krb5/mk_error.c (krb5_mk_error): return an error number and
1302 not a comerr'd number.
1304 * lib/krb5/get_in_tkt.c (krb5_get_in_tkt): interpret the error
1305 number in KRB-ERROR correctly.
1307 * lib/krb5/get_cred.c (krb5_get_kdc_cred): interpret the error
1308 number in KRB-ERROR correctly.
1310 * lib/asn1/k5.asn1: Add `METHOD-DATA'
1312 * removed some memory leaks.
1314 Wed Jul 23 07:53:18 1997 Assar Westerlund <assar@sics.se>
1318 * lib/krb5/rd_cred.c, get_for_creds.c: new files
1320 * lib/krb5/get_host_realm.c: try default realm as last chance
1322 * kpasswd/kpasswdd.c: updated to hdb changes
1324 * appl/telnet/libtelnet/kerberos5.c: Implement forwarding
1326 * appl/telnet/libtelnet: removed totally unused files
1328 * admin/ank.c: fix prompts and generation of random keys
1330 Wed Jul 23 04:02:32 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1332 * admin/dump.c: Include salt in dump.
1334 * admin: Mostly updated for new db-format.
1336 * kdc/kerberos5.c: Update to use new db format. Better checking of
1337 flags and such. More logging.
1339 * lib/hdb/hdb.c: Use generated encode and decode functions.
1341 * lib/hdb/hdb.h: Get hdb_entry from ASN.1 generated code.
1343 * lib/krb5/get_cred.c: Get addresses from krbtgt if there are none
1346 Sun Jul 20 16:22:30 1997 Assar Westerlund <assar@sics.se>
1348 * kuser/kinit.c: break if des_read_pw_string() != 0
1350 * kpasswd/kpasswdd.c: send a reply
1352 * kpasswd/kpasswd.c: restructured code. better report on
1353 krb-error break if des_read_pw_string() != 0
1355 * kdc/kerberos5.c: Check `require_enc_timestamp' malloc space for
1356 starttime and renew_till
1358 * appl/telnet/libtelnet/kerberos5.c (kerberos5_is): Send a
1359 keyblock to krb5_verify_chekcsum
1361 Sun Jul 20 06:35:46 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1365 * kpasswd/kpasswd.c: Avoid using non-standard struct names.
1367 Sat Jul 19 19:26:23 1997 Assar Westerlund <assar@sics.se>
1369 * lib/krb5/keytab.c (krb5_kt_get_entry): check return from
1370 `krb5_kt_start_seq_get'. From <map@stacken.kth.se>
1372 Sat Jul 19 04:07:39 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1374 * lib/asn1/k5.asn1: Update with more pa-data types from
1375 draft-ietf-cat-kerberos-revisions-00.txt
1377 * admin/load.c: Update to match current db-format.
1379 * kdc/kerberos5.c (as_rep): Try all valid pa-datas before giving
1380 up. Send back an empty pa-data if the client has the v4 flag set.
1382 * lib/krb5/get_in_tkt.c: Pass both version5 and version4 salted
1383 pa-data. DTRT if there is any pa-data in the reply.
1385 * lib/krb5/str2key.c: XOR with some sane value.
1387 * lib/hdb/hdb.h: Add `version 4 salted key' flag.
1389 * kuser/kinit.c: Ask for password before calling get_in_tkt. This
1390 makes it possible to call key_proc more than once.
1392 * kdc/string2key.c: Add flags to output version 5 (DES only),
1393 version 4, and AFS string-to-key of a password.
1395 * lib/asn1/gen_copy.c: copy_* functions now returns an int (0 or
1398 Fri Jul 18 02:54:58 1997 Assar Westerlund <assar@sics.se>
1400 * lib/krb5/get_host_realm.c (krb5_get_host_realm): do the
1403 * kdc/misc.c: check result of hdb_open
1405 * admin/kdb_edit: updated to new sl
1407 * lib/sl: sl_func now returns an int. != 0 means to exit.
1409 * kpasswd/kpasswdd: A crude (but somewhat working) implementation
1410 of `draft-ietf-cat-kerb-chg-password-00.txt'
1412 Fri Jul 18 00:55:39 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1414 * kuser/krenew.c: Crude ticket renewing program.
1416 * kdc/kerberos5.c: Rewritten flags parsing, it now might work to
1417 get forwarded and renewed tickets.
1419 * kuser/kinit.c: Add `-r' flag.
1421 * lib/krb5/get_cred.c: Move most of contents of get_creds to new
1422 function get_kdc_cred, that always contacts the kdc and doesn't
1423 save in the cache. This is a hack.
1425 * lib/krb5/get_in_tkt.c: Pass starttime and renew_till in request
1428 * lib/krb5/mk_req_ext.c: Make an auth_context if none passed in.
1430 * lib/krb5/send_to_kdc.c: Get timeout from context.
1432 * lib/krb5/context.c: Add kdc_timeout to context struct.
1434 Thu Jul 17 20:35:45 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1436 * kuser/klist.c: Print start time of ticket if available.
1438 * lib/krb5/get_host_realm.c: Return error if no realm was found.
1440 Thu Jul 17 20:28:21 1997 Assar Westerlund <assar@sics.se>
1442 * kpasswd: non-working kpasswd added
1444 Thu Jul 17 00:21:22 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1448 * kdc/main.c: Add -p flag to disable pa-enc-timestamp requirement.
1450 Wed Jul 16 03:37:41 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1452 * kdc/kerberos5.c (tgs_rep2): Free ticket and ap_req.
1454 * lib/krb5/auth_context.c (krb5_auth_con_free): Free remote
1457 * lib/krb5/principal.c (krb5_free_principal): Check for NULL.
1459 * lib/krb5/send_to_kdc.c: Check for NULL return from
1462 * lib/krb5/set_default_realm.c: Try to get realm of local host if
1463 no default realm is available.
1465 * Remove non ASN.1 principal code.
1467 Wed Jul 16 03:17:30 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1469 * kdc/kerberos5.c: Split tgs_rep in smaller functions. Add better
1470 error handing. Do some logging.
1472 * kdc/log.c: Some simple logging facilities.
1474 * kdc/misc.c (db_fetch): Take a krb5_principal.
1476 * kdc/connect.c: Pass address of request to as_rep and
1477 tgs_rep. Send KRB-ERROR.
1479 * lib/krb5/mk_error.c: Add more fields.
1481 * lib/krb5/get_cred.c: Print normal error code if no e_text is
1484 Wed Jul 16 03:07:50 1997 Assar Westerlund <assar@sics.se>
1486 * lib/krb5/get_in_tkt.c: implement `krb5_init_etype'.
1487 Change encryption type of pa_enc_timestamp to DES-CBC-MD5
1489 * lib/krb5/context.c: recognize all encryption types actually
1492 * lib/krb5/auth_context.c (krb5_auth_con_init): Change default
1493 encryption type to `DES_CBC_MD5'
1495 * lib/krb5/read_message.c, write_message.c: new files
1497 Tue Jul 15 17:14:21 1997 Assar Westerlund <assar@sics.se>
1499 * lib/asn1: replaced asn1_locl.h by `der_locl.h' and `gen_locl.h'.
1501 * lib/error/compile_et.awk: generate a prototype for the
1502 `destroy_foo_error_table' function.
1504 Mon Jul 14 12:24:40 1997 Assar Westerlund <assar@sics.se>
1506 * lib/krb5/krbhst.c (krb5_get_krbhst): Get all kdc's and try also
1507 with `kerberos.REALM'
1509 * kdc/kerberos5.c, lib/krb5/rd_priv.c, lib/krb5/rd_safe.c: use
1512 * lib/krb5/rd_req.c (krb5_verify_ap_req): record authenticator
1515 * lib/krb5/build_auth.c (krb5_build_authenticator): always
1518 * lib/krb5/address.c: implement `krb5_address_order'
1520 * lib/gssapi/import_name.c: Implement `gss_import_name'
1522 * lib/gssapi/external.c: Use new OID
1524 * lib/gssapi/encapsulate.c: New functions
1525 `gssapi_krb5_encap_length' and `gssapi_krb5_make_header'. Changed
1528 * lib/gssapi/decapsulate.c: New function
1529 `gssaspi_krb5_verify_header'. Changed callers.
1531 * lib/asn1/gen*.c: Give tags to generated structs.
1532 Use `err' and `asprintf'
1534 * appl/test/gss_common.c: new file
1536 * appl/test/gssapi_server.c: removed all krb5 calls
1538 * appl/telnet/libtelnet/kerberos5.c: Add support for genering and
1539 verifying checksums. Also start using session subkeys.
1541 Mon Jul 14 12:08:25 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1543 * lib/krb5/rd_req.c (krb5_rd_req_with_keyblock): Split up.
1545 Sun Jul 13 03:07:44 1997 Assar Westerlund <assar@sics.se>
1547 * lib/krb5/rd_safe.c, mk_safe.c: made bug-compatible with MIT
1549 * lib/krb5/encrypt.c: new functions `DES_encrypt_null_ivec' and
1550 `DES_encrypt_key_ivec'
1552 * lib/krb5/checksum.c: implement rsa-md4-des and rsa-md5-des
1554 * kdc/kerberos5.c (tgs_rep): support keyed checksums
1556 * lib/krb5/creds.c: new file
1558 * lib/krb5/get_in_tkt.c: better freeing
1560 * lib/krb5/context.c (krb5_free_context): more freeing
1562 * lib/krb5/config_file.c: New function `krb5_config_file_free'
1564 * lib/error/compile_et.awk: Generate a `destroy_' function.
1566 * kuser/kinit.c, klist.c: Don't leak memory.
1568 Sun Jul 13 02:46:27 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1570 * kdc/connect.c: Check filedescriptor in select.
1572 * kdc/kerberos5.c: Remove most of the most common memory leaks.
1574 * lib/krb5/rd_req.c: Free allocated data.
1576 * lib/krb5/auth_context.c (krb5_auth_con_free): Free a lot of
1579 Sun Jul 13 00:32:16 1997 Assar Westerlund <assar@sics.se>
1581 * appl/telnet, appl/rsh: Conditionalize the krb4-support.
1583 * configure.in: Test for krb4
1585 Sat Jul 12 17:14:12 1997 Assar Westerlund <assar@sics.se>
1587 * kdc/kerberos5.c: check if the pre-auth was decrypted properly.
1588 set the `pre_authent' flag
1590 * lib/krb5/get_cred.c, lib/krb5/get_in_tkt.c: generate a random nonce.
1592 * lib/krb5/encrypt.c: Made `generate_random_block' global.
1594 * appl/test: Added gssapi_client and gssapi_server.
1596 * lib/krb5/data.c: Add `krb5_data_zero'
1598 * appl/test/tcp_client.c: try `mk_safe' and `mk_priv'
1600 * appl/test/tcp_server.c: try `rd_safe' and `rd_priv'
1602 Sat Jul 12 16:45:58 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1604 * lib/krb5/get_addrs.c: Fix for systems that has sa_len, but
1605 returns zero length from SIOCGIFCONF.
1607 Sat Jul 12 16:38:34 1997 Assar Westerlund <assar@sics.se>
1609 * appl/test: new programs
1611 * lib/krb5/rd_req.c: add address compare
1613 * lib/krb5/mk_req_ext.c: allow no checksum
1615 * lib/krb5/keytab.c (krb5_kt_ret_string): 0-terminate string
1617 * lib/krb5/address.c: fix `krb5_address_compare'
1619 Sat Jul 12 15:03:16 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1621 * lib/krb5/get_addrs.c: Fix ip4 address extraction.
1623 * kuser/klist.c: Add verbose flag, and split main into smaller
1626 * lib/krb5/fcache.c: Save ticket flags.
1628 * lib/krb5/get_in_tkt.c (extract_ticket): Extract addresses and
1631 * lib/krb5/krb5.h: Add ticket_flags to krb5_creds.
1633 Sat Jul 12 13:12:48 1997 Assar Westerlund <assar@sics.se>
1635 * configure.in: Call `AC_KRB_PROG_LN_S'
1637 * acinclude.m4: Add `AC_KRB_PROG_LN_S' from krb4
1639 Sat Jul 12 00:57:01 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1641 * lib/krb5/get_in_tkt.c: Use union of krb5_flags and KDCOptions to
1644 Fri Jul 11 15:04:22 1997 Assar Westerlund <assar@sics.se>
1646 * appl/telnet: telnet & telnetd seems to be working.
1648 * lib/krb5/config_file.c: Added krb5_config_v?get_list Fixed
1649 krb5_config_vget_next
1651 * appl/telnet/libtelnet/kerberos5.c: update to current API
1653 Thu Jul 10 14:54:39 1997 Assar Westerlund <assar@sics.se>
1655 * appl/telnet/libtelnet/kerberos5.c (kerberos5_status): call
1658 * appl/telnet: Added.
1660 Thu Jul 10 05:09:25 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1662 * lib/error/compile_et.awk: Remove usage of sub, gsub, and
1663 functions for compatibility with awk.
1665 * include/bits.c: Must use signed char.
1667 * lib/krb5/context.c: Move krb5_get_err_text, and krb5_init_ets
1670 * lib/error/error.c: Replace krb5_get_err_text with new function
1673 * lib/error/compile_et.awk: Avoid using static variables.
1675 * lib/error/error.c: Don't use krb5_locl.h
1677 * lib/error/error.h: Move definitions of error_table and
1678 error_list from krb5.h.
1680 * lib/error: Moved from lib/krb5.
1682 Wed Jul 9 07:42:04 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1684 * lib/krb5/encrypt.c: Temporary hack to avoid des_rand_data.
1686 Wed Jul 9 06:58:00 1997 Assar Westerlund <assar@sics.se>
1688 * appl/rsh/rsh.c: use the correct user for the checksum
1690 * lib/krb5/{rd,mk}_{*}.c: more checking for addresses and stuff
1691 according to pseudocode from 1510
1693 Wed Jul 9 06:06:06 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1695 * lib/hdb/hdb.c: Add hdb_etype2key.
1697 * kdc/kerberos5.c: Check authenticator. Use more general etype
1700 Wed Jul 9 03:51:12 1997 Assar Westerlund <assar@sics.se>
1702 * lib/asn1/k5.asn1: Made all `s_address' OPTIONAL according to
1703 draft-ietf-cat-kerberos-r-00.txt
1705 * lib/krb5/principal.c (krb5_parse_name): default to local realm
1708 * kuser/kinit.c: New option `-p' and prompt
1710 Wed Jul 9 02:30:06 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1712 * lib/krb5/keyblock.c: Keyblock generation functions.
1714 * lib/krb5/encrypt.c: Use functions from checksum.c.
1716 * lib/krb5/checksum.c: Move checksum functions here. Add
1717 krb5_cksumsize function.
1719 Wed Jul 9 01:15:38 1997 Assar Westerlund <assar@sics.se>
1721 * lib/krb5/get_host_realm.c: implemented
1723 * lib/krb5/config_file.c: Redid part. New functions:
1724 krb5_config_v?get_next
1726 * kuser/kdestroy.c: new program
1728 * kuser/kinit.c: new flag `-f'
1730 * lib/asn1/k5.asn1: Made HostAddresses = SEQUENCE OF HostAddress
1732 * acinclude.m4: Added AC_KRB_STRUCT_SOCKADDR_SA_LEN
1734 * lib/krb5/krb5.h: krb5_addresses == HostAddresses. Changed all
1737 * lib/krb5/get_addrs.c: figure out all local addresses, possibly
1740 * lib/krb5/checksum.c: table-driven checksum
1742 Mon Jul 7 21:13:28 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1744 * lib/krb5/encrypt.c: Make krb5_decrypt use the same struct as
1747 Mon Jul 7 11:15:51 1997 Assar Westerlund <assar@sics.se>
1749 * lib/roken/vsyslog.c: new file
1751 * lib/krb5/encrypt.c: add des-cbc-md4.
1752 adjust krb5_encrypt and krb5_decrypt to reality
1754 * appl/rsh/rshd.c: Now works. Also implementd encryption and
1757 * appl/rsh/common.c: new file
1759 Mon Jul 7 02:46:31 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1761 * lib/krb5/encrypt.c: Implement as a vector of function pointers.
1763 * lib/krb5/{decrypt,encrypt}.c: Implement des-cbc-crc, and
1764 des-cbc-md5 in separate functions.
1766 * lib/krb5/krb5.h: Add more checksum and encryption types.
1768 * lib/krb5/krb5_locl.h: Add etype to krb5_decrypt.
1770 Sun Jul 6 23:02:59 1997 Assar Westerlund <assar@sics.se>
1772 * lib/krb5/[gs]et_default_realm.c, kuserok.c: new files
1774 * lib/krb5/config_file.[ch]: new c-based configuration reading
1777 Wed Jul 2 23:12:56 1997 Assar Westerlund <assar@sics.se>
1779 * configure.in: Set WFLAGS if using gcc
1781 Wed Jul 2 17:47:03 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1783 * lib/asn1/der_put.c (der_put_int): Return size correctly.
1785 * admin/ank.c: Be compatible with the asn1 principal format.
1787 Wed Jul 1 23:52:20 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1789 * lib/asn1: Now all decode_* and encode_* functions now take a
1790 final size_t* argument, that they return the size in. Return
1791 values are zero for success, and anything else (such as some
1792 ASN1_* constant) for error.
1794 Mon Jun 30 06:08:14 1997 Assar Westerlund <assar@sics.se>
1796 * appl/rsh: New program.
1798 * lib/krb5/keytab.c (krb5_kt_add_entry): change open mode to
1801 * lib/krb5/get_cred.c: removed stale prototype for
1802 `extract_ticket' and corrected call.
1804 * lib/asn1/gen_length.c (length_type): Make the length functions
1805 for SequenceOf non-destructive
1807 * admin/ank.c (doit): Fix reading of `y/n'.
1809 Mon Jun 16 05:41:43 1997 Assar Westerlund <assar@sics.se>
1811 * lib/gssapi/wrap.c, unwrap.c: do encrypt and add sequence number
1813 * lib/gssapi/get_mic.c, verify_mic.c: Add sequence number.
1815 * lib/gssapi/accept_sec_context.c (gss_accept_sec_context): Set
1816 KRB5_AUTH_CONTEXT_DO_SEQUENCE. Verify 8003 checksum.
1818 * lib/gssapi/8003.c: New file.
1820 * lib/krb/krb5.h: Define a `krb_authenticator' as an ASN.1
1823 * lib/krb5/auth_context.c: New functions
1824 `krb5_auth_setlocalseqnumber' and `krb5_auth_setremoteseqnumber'
1826 Tue Jun 10 00:35:54 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1828 * lib/krb5: Preapre for use of some asn1-types.
1830 * lib/asn1/*.c (copy_*): Constness.
1832 * lib/krb5/krb5.h: Include asn1.h; krb5_data is now an
1835 * lib/asn1/der*,gen.c: krb5_data -> octet_string, char * ->
1838 * lib/asn1/libasn1.h: Moved stuff from asn1_locl.h that doesn't
1839 have anything to do with asn1_compile.
1841 * lib/asn1/asn1_locl.h: Remove der.h. Add some prototypes.
1843 Sun Jun 8 03:51:55 1997 Assar Westerlund <assar@sics.se>
1845 * kdc/kerberos5.c: Fix PA-ENC-TS-ENC
1847 * kdc/connect.c(process_request): Set `new'
1849 * lib/krb5/get_in_tkt.c: Do PA-ENC-TS-ENC the correct way.
1851 * lib: Added editline,sl,roken.
1853 Mon Jun 2 00:37:48 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1855 * lib/krb5/fcache.c: Move file cache from cache.c.
1857 * lib/krb5/cache.c: Allow more than one cache type.
1859 Sun Jun 1 23:45:33 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1861 * admin/extkeytab.c: Merged with kdb_edit.
1863 Sun Jun 1 23:23:08 1997 Assar Westerlund <assar@sics.se>
1865 * kdc/kdc.c: more support for ENC-TS-ENC
1867 * lib/krb5/get_in_tkt.c: redone to enable pre-authentication
1869 Sun Jun 1 22:45:11 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1871 * lib/hdb/db.c: Merge fetch and store.
1873 * admin: Merge to one program.
1875 * lib/krb5/str2key.c: Fill in keytype and length.
1877 Sun Jun 1 16:31:23 1997 Assar Westerlund <assar@sics.se>
1879 * lib/krb5/rd_safe.c, lib/krb5/rd_priv.c, lib/krb5/mk_rep.c,
1880 lib/krb5/mk_priv.c, lib/krb5/build_auth.c: Some support for
1881 KRB5_AUTH_CONTEXT_DO_SEQUENCE
1883 * lib/krb5/get_in_tkt.c (get_in_tkt): be prepared to parse an
1884 KRB_ERROR. Some support for PA_ENC_TS_ENC.
1886 * lib/krb5/auth_context.c: implemented seq_number functions
1888 * lib/krb5/generate_subkey.c, generate_seq_number.c: new files
1890 * lib/gssapi/gssapi.h: avoid including <krb5.h>
1892 * lib/asn1/Makefile.am: SUFFIXES as a variable to make automake
1895 * kdc/kdc.c: preliminary PREAUTH_ENC_TIMESTAMP
1897 * configure.in: adapted to automake 1.1p
1899 Mon May 26 22:26:21 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1901 * lib/krb5/principal.c: Add contexts to many functions.
1903 Thu May 15 20:25:37 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1905 * lib/krb5/verify_user.c: First stab at a verify user.
1907 * lib/auth/sia/sia5.c: SIA module for Kerberos 5.
1909 Mon Apr 14 00:09:03 1997 Assar Westerlund <assar@sics.se>
1911 * lib/gssapi: Enough of a gssapi-over-krb5 implementation to be
1912 able to (mostly) run gss-client and gss-server.
1914 * lib/krb5/keytab.c: implemented krb5_kt_add_entry,
1915 krb5_kt_store_principal, krb5_kt_store_keyblock
1917 * lib/des/md5.[ch], sha.[ch]: new files
1919 * lib/asn1/der_get.c (generalizedtime2time): use `timegm'
1921 * lib/asn1/timegm.c: new file
1923 * admin/extkeytab.c: new program
1925 * admin/admin_locl.h: new file
1927 * admin/Makefile.am: Added extkeytab
1929 * configure.in: moved config to include
1930 removed timezone garbage
1931 added lib/gssapi and admin
1933 * Makefile.am: Added admin
1935 Mon Mar 17 11:34:05 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1937 * kdc/kdc.c: Use new copying functions, and free some data.
1939 * lib/asn1/Makefile.am: Try to not always rebuild generated files.
1941 * lib/asn1/der_put.c: Add fix_dce().
1943 * lib/asn1/der_{get,length,put}.c: Fix include files.
1945 * lib/asn1/der_free.c: Remove unused functions.
1947 * lib/asn1/gen.c: Split into gen_encode, gen_decode, gen_free,
1948 gen_length, and gen_copy.
1950 Sun Mar 16 18:13:52 1997 Assar Westerlund <assar@sics.se>
1952 * lib/krb5/sendauth.c: implemented functionality
1954 * lib/krb5/rd_rep.c: Use `krb5_decrypt'
1956 * lib/krb5/cache.c (krb5_cc_get_name): return default if `id' ==
1959 * lib/krb5/principal.c (krb5_free_principal): added `context'
1960 argument. Changed all callers.
1962 (krb5_sname_to_principal): new function
1964 * lib/krb5/auth_context.c (krb5_free_authenticator): add `context'
1965 argument. Changed all callers
1967 * lib/krb5/{net_write.c,net_read.c,recvauth.c}: new files
1969 * lib/asn1/gen.c: Fix encoding and decoding of BitStrings
1971 Fri Mar 14 11:29:00 1997 Assar Westerlund <assar@sics.se>
1973 * configure.in: look for *dbm?
1975 * lib/asn1/gen.c: Fix filename in generated files. Check fopens.
1976 Put trailing newline in asn1_files.
1978 Fri Mar 14 05:06:44 1997 Johan Danielsson <joda@emma.pdc.kth.se>
1980 * lib/krb5/get_in_tkt.c: Fix some memory leaks.
1982 * lib/krb5/krbhst.c: Properly free hostlist.
1984 * lib/krb5/decrypt.c: CRCs are 32 bits.
1986 Fri Mar 14 04:39:15 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
1988 * lib/asn1/gen.c: Generate one file for each type.
1990 Fri Mar 14 04:13:47 1997 Assar Westerlund <assar@sics.se>
1992 * lib/asn1/gen.c: Generate `length_FOO' functions
1994 * lib/asn1/der_length.c: new file
1996 * kuser/klist.c: renamed stime -> printable_time to avoid conflict
1999 Fri Mar 14 03:37:23 1997 Johan Danielsson <joda@emma.pdc.kth.se>
2001 * lib/hdb/ndbm.c: Return NOENTRY if fetch fails. Don't free
2002 datums. Don't add .db to filename.
2004 Fri Mar 14 02:49:51 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
2006 * kdc/dump.c: Database dump program.
2008 * kdc/ank.c: Trivial database editing program.
2010 * kdc/{kdc.c, load.c}: Use libhdb.
2012 * lib/hdb: New database routine library.
2014 * lib/krb5/error/Makefile.am: Add hdb_err.
2016 Wed Mar 12 17:41:14 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
2018 * kdc/kdc.c: Rewritten AS, and somewhat more working TGS support.
2020 * lib/asn1/gen.c: Generate free functions.
2022 * Some specific free functions.
2024 Wed Mar 12 12:30:13 1997 Assar Westerlund <assar@sics.se>
2026 * lib/krb5/krb5_mk_req_ext.c: new file
2028 * lib/asn1/gen.c: optimize the case with a simple type
2030 * lib/krb5/get_cred.c (krb5_get_credentials): Use
2031 `mk_req_extended' and remove old code.
2033 * lib/krb5/get_in_tkt.c (decrypt_tkt): First try with an
2034 EncASRepPart, then with an EncTGSRepPart.
2036 Wed Mar 12 08:26:04 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
2038 * lib/krb5/store_emem.c: New resizable memory storage.
2040 * lib/krb5/{store.c, store_fd.c, store_mem.c}: Split of store.c
2042 * lib/krb5/krb5.h: Add free entry to krb5_storage.
2044 * lib/krb5/decrypt.c: Make keyblock const.
2046 Tue Mar 11 20:22:17 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
2048 * lib/krb5/krb5.h: Add EncTicketPart to krb5_ticket.
2050 * lib/krb5/rd_req.c: Return whole asn.1 ticket in
2053 * lib/krb5/get_in_tkt.c: TGS -> AS
2055 * kuser/kfoo.c: Print error string rather than number.
2057 * kdc/kdc.c: Some kind of non-working TGS support.
2059 Mon Mar 10 01:43:22 1997 Assar Westerlund <assar@sics.se>
2061 * lib/asn1/gen.c: reduced generated code by 1/5
2063 * lib/asn1/der_put.c: (der_put_length_and_tag): new function
2065 * lib/asn1/der_get.c (der_match_tag_and_length): new function
2067 * lib/asn1/der.h: added prototypes
2069 Mon Mar 10 01:15:43 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
2071 * lib/krb5/krb5.h: Include <asn1_err.h>. Add prototype for
2072 krb5_rd_req_with_keyblock.
2074 * lib/krb5/rd_req.c: Add function krb5_rd_req_with_keyblock that
2075 takes a precomputed keyblock.
2077 * lib/krb5/get_cred.c: Use krb5_mk_req rather than inlined code.
2079 * lib/krb5/mk_req.c: Calculate checksum of in_data.
2081 Sun Mar 9 21:17:58 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
2083 * lib/krb5/error/compile_et.awk: Add a declaration of struct
2084 error_list, and multiple inclusion block to header files.
2086 Sun Mar 9 21:01:12 1997 Assar Westerlund <assar@sics.se>
2088 * lib/krb5/rd_req.c: do some checks on times
2090 * lib/krb/{mk_priv.c, rd_priv.c, sendauth.c, decrypt.c,
2091 address.c}: new files
2093 * lib/krb5/auth_context.c: more code
2095 * configure.in: try to figure out timezone
2097 Sat Mar 8 11:41:07 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
2099 * lib/krb5/error/error.c: Try strerror if error code wasn't found.
2101 * lib/krb5/get_in_tkt.c: Remove realm parameter from
2104 * lib/krb5/context.c: Initialize error table.
2106 * kdc: The beginnings of a kdc.
2108 Sat Mar 8 08:16:28 1997 Assar Westerlund <assar@sics.se>
2110 * lib/krb5/rd_safe.c: new file
2112 * lib/krb5/checksum.c (krb5_verify_checksum): New function
2114 * lib/krb5/get_cred.c: use krb5_create_checksum
2116 * lib/krb5/checksum.c: new file
2118 * lib/krb5/store.c: no more arithmetic with void*
2120 * lib/krb5/cache.c: now seems to work again
2122 Sat Mar 8 06:58:09 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
2124 * lib/krb5/Makefile.am: Add asn1_glue.c and error/*.c to libkrb5.
2126 * lib/krb5/get_in_tkt.c: Moved some functions to asn1_glue.c.
2128 * lib/krb5/asn1_glue.c: Moved some asn1-stuff here.
2130 * lib/krb5/{cache,keytab}.c: Use new storage functions.
2132 * lib/krb5/krb5.h: Protypes for new storage functions.
2134 * lib/krb5/krb5.h: Make krb5_{ret,store}_* functions able to write
2135 data to more than file descriptors.
2137 Sat Mar 8 01:01:17 1997 Assar Westerlund <assar@sics.se>
2139 * lib/krb5/encrypt.c: New file.
2141 * lib/krb5/Makefile.am: More -I
2143 * configure.in: Test for big endian, random, rand, setitimer
2145 * lib/asn1/gen.c: perhaps even decodes bitstrings
2147 Thu Mar 6 19:05:29 1997 Johan Danielsson <joda@blubb.pdc.kth.se>
2149 * lib/krb5/config_file.y: Better return values on error.
2151 Sat Feb 8 15:59:56 1997 Assar Westerlund <assar@pdc.kth.se>
2153 * lib/asn1/parse.y: ifdef HAVE_STRDUP
2155 * lib/asn1/lex.l: ifdef strdup
2156 brange-dead version of list of special characters to make stupid
2159 * lib/asn1/gen.c: A DER integer should really be a `unsigned'
2161 * lib/asn1/der_put.c: A DER integer should really be a `unsigned'
2163 * lib/asn1/der_get.c: A DER integer should really be a `unsigned'
2165 * lib/krb5/error/Makefile.am: It seems "$(SHELL) ./compile_et" is
2168 * lib/krb/mk_rep.c, lib/krb/rd_req.c, lib/krb/store.c,
2169 lib/krb/store.h: new files.
2171 * lib/krb5/keytab.c: now even with some functionality.
2173 * lib/asn1/gen.c: changed paramater from void * to Foo *
2175 * lib/asn1/der_get.c (der_get_octet_string): Fixed bug with empty
2178 Sun Jan 19 06:17:39 1997 Assar Westerlund <assar@pdc.kth.se>
2180 * lib/krb5/get_cred.c (krb5_get_credentials): Check for creds in
2181 cc before getting new ones.
2183 * lib/krb5/krb5.h (krb5_free_keyblock): Fix prototype.
2185 * lib/krb5/build_auth.c (krb5_build_authenticator): It seems the
2186 CRC should be stored LSW first. (?)
2188 * lib/krb5/auth_context.c: Implement `krb5_auth_con_getkey' and
2189 `krb5_free_keyblock'
2191 * lib/**/Makefile.am: Rename foo libfoo.a
2193 * include/Makefile.in: Use test instead of [
2194 -e does not work with /bin/sh on psoriasis
2196 * configure.in: Search for awk
2197 create lib/krb/error/compile_et
2199 Tue Jan 14 03:46:26 1997 Assar Westerlund <assar@pdc.kth.se>
2201 * lib/krb5/Makefile.am: replaced mit-crc.c by crc.c
2203 Wed Dec 18 00:53:55 1996 Johan Danielsson <joda@emma.pdc.kth.se>
2205 * kuser/kinit.c: Guess principal.
2207 * lib/krb5/error/compile_et.awk: Don't include krb5.h. Fix some
2210 * lib/krb5/error/asn1_err.et: Add ASN.1 error messages.
2212 * lib/krb5/mk_req.c: Get client from cache.
2214 * lib/krb5/cache.c: Add better error checking some useful return
2217 * lib/krb5/krb5.h: Fix krb5_auth_context.
2219 * lib/asn1/der.h: Make krb5_data compatible with krb5.h
2221 Tue Dec 17 01:32:36 1996 Johan Danielsson <joda@emma.pdc.kth.se>
2223 * lib/krb5/error: Add primitive error library.
2225 Mon Dec 16 16:30:20 1996 Johan Danielsson <joda@emma.pdc.kth.se>
2227 * lib/krb5/cache.c: Get correct address type from cache.
2229 * lib/krb5/krb5.h: Change int16 to int to be compatible with asn1.