use correct symbols for address families
[heimdal.git] / ChangeLog
blobb13a14d791cb077c74dd6024cc1c583b5d908621
1 Sat Sep 13 23:04:23 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
3         * kdc/hprop.c: Don't encrypt twice. Complain on non-convertable
4         principals.
6 Sat Sep 13 00:59:36 1997  Assar Westerlund  <assar@sics.se>
8         * Release 0.0h
9         
10         * appl/telnet/telnet/commands.c: AF_INET6 support
12         * admin/misc.c: new file
14         * lib/krb5/context.c: new configuration variable `max_retries'
16         * lib/krb5/get_addrs.c: fixes and better #ifdef's
18         * lib/krb5/config_file.c: implement krb5_config_get_int
20         * lib/krb5/auth_context.c, send_to_kdc.c, sock_principal.c:
21         AF_INET6 support
23         * kuser/klist.c: support for printing IPv6-addresses
25         * kdc/connect.c: support AF_INET6
27         * configure.in: test for gethostbyname2 and struct sockaddr_in6
29 Thu Sep 11 07:25:28 1997  Assar Westerlund  <assar@sics.se>
31         * lib/asn1/k5.asn1: Use `METHOD-DATA' instead of `SEQUENCE OF
32         PA-DATA'
34 Wed Sep 10 21:20:17 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
36         * kdc/kerberos5.c: Fixes for cross-realm, including (but not
37         limited to):
38           - allow client to be non-existant (should probably check for
39             "local realm")
40           - if server isn't found and it is a request for a krbtgt, try to
41             find a realm on the way to the requested realm
42           - update the transited encoding iff 
43             client-realm != server-realm != tgt-realm
45         * lib/krb5/get_cred.c: Several fixes for cross-realm.
47 Tue Sep  9 15:59:20 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
49         * kdc/string2key.c: Fix password handling.
51         * lib/krb5/encrypt.c: krb5_key_to_string
53 Tue Sep  9 07:46:05 1997  Assar Westerlund  <assar@sics.se>
55         * lib/krb5/get_addrs.c: rewrote.  Now should be able to handle
56         aliases and IPv6 addresses
58         * kuser/klist.c: try printing IPv6 addresses
60         * kdc/kerberos5.c: increase the arbitrary limit from 1024 to 8192
62         * configure.in: check for <netinet/in6_var.h>
64 Mon Sep  8 02:57:14 1997  Assar Westerlund  <assar@sics.se>
66         * doc: fixes
68         * admin/util.c (init_des_key): increase kvno
69         (set_password): return -1 if `des_read_pw_string' failed
71         * admin/mod.c (doit2): check the return value from `set_password'
73         * admin/ank.c (doit): don't add a new entry if `set_password'
74         failed
76 Mon Sep  8 02:20:16 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
78         * lib/krb5/verify_init.c: fix ap_req_nofail semantics
80         * lib/krb5/transited.c: something that might resemble
81         domain-x500-compress
83 Mon Sep  8 01:24:42 1997  Assar Westerlund  <assar@sics.se>
85         * kdc/hpropd.c (main): check number of arguments
87         * appl/popper/pop_init.c (pop_init): check number of arguments
89         * kpasswd/kpasswd.c (main): check number of arguments
91         * kdc/string2key.c (main): check number of arguments
93         * kuser/kdestroy.c (main): check number of arguments
95         * kuser/kinit.c (main): check number of arguments
97         * kpasswd/kpasswdd.c (main): use sigaction without SA_RESTART to
98         break out of select when a signal arrives
100         * kdc/main.c (main): use sigaction without SA_RESTART to break out
101         of select when a signal arrives
103         * kdc/kstash.c: default to HDB_DB_DIR "/m-key"
105         * kdc/config.c (configure): add `--version'.  Check the number of
106         arguments. Handle the case of there being no specification of port
107         numbers.
109         * admin/util.c: seal and unseal key at appropriate places
111         * admin/kdb_edit.c (main): parse arguments, config file and read
112         master key iff there's one.
114         * admin/extkeytab.c (ext_keytab): unseal key while extracting
116 Sun Sep  7 20:41:01 1997  Assar Westerlund  <assar@sics.se>
118         * lib/roken/roken.h: include <fcntl.h>
120         * kdc/kerberos5.c (set_salt_padata): new function
122         * appl/telnet/telnetd/telnetd.c: Rename some variables that
123         conflict with cpp symbols on HP-UX 10.20
125         * change all calls of `gethostbyaddr' to cast argument 1 to `const
126         char *'
128         * acconfig.h: only use SGTTY on nextstep
130 Sun Sep  7 14:33:50 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
132         * kdc/kerberos5.c: Check invalid flag.
134 Fri Sep  5 14:19:38 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
136         * lib/krb5/verify_user.c: Use get_init_creds/verify_init_creds.
138         * lib/kafs: Move functions common to krb/krb5 modules to new file,
139         and make things more modular.
141         * lib/krb5/krb5.h: rename STRING -> krb5_config_string, and LIST
142         -> krb5_config_list
144 Thu Sep  4 23:39:43 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
146         * lib/krb5/get_addrs.c: Fix loopback test.
148 Thu Sep  4 04:45:49 1997  Assar Westerlund  <assar@sics.se>
150         * lib/roken/roken.h: fallback definition of `O_ACCMODE'
152         * lib/krb5/get_in_tkt.c (krb5_get_in_cred): be more careful when
153         checking for a v4 reply
155 Wed Sep  3 18:20:14 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
157         * kdc/hprop.c: Add `--decrypt' and `--encrypt' flags.
159         * lib/hdb/hdb.c: new {seal,unseal}_keys functions
161         * kdc/{hprop,hpropd}.c: Add support to dump database to stdout.
163         * kdc/hprop.c: Don't use same master key as version 4.
165         * admin/util.c: Don't dump core if no `default' is found.
167 Wed Sep  3 16:01:07 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
169         * kdc/connect.c: Allow run time port specification.
171         * kdc/config.c: Add flags for http support, and port
172         specifications.
174 Tue Sep  2 02:00:03 1997  Assar Westerlund  <assar@sics.se>
176         * include/bits.c: Don't generate ifndef's in bits.h.  Instead, use
177         them when building the program.  This makes it possible to include
178         bits.h without having defined all HAVE_INT17_T symbols.
179         
180         * configure.in: test for sigaction
182         * doc: updated documentation.
183         
184 Tue Sep  2 00:20:31 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
186         * Release 0.0g
188 Mon Sep  1 17:42:14 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
190         * lib/krb5/data.c: don't return ENOMEM if len == 0
192 Sun Aug 31 17:15:49 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
194         * lib/hdb/hdb.asn1: Include salt type in salt.
196         * kdc/hprop.h: Change port to 754.
198         * kdc/hpropd.c: Verify who tries to transmit a database.
200         * appl/popper: Use getarg and krb5_log.
202         * lib/krb5/get_port.c: Add context parameter. Now takes port in
203         host byte order.
205 Sat Aug 30 18:48:19 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
207         * kdc/connect.c: Add timeout to select, and log about expired tcp
208         connections.
210         * kdc/config.c: Add `database' option.
212         * kdc/hpropd.c: Log about duplicate entries.
214         * lib/hdb/{db,ndbm}.c: Use common routines.
216         * lib/hdb/common.c: Implement more generic fetch/store/delete
217         functions.
219         * lib/hdb/hdb.h: Add `replace' parameter to store.
220         
221         * kdc/connect.c: Set filedecriptor to -1 on allocated decriptor
222         entries.
224 Fri Aug 29 03:13:23 1997  Assar Westerlund  <assar@sics.se>
226         * lib/krb5/get_in_tkt.c: extract_ticket -> _krb5_extract_ticket
228         * aux/make-proto.pl: fix __P for stone age mode
230 Fri Aug 29 02:45:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
232         * lib/45/mk_req.c: implementation of krb_mk_req that uses 524
233         protocol
235         * lib/krb5/init_creds_pw.c: make change_password and
236         get_init_creds_common static
238         * lib/krb5/krb5.h: Merge stuff from removed headerfiles.
240         * lib/krb5/fcache.c: fcc_ops -> krb5_fcc_ops
242         * lib/krb5/mcache.c: mcc_ops -> krb5_mcc_ops
244 Fri Aug 29 01:45:25 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
246         * lib/krb5/krb5.h: Remove all prototypes.
248         * lib/krb5/convert_creds.c: Use `struct credentials' instead of
249         `CREDENTIALS'.
251 Fri Aug 29 00:08:18 1997  Assar Westerlund  <assar@sics.se>
253         * lib/asn1/gen_glue.c: new file. generates 2int and int2 functions
254         and units for bit strings.
256         * admin/util.c: flags2int, int2flags, and flag_units are now
257         generated by asn1_compile
259         * lib/roken/parse_units.c: generalised `parse_units' and
260         `unparse_units' and added new functions `parse_flags' and
261         `unparse_flags' that use these
263         * lib/krb5/krb5_locl.h: moved krb5_data* functions to krb5.h
265         * admin/util.c: Use {un,}parse_flags for printing and parsing
266         hdbflags.
268 Thu Aug 28 03:26:12 1997  Assar Westerlund  <assar@sics.se>
270         * lib/krb5/get_addrs.c: restructured
272         * lib/krb5/warn.c (_warnerr): leak less memory
274         * lib/hdb/hdb.c (hdb_free_entry): zero keys
275         (hdb_check_db_format): leak less memory
277         * lib/hdb/ndbm.c (NDBM_seq): check for valid hdb_entries implement
278         NDBM__get, NDBM__put
280         * lib/hdb/db.c (DB_seq): check for valid hdb_entries
282 Thu Aug 28 02:06:58 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
284         * lib/krb5/send_to_kdc.c: Don't use sendto on connected sockets.
286 Thu Aug 28 01:13:17 1997  Assar Westerlund  <assar@sics.se>
288         * kuser/kinit.1, klist.1, kdestroy.1: new man pages
290         * kpasswd/kpasswd.1, kpasswdd.8: new man pages
292         * kdc/kstash.8, hprop.8, hpropd.8: new man pages
294         * admin/ktutil.8, admin/kdb_edit.8: new man pages
296         * admin/mod.c: new file
298         * admin/life.c: renamed gettime and puttime to getlife and putlife
299         and moved them to life.c
301         * admin/util.c: add print_flags, parse_flags, init_entry,
302         set_created_by, set_modified_by, edit_entry, set_password.  Use
303         them.
305         * admin/get.c: use print_flags
307         * admin: removed unused stuff.  use krb5_{warn,err}*
309         * admin/ank.c: re-organized and abstracted.
311         * admin/gettime.c: removed
313 Thu Aug 28 00:37:39 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
315         * lib/krb5/{get_cred,get_in_tkt}.c: Check for v4 reply.
317         * lib/roken/base64.c: Add base64 functions.
319         * kdc/connect.c lib/krb5/send_to_kdc.c: Add http support.
321 Wed Aug 27 00:29:20 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
323         * include/Makefile.am: Don't make links to built files.
325         * admin/kdb_edit.c: Add command to set the database path.
327         * lib/hdb: Include version number in database.
329 Tue Aug 26 20:14:54 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
331         * admin/ktutil: Merged v4 srvtab conversion.
333 Mon Aug 25 23:02:18 1997  Assar Westerlund  <assar@sics.se>
335         * lib/roken/roken.h: add F_OK
337         * lib/gssapi/acquire_creds.c: fix typo
339         * configure.in: call AC_TYPE_MODE_T
341         * acinclude.m4: Add AC_TYPE_MODE_T
343 Sun Aug 24 16:46:53 1997  Assar Westerlund  <assar@sics.se>
345         * Release 0.0f
347 Sun Aug 24 08:06:54 1997  Assar Westerlund  <assar@sics.se>
349         * appl/rsh/rshd.c: syslog remote shells
351         * appl/popper/pop_pass.c: log poppers
353         * kdc/kaserver.c: some more checks
355         * kpasswd/kpasswd.c: removed `-p'
357         * kuser/kinit.c: removed `-p'
359         * lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): If
360         KDC_ERR_PREUATH_REQUIRED, add preauthentication and try again.
362         * lib/krb5/get_in_tkt.c (krb5_get_in_cred): don't print out
363         krb-error text
365         * lib/gssapi/import_name.c (input_name): more names types.
367         * admin/load.c (parse_keys): handle the case of an empty salt
369         * kdc/kaserver.c: fix up memory deallocation
371         * kdc/kaserver.c: quick hack at talking kaserver protocol
373         * kdc/kerberos4.c: Make `db-fetch4' global
375         * configure.in: add --enable-kaserver
377         * kdc/rx.h, kdc/kerberos4.h: new header files
379         * lib/krb5/principal.c: fix krb5_build_principal_ext & c:o
381 Sun Aug 24 03:52:44 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
383         * lib/krb5/{get_in_tkt,mk_safe,mk_priv}.c: Fix some Cray specific
384         type conflicts.
386         * lib/krb5/{get_cred,get_in_tkt}.c: Mask nonce to 32 bits.
388         * lib/des/{md4,md5,sha}.c: Now works on Crays.
390 Sat Aug 23 18:15:01 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
392         * appl/afsutil/afslog.c: If no cells or files specified, get
393         tokens for all local cells. Better test for files.
395 Thu Aug 21 23:33:38 1997  Assar Westerlund  <assar@sics.se>
397         * lib/gssapi/v1.c: new file with v1 compatibility functions.
399 Thu Aug 21 20:36:13 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
401         * lib/kafs/afskrb5.c: Don't check ticket file for afs ticket.
403         * kdc/kerberos4.c: Check database when converting v4 principals.
405         * kdc/kerberos5.c: Include kvno in Ticket.
407         * lib/krb5/encrypt.c: Add kvno parameter to encrypt_EncryptedData.
409         * kuser/klist.c: Print version number of ticket, include more
410         flags.
412 Wed Aug 20 21:26:58 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
414         * lib/kafs/afskrb5.c (get_cred): Check cached afs tickets for
415         expiration.
417 Wed Aug 20 17:40:31 1997  Assar Westerlund  <assar@sics.se>
419         * lib/krb5/recvauth.c (krb5_recvauth): Send a KRB-ERROR iff
420         there's an error.
422         * lib/krb5/sendauth.c (krb5_sendauth): correct the protocol
423         documentation and process KRB-ERROR's
425 Tue Aug 19 20:41:30 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
427         * kdc/kerberos4.c: Fix memory leak in v4 protocol handler.
429 Mon Aug 18 05:15:09 1997  Assar Westerlund  <assar@sics.se>
431         * lib/gssapi/accept_sec_context.c: Added
432         `gsskrb5_register_acceptor_identity'
434 Sun Aug 17 01:40:20 1997  Assar Westerlund  <assar@sics.se>
436         * lib/gssapi/accept_sec_context.c (gss_accept_sec_context): don't
437         always pass server == NULL to krb5_rd_req.
439         * lib/gssapi: new files: canonicalize_name.c export_name.c
440         context_time.c compare_name.c release_cred.c acquire_cred.c
441         inquire_cred.c, from Luke Howard <lukeh@xedoc.com.au>
443         * lib/krb5/config_file.c: Add netinfo support from Luke Howard
444         <lukeh@xedoc.com.au>
446         * lib/editline/sysunix.c: sgtty-support from Luke Howard
447         <lukeh@xedoc.com.au>
449         * lib/krb5/principal.c: krb5_sname_to_principal fix from Luke
450         Howard <lukeh@xedoc.com.au>
452 Sat Aug 16 00:44:47 1997  Assar Westerlund  <assar@koi.pdc.kth.se>
454         * Release 0.0e
456 Sat Aug 16 00:23:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
458         * appl/afsutil/afslog.c: Use new libkafs.
460         * lib/kafs/afskrb5.c: Get AFS tokens via 524 protocol.
462         * lib/krb5/warn.c: Fix format string for *x type.
464 Fri Aug 15 22:15:01 1997  Assar Westerlund  <assar@sics.se>
466         * admin/get.c (get_entry): print more information about the entry
468         * lib/des/Makefile.am: build destest, mdtest, des, rpw, speed
470         * lib/krb5/config_file.c: new functions `krb5_config_get_time' and
471         `krb5_config_vget_time'.  Use them.
473 Fri Aug 15 00:09:37 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
475         * admin/ktutil.c: Keytab manipulation program.
477         * lib/krb5/keytab.c: Return sane values from resolve and
478         start_seq_get.
480         * kdc/kerberos5.c: Fix for old clients passing 0 for `no endtime'.
482         * lib/45/get_ad_tkt.c: Kerberos 4 get_ad_tkt using
483         krb524_convert_creds_kdc.
485         * lib/krb5/convert_creds.c: Implementation of
486         krb524_convert_creds_kdc.
488         * lib/asn1/k5.asn1: Make kdc-req-body.till OPTIONAL
490         * kdc/524.c: A somewhat working 524-protocol module.
492         * kdc/kerberos4.c: Add version 4 ticket encoding and encryption
493         functions.
495         * lib/krb5/context.c: Fix kdc_timeout.
497         * lib/hdb/{ndbm,db}.c: Free name in close.
499         * kdc/kerberos5.c (tgs_check_autenticator): Return error code
501 Thu Aug 14 21:29:03 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
503         * kdc/kerberos5.c (tgs_make_reply): Fix endtime in reply.
505         * lib/krb5/store_emem.c: Fix reallocation bug.
507 Tue Aug 12 01:29:46 1997  Assar Westerlund  <assar@sics.se>
509         * appl/telnet/libtelnet/kerberos5.c, appl/popper/pop_init.c,
510         appl/rshd/rshd.c: Use `krb5_sock_to_principal'.  Send server
511         parameter to krb5_rd_req/krb5_recvauth.  Set addresses in
512         auth_context.
514         * lib/krb5/recvauth.c: Set addresses in auth_context if there
515         aren't any
517         * lib/krb5/auth_context.c: New function
518         `krb5_auth_con_setaddrs_from_fd'
520         * lib/krb5/sock_principal.c: new function
521         `krb5_sock_to_principal'
522         
523         * lib/krb5/time.c: new file with `krb5_timeofday' and
524         `krb5_us_timeofday'.  Use these functions.
526         * kuser/klist.c: print KDC offset iff verbose
528         * lib/krb5/get_in_tkt.c: implement KDC time offset and use it if
529         [libdefaults]kdc_timesync is set.
530         
531         * lib/krb5/fcache.c: Implement version 4 of the ccache format.
533 Mon Aug 11 05:34:43 1997  Assar Westerlund  <assar@sics.se>
535         * lib/krb5/rd_rep.c (krb5_free_ap_rep_enc_part): free all memory
537         * lib/krb5/principal.c (krb5_unparse_name): allocate memory
538         properly
540         * kpasswd/kpasswd.c: Use `krb5_change_password'
542         * lib/krb5/init_creds_pw.c (init_cred): set realm of server
543         correctly.
545         * lib/krb5/init_creds_pw.c: support changing of password when it
546         has expired
548         * lib/krb5/changepw.c: new file
550         * kuser/klist.c: use getarg
552         * admin/init.c (init): add `kadmin/changepw'
554 Mon Aug 11 04:30:47 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
556         * lib/krb5/get_cred.c: Make get_credentials handle cross-realm.
558 Mon Aug 11 00:03:24 1997  Assar Westerlund  <assar@sics.se>
560         * lib/krb5/config_file.c: implement support for #-comments
562 Sat Aug  9 02:21:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
564         * kdc/hprop*.c: Add database propagation programs.
566         * kdc/connect.c: Max request size.
568 Sat Aug  9 00:47:28 1997  Assar Westerlund  <assar@sics.se>
570         * lib/otp: resurrected from krb4
572         * appl/push: new program for fetching mail with POP.
574         * appl/popper/popper.h: new include files.  new fields in `POP'
576         * appl/popper/pop_pass.c: Implement both v4 and v5.
578         * appl/popper/pop_init.c: Implement both v4 and v5.
580         * appl/popper/pop_debug.c: use getarg.  Talk both v4 and v5
582         * appl/popper: Popper from krb4.
584         * configure.in: check for inline and <netinet/tcp.h> generate
585         files in appl/popper, appl/push, and lib/otp
587 Fri Aug  8 05:51:02 1997  Assar Westerlund  <assar@sics.se>
589         * lib/krb5/get_cred.c: clean-up and try to free memory even when
590         there're errors
592         * lib/krb5/get_cred.c: adapt to new `extract_ticket'
594         * lib/krb5/get_in_tkt.c: reorganize.  check everything and try to
595         return memory even if there are errors.
597         * kuser/kverify.c: new file
599         * lib/krb5/free_host_realm.c: new file
601         * lib/krb5/principal.c (krb5_sname_to_principal): implement
602         different nametypes.  Also free memory.
604         * lib/krb5/verify_init.c: more functionality
606         * lib/krb5/mk_req_ext.c (krb5_mk_req_extended): free the checksum
608         * lib/krb5/get_in_tkt.c (extract_ticket): don't copy over the
609         principals in creds.  Should also compare them with that received
610         from the KDC
612         * lib/krb5/cache.c (krb5_cc_gen_new): copy the newly allocated
613         krb5_ccache
614         (krb5_cc_destroy): call krb5_cc_close
615         (krb5_cc_retrieve_cred): delete the unused creds
617 Fri Aug  8 02:30:40 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
619         * lib/krb5/log.c: Allow better control of destinations of logging
620         (like passing explicit destinations, and log-functions).
622 Fri Aug  8 01:20:39 1997  Assar Westerlund  <assar@sics.se>
624         * lib/krb5/get_default_principal.c: new file
626         * kpasswd/kpasswdd.c: use krb5_log*
628 Fri Aug  8 00:37:47 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
630         * lib/krb5/init_creds_pw.c: Implement krb5_get_init_creds_keytab.
632 Fri Aug  8 00:37:17 1997  Assar Westerlund  <assar@sics.se>
634         * lib/krb5/init_creds_pw.c: Use `krb5_get_default_principal'.
635         Print password expire information.
637         * kdc/config.c: new variable `kdc_warn_pwexpire'
639         * kpasswd/kpasswd.c: converted to getarg and get_init_creds
641 Thu Aug  7 22:17:09 1997  Assar Westerlund  <assar@sics.se>
643         * lib/krb5/mcache.c: new file
645         * admin/gettime.c: new function puttime.  Use it.
647         * lib/krb5/keyblock.c: Added krb5_free_keyblock and
648         krb5_copy_keyblock
650         * lib/krb5/init_creds_pw.c: more functionality
652         * lib/krb5/creds.c: Added krb5_free_creds_contents and
653         krb5_copy_creds.  Changed callers.
655         * lib/krb5/config_file.c: new functions krb5_config_get and
656         krb5_config_vget
658         * lib/krb5/cache.c: cleanup added mcache
659         
660         * kdc/kerberos5.c: include last-req's of type 6 and 7, if
661         applicable
663 Wed Aug  6 20:38:23 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
665         * lib/krb5/log.c: New parameter `log-level'. Default to `SYSLOG'.
667 Tue Aug  5 22:53:54 1997  Assar Westerlund  <assar@sics.se>
669         * lib/krb5/verify_init.c, init_creds_pw.c, init_creds.c,
670         prompter_posix.c: the beginning of an implementation of the cygnus
671         initial-ticket API.
673         * lib/krb5/get_in_tkt_pw.c: make `krb5_password_key_proc' global
675         * lib/krb5/get_in_tkt.c (krb5_get_in_cred): new function that is
676         almost krb5_get_in_tkt but doesn't write the creds to the ccache.
677         Small fixes in krb5_get_in_tkt
679         * lib/krb5/get_addrs.c (krb5_get_all_client_addrs): don't include
680         loopback.
682 Mon Aug  4 20:20:48 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
684         * kdc: Make context global.
686 Fri Aug  1 17:23:56 1997  Assar Westerlund  <assar@sics.se>
688         * Release 0.0d
690         * lib/roken/flock.c: new file
692         * kuser/kinit.c: check for and print expiry information in the
693         `kdc_rep'
695         * lib/krb5/get_in_tkt.c: Set `ret_as_reply' if != NULL
697         * kdc/kerberos5.c: Check the valid times on client and server.
698         Check the password expiration.
699         Check the require_preauth flag.
700         Send an lr_type == 6 with pw_end.
701         Set key.expiration to min(valid_end, pw_end)
702         
703         * lib/hdb/hdb.asn1: new flags `require_preauth' and `change_pw'
705         * admin/util.c, admin/load.c: handle the new flags.
707 Fri Aug  1 16:56:12 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
709         * lib/hdb: Add some simple locking.
711 Sun Jul 27 04:44:31 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
713         * lib/krb5/log.c: Add some general logging functions.
715         * kdc/kerberos4.c: Add version 4 protocol handler. The requrement
716         for this to work is that all involved principals has a des key in
717         the database, and that the client has a version 4 (un-)salted
718         key. Furthermore krb5_425_conv_principal has to do it's job, as
719         present it's not very clever.
721         * lib/krb5/principal.c: Quick patch to make 425_conv work
722         somewhat.
724         * lib/hdb/hdb.c: Add keytype->key and next key functions.
726 Fri Jul 25 17:32:12 1997  Assar Westerlund  <assar@sics.se>
728         * lib/krb5/build_auth.c (krb5_build_authenticator): don't free
729         `cksum'.  It's allocated and freed by the caller
731         * lib/krb5/get_cred.c (krb5_get_kdc_cred): Don't free `addresses'.
733         * kdc/kerberos5.c (tgs_rep2): make sure we also have an defined
734         `client' to return as part of the KRB-ERROR
736         * appl/rsh/rshd.c: implement forwarding
738         * appl/rsh/rsh.c: Use getarg.  Implement forwarding.
740 Thu Jul 24 08:13:59 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
742         * kdc/kerberos5.c: Unseal keys from database before use.
744         * kdc/misc.c: New functions set_master_key, unseal_key and
745         free_key.
747         * lib/roken/getarg.c: Handle `-f arg' correctly.
749 Thu Jul 24 01:54:43 1997  Assar Westerlund  <assar@sics.se>
751         * kuser/kinit.c: implement `-l' aka `--lifetime'
753         * lib/roken/parse_units.c, parse_time.c: new files
755         * admin/gettime.c (gettime): use `parse_time'
757         * kdc/kerberos5.c (as_rep): Use `METHOD-DATA' when sending
758         KRB5KDC_ERR_PREAUTH_REQUIRED, not PA-DATA.
760         * kpasswd/kpasswdd.c: fix freeing bug use sequence numbers set
761         addresses in auth_context bind one socket per interface.
762         
763         * kpasswd/kpasswd.c: use sequence numbers
765         * lib/krb5/rd_req.c (krb5_verify_ap_req): do abs when verifying
766         the timestamps
768         * lib/krb5/rd_priv.c (krb5_rd_priv): Fetch the correct session key
769         from auth_context
771         * lib/krb5/mk_priv.c (krb5_mk_priv): Fetch the correct session key
772         from auth_context
774         * lib/krb5/mk_error.c (krb5_mk_error): return an error number and
775         not a comerr'd number.
777         * lib/krb5/get_in_tkt.c (krb5_get_in_tkt): interpret the error
778         number in KRB-ERROR correctly.
780         * lib/krb5/get_cred.c (krb5_get_kdc_cred): interpret the error
781         number in KRB-ERROR correctly.
783         * lib/asn1/k5.asn1: Add `METHOD-DATA'
785         * removed some memory leaks.
787 Wed Jul 23 07:53:18 1997  Assar Westerlund  <assar@sics.se>
789         * Release 0.0c
791         * lib/krb5/rd_cred.c, get_for_creds.c: new files
793         * lib/krb5/get_host_realm.c: try default realm as last chance
795         * kpasswd/kpasswdd.c: updated to hdb changes
797         * appl/telnet/libtelnet/kerberos5.c: Implement forwarding
799         * appl/telnet/libtelnet: removed totally unused files
801         * admin/ank.c: fix prompts and generation of random keys
803 Wed Jul 23 04:02:32 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
805         * admin/dump.c: Include salt in dump.
807         * admin: Mostly updated for new db-format.
809         * kdc/kerberos5.c: Update to use new db format. Better checking of
810         flags and such. More logging.
812         * lib/hdb/hdb.c: Use generated encode and decode functions.
814         * lib/hdb/hdb.h: Get hdb_entry from ASN.1 generated code.
816         * lib/krb5/get_cred.c: Get addresses from krbtgt if there are none
817         in the reply.
819 Sun Jul 20 16:22:30 1997  Assar Westerlund  <assar@sics.se>
821         * kuser/kinit.c: break if des_read_pw_string() != 0
823         * kpasswd/kpasswdd.c: send a reply
825         * kpasswd/kpasswd.c: restructured code.  better report on
826         krb-error break if des_read_pw_string() != 0
828         * kdc/kerberos5.c: Check `require_enc_timestamp' malloc space for
829         starttime and renew_till
831         * appl/telnet/libtelnet/kerberos5.c (kerberos5_is): Send a
832         keyblock to krb5_verify_chekcsum
834 Sun Jul 20 06:35:46 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
836         * Release 0.0b
838         * kpasswd/kpasswd.c: Avoid using non-standard struct names.
840 Sat Jul 19 19:26:23 1997  Assar Westerlund  <assar@sics.se>
842         * lib/krb5/keytab.c (krb5_kt_get_entry): check return from
843         `krb5_kt_start_seq_get'.  From <map@stacken.kth.se>
845 Sat Jul 19 04:07:39 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
847         * lib/asn1/k5.asn1: Update with more pa-data types from
848         draft-ietf-cat-kerberos-revisions-00.txt
850         * admin/load.c: Update to match current db-format.
852         * kdc/kerberos5.c (as_rep): Try all valid pa-datas before giving
853         up. Send back an empty pa-data if the client has the v4 flag set.
855         * lib/krb5/get_in_tkt.c: Pass both version5 and version4 salted
856         pa-data. DTRT if there is any pa-data in the reply.
858         * lib/krb5/str2key.c: XOR with some sane value.
860         * lib/hdb/hdb.h: Add `version 4 salted key' flag.
862         * kuser/kinit.c: Ask for password before calling get_in_tkt. This
863         makes it possible to call key_proc more than once.
865         * kdc/string2key.c: Add flags to output version 5 (DES only),
866         version 4, and AFS string-to-key of a password.
868         * lib/asn1/gen_copy.c: copy_* functions now returns an int (0 or
869         ENOMEM).
871 Fri Jul 18 02:54:58 1997  Assar Westerlund  <assar@sics.se>
873         * lib/krb5/get_host_realm.c (krb5_get_host_realm): do the
874         name2name thing
876         * kdc/misc.c: check result of hdb_open
878         * admin/kdb_edit: updated to new sl
880         * lib/sl: sl_func now returns an int. != 0 means to exit.
882         * kpasswd/kpasswdd: A crude (but somewhat working) implementation
883         of `draft-ietf-cat-kerb-chg-password-00.txt'
885 Fri Jul 18 00:55:39 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
887         * kuser/krenew.c: Crude ticket renewing program.
889         * kdc/kerberos5.c: Rewritten flags parsing, it now might work to
890         get forwarded and renewed tickets.
892         * kuser/kinit.c: Add `-r' flag.
894         * lib/krb5/get_cred.c: Move most of contents of get_creds to new
895         function get_kdc_cred, that always contacts the kdc and doesn't
896         save in the cache. This is a hack.
898         * lib/krb5/get_in_tkt.c: Pass starttime and renew_till in request
899         (a bit kludgy).
901         * lib/krb5/mk_req_ext.c: Make an auth_context if none passed in.
903         * lib/krb5/send_to_kdc.c: Get timeout from context.
905         * lib/krb5/context.c: Add kdc_timeout to context struct.
907 Thu Jul 17 20:35:45 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
909         * kuser/klist.c: Print start time of ticket if available.
911         * lib/krb5/get_host_realm.c: Return error if no realm was found.
913 Thu Jul 17 20:28:21 1997  Assar Westerlund  <assar@sics.se>
915         * kpasswd: non-working kpasswd added
917 Thu Jul 17 00:21:22 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
919         * Release 0.0a
921         * kdc/main.c: Add -p flag to disable pa-enc-timestamp requirement.
923 Wed Jul 16 03:37:41 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
925         * kdc/kerberos5.c (tgs_rep2): Free ticket and ap_req.
927         * lib/krb5/auth_context.c (krb5_auth_con_free): Free remote
928         subkey.
930         * lib/krb5/principal.c (krb5_free_principal): Check for NULL.
932         * lib/krb5/send_to_kdc.c: Check for NULL return from
933         gethostbyname.
935         * lib/krb5/set_default_realm.c: Try to get realm of local host if
936         no default realm is available.
938         * Remove non ASN.1 principal code.
940 Wed Jul 16 03:17:30 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
942         * kdc/kerberos5.c: Split tgs_rep in smaller functions. Add better
943         error handing. Do some logging.
945         * kdc/log.c: Some simple logging facilities.
947         * kdc/misc.c (db_fetch): Take a krb5_principal.
949         * kdc/connect.c: Pass address of request to as_rep and
950         tgs_rep. Send KRB-ERROR.
952         * lib/krb5/mk_error.c: Add more fields.
954         * lib/krb5/get_cred.c: Print normal error code if no e_text is
955         available.
957 Wed Jul 16 03:07:50 1997  Assar Westerlund  <assar@sics.se>
959         * lib/krb5/get_in_tkt.c: implement `krb5_init_etype'.
960         Change encryption type of pa_enc_timestamp to DES-CBC-MD5
962         * lib/krb5/context.c: recognize all encryption types actually
963         implemented
965         * lib/krb5/auth_context.c (krb5_auth_con_init): Change default
966         encryption type to `DES_CBC_MD5'
968         *  lib/krb5/read_message.c, write_message.c: new files
970 Tue Jul 15 17:14:21 1997  Assar Westerlund  <assar@sics.se>
972         * lib/asn1: replaced asn1_locl.h by `der_locl.h' and `gen_locl.h'.
974         * lib/error/compile_et.awk: generate a prototype for the
975         `destroy_foo_error_table' function.
977 Mon Jul 14 12:24:40 1997  Assar Westerlund  <assar@sics.se>
979         * lib/krb5/krbhst.c (krb5_get_krbhst): Get all kdc's and try also
980         with `kerberos.REALM'
982         * kdc/kerberos5.c, lib/krb5/rd_priv.c, lib/krb5/rd_safe.c: use
983         `max_skew'
985         * lib/krb5/rd_req.c (krb5_verify_ap_req): record authenticator
986         subkey
988         * lib/krb5/build_auth.c (krb5_build_authenticator): always
989         generate a subkey.
991         * lib/krb5/address.c: implement `krb5_address_order'
993         * lib/gssapi/import_name.c: Implement `gss_import_name'
995         * lib/gssapi/external.c: Use new OID
997         * lib/gssapi/encapsulate.c: New functions
998         `gssapi_krb5_encap_length' and `gssapi_krb5_make_header'.  Changed
999         callers.
1001         * lib/gssapi/decapsulate.c: New function
1002         `gssaspi_krb5_verify_header'.  Changed callers.
1004         * lib/asn1/gen*.c: Give tags to generated structs.
1005         Use `err' and `asprintf'
1007         * appl/test/gss_common.c: new file
1009         * appl/test/gssapi_server.c: removed all krb5 calls
1011         * appl/telnet/libtelnet/kerberos5.c: Add support for genering and
1012         verifying checksums.  Also start using session subkeys.
1014 Mon Jul 14 12:08:25 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1016         * lib/krb5/rd_req.c (krb5_rd_req_with_keyblock): Split up.
1018 Sun Jul 13 03:07:44 1997  Assar Westerlund  <assar@sics.se>
1020         * lib/krb5/rd_safe.c, mk_safe.c: made bug-compatible with MIT
1022         * lib/krb5/encrypt.c: new functions `DES_encrypt_null_ivec' and
1023         `DES_encrypt_key_ivec'
1025         * lib/krb5/checksum.c: implement rsa-md4-des and rsa-md5-des
1027         * kdc/kerberos5.c (tgs_rep): support keyed checksums
1029         * lib/krb5/creds.c: new file
1031         * lib/krb5/get_in_tkt.c: better freeing
1033         * lib/krb5/context.c (krb5_free_context): more freeing
1035         * lib/krb5/config_file.c: New function `krb5_config_file_free'
1037         * lib/error/compile_et.awk: Generate a `destroy_' function.
1039         * kuser/kinit.c, klist.c: Don't leak memory.
1041 Sun Jul 13 02:46:27 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1043         * kdc/connect.c: Check filedescriptor in select.
1045         * kdc/kerberos5.c: Remove most of the most common memory leaks.
1047         * lib/krb5/rd_req.c: Free allocated data.
1049         * lib/krb5/auth_context.c (krb5_auth_con_free): Free a lot of
1050         fields.
1052 Sun Jul 13 00:32:16 1997  Assar Westerlund  <assar@sics.se>
1054         * appl/telnet, appl/rsh: Conditionalize the krb4-support.
1056         * configure.in: Test for krb4
1058 Sat Jul 12 17:14:12 1997  Assar Westerlund  <assar@sics.se>
1060         * kdc/kerberos5.c: check if the pre-auth was decrypted properly.
1061         set the `pre_authent' flag
1063         * lib/krb5/get_cred.c, lib/krb5/get_in_tkt.c: generate a random nonce.
1065         * lib/krb5/encrypt.c: Made `generate_random_block' global.
1067         * appl/test: Added gssapi_client and gssapi_server.
1069         * lib/krb5/data.c: Add `krb5_data_zero'
1071         * appl/test/tcp_client.c: try `mk_safe' and `mk_priv'
1073         * appl/test/tcp_server.c: try `rd_safe' and `rd_priv'
1075 Sat Jul 12 16:45:58 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1077         * lib/krb5/get_addrs.c: Fix for systems that has sa_len, but
1078         returns zero length from SIOCGIFCONF.
1080 Sat Jul 12 16:38:34 1997  Assar Westerlund  <assar@sics.se>
1082         * appl/test: new programs
1083         
1084         * lib/krb5/rd_req.c: add address compare
1086         * lib/krb5/mk_req_ext.c: allow no checksum
1088         * lib/krb5/keytab.c (krb5_kt_ret_string): 0-terminate string
1090         * lib/krb5/address.c: fix `krb5_address_compare'
1092 Sat Jul 12 15:03:16 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1094         * lib/krb5/get_addrs.c: Fix ip4 address extraction.
1096         * kuser/klist.c: Add verbose flag, and split main into smaller
1097         pieces.
1099         * lib/krb5/fcache.c: Save ticket flags.
1101         * lib/krb5/get_in_tkt.c (extract_ticket): Extract addresses and
1102         flags.
1104         * lib/krb5/krb5.h: Add ticket_flags to krb5_creds.
1106 Sat Jul 12 13:12:48 1997  Assar Westerlund  <assar@sics.se>
1108         * configure.in: Call `AC_KRB_PROG_LN_S'
1110         * acinclude.m4: Add `AC_KRB_PROG_LN_S' from krb4
1112 Sat Jul 12 00:57:01 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1114         * lib/krb5/get_in_tkt.c: Use union of krb5_flags and KDCOptions to
1115         pass options.
1117 Fri Jul 11 15:04:22 1997  Assar Westerlund  <assar@sics.se>
1119         * appl/telnet: telnet & telnetd seems to be working.
1120         
1121         * lib/krb5/config_file.c: Added krb5_config_v?get_list Fixed
1122         krb5_config_vget_next
1124         * appl/telnet/libtelnet/kerberos5.c: update to current API
1126 Thu Jul 10 14:54:39 1997  Assar Westerlund  <assar@sics.se>
1128         * appl/telnet/libtelnet/kerberos5.c (kerberos5_status): call
1129         `krb5_kuserok'
1131         * appl/telnet: Added.
1133 Thu Jul 10 05:09:25 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1135         * lib/error/compile_et.awk: Remove usage of sub, gsub, and
1136         functions for compatibility with awk.
1138         * include/bits.c: Must use signed char.
1140         * lib/krb5/context.c: Move krb5_get_err_text, and krb5_init_ets
1141         here.
1143         * lib/error/error.c: Replace krb5_get_err_text with new function
1144         com_right.
1146         * lib/error/compile_et.awk: Avoid using static variables.
1148         * lib/error/error.c: Don't use krb5_locl.h
1150         * lib/error/error.h: Move definitions of error_table and
1151         error_list from krb5.h.
1153         * lib/error: Moved from lib/krb5.
1155 Wed Jul  9 07:42:04 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1157         * lib/krb5/encrypt.c: Temporary hack to avoid des_rand_data.
1159 Wed Jul  9 06:58:00 1997  Assar Westerlund  <assar@sics.se>
1161         * appl/rsh/rsh.c: use the correct user for the checksum
1163         * lib/krb5/{rd,mk}_{*}.c: more checking for addresses and stuff
1164         according to pseudocode from 1510
1166 Wed Jul  9 06:06:06 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1168         * lib/hdb/hdb.c: Add hdb_etype2key.
1170         * kdc/kerberos5.c: Check authenticator. Use more general etype
1171         functions.
1172         
1173 Wed Jul  9 03:51:12 1997  Assar Westerlund  <assar@sics.se>
1175         * lib/asn1/k5.asn1: Made all `s_address' OPTIONAL according to
1176         draft-ietf-cat-kerberos-r-00.txt
1178         * lib/krb5/principal.c (krb5_parse_name): default to local realm
1179         if none given
1180         
1181         * kuser/kinit.c: New option `-p' and prompt
1183 Wed Jul  9 02:30:06 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1185         * lib/krb5/keyblock.c: Keyblock generation functions.
1187         * lib/krb5/encrypt.c: Use functions from checksum.c.
1189         * lib/krb5/checksum.c: Move checksum functions here. Add
1190         krb5_cksumsize function.
1192 Wed Jul  9 01:15:38 1997  Assar Westerlund  <assar@sics.se>
1194         * lib/krb5/get_host_realm.c: implemented
1196         * lib/krb5/config_file.c: Redid part.  New functions:
1197         krb5_config_v?get_next
1199         * kuser/kdestroy.c: new program
1201         * kuser/kinit.c: new flag `-f'
1203         * lib/asn1/k5.asn1: Made HostAddresses = SEQUENCE OF HostAddress
1205         * acinclude.m4: Added AC_KRB_STRUCT_SOCKADDR_SA_LEN
1207         * lib/krb5/krb5.h: krb5_addresses == HostAddresses.  Changed all
1208         users.
1210         * lib/krb5/get_addrs.c: figure out all local addresses, possibly
1211         even IPv6!
1213         * lib/krb5/checksum.c: table-driven checksum
1215 Mon Jul  7 21:13:28 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1217         * lib/krb5/encrypt.c: Make krb5_decrypt use the same struct as
1218         krb5_encrypt.
1220 Mon Jul  7 11:15:51 1997  Assar Westerlund  <assar@sics.se>
1222         * lib/roken/vsyslog.c: new file
1224         * lib/krb5/encrypt.c: add des-cbc-md4.
1225         adjust krb5_encrypt and krb5_decrypt to reality
1227         * appl/rsh/rshd.c: Now works.  Also implementd encryption and
1228         `-p'.
1229         
1230         * appl/rsh/common.c: new file
1232 Mon Jul  7 02:46:31 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1234         * lib/krb5/encrypt.c: Implement as a vector of function pointers.
1236         * lib/krb5/{decrypt,encrypt}.c: Implement des-cbc-crc, and
1237         des-cbc-md5 in separate functions.
1239         * lib/krb5/krb5.h: Add more checksum and encryption types.
1241         * lib/krb5/krb5_locl.h: Add etype to krb5_decrypt.
1243 Sun Jul  6 23:02:59 1997  Assar Westerlund  <assar@sics.se>
1245         * lib/krb5/[gs]et_default_realm.c, kuserok.c: new files
1247         * lib/krb5/config_file.[ch]: new c-based configuration reading
1248         stuff
1250 Wed Jul  2 23:12:56 1997  Assar Westerlund  <assar@sics.se>
1252         * configure.in: Set WFLAGS if using gcc
1254 Wed Jul  2 17:47:03 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1256         * lib/asn1/der_put.c (der_put_int): Return size correctly.
1258         * admin/ank.c: Be compatible with the asn1 principal format.
1260 Wed Jul  1 23:52:20 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1262         * lib/asn1: Now all decode_* and encode_* functions now take a
1263         final size_t* argument, that they return the size in. Return
1264         values are zero for success, and anything else (such as some
1265         ASN1_* constant) for error.
1267 Mon Jun 30 06:08:14 1997  Assar Westerlund  <assar@sics.se>
1269         * appl/rsh: New program.
1271         * lib/krb5/keytab.c (krb5_kt_add_entry): change open mode to
1272         O_WRONLY | O_APPEND
1274         * lib/krb5/get_cred.c: removed stale prototype for
1275         `extract_ticket' and corrected call.
1277         * lib/asn1/gen_length.c (length_type): Make the length functions
1278         for SequenceOf non-destructive
1280         * admin/ank.c (doit): Fix reading of `y/n'.
1282 Mon Jun 16 05:41:43 1997  Assar Westerlund  <assar@sics.se>
1284         * lib/gssapi/wrap.c, unwrap.c: do encrypt and add sequence number
1286         * lib/gssapi/get_mic.c, verify_mic.c: Add sequence number.
1288         * lib/gssapi/accept_sec_context.c (gss_accept_sec_context): Set
1289         KRB5_AUTH_CONTEXT_DO_SEQUENCE.  Verify 8003 checksum.
1291         * lib/gssapi/8003.c: New file.
1293         * lib/krb/krb5.h: Define a `krb_authenticator' as an ASN.1
1294         Authenticator.
1296         * lib/krb5/auth_context.c: New functions
1297         `krb5_auth_setlocalseqnumber' and `krb5_auth_setremoteseqnumber'
1299 Tue Jun 10 00:35:54 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1301         * lib/krb5: Preapre for use of some asn1-types.
1303         * lib/asn1/*.c (copy_*): Constness.
1305         * lib/krb5/krb5.h: Include asn1.h; krb5_data is now an
1306         octet_string.
1308         * lib/asn1/der*,gen.c: krb5_data -> octet_string, char * ->
1309         general_string
1311         * lib/asn1/libasn1.h: Moved stuff from asn1_locl.h that doesn't
1312         have anything to do with asn1_compile.
1314         * lib/asn1/asn1_locl.h: Remove der.h. Add some prototypes.
1316 Sun Jun  8 03:51:55 1997  Assar Westerlund  <assar@sics.se>
1318         * kdc/kerberos5.c: Fix PA-ENC-TS-ENC
1320         * kdc/connect.c(process_request): Set `new'
1321         
1322         * lib/krb5/get_in_tkt.c: Do PA-ENC-TS-ENC the correct way.
1324         * lib: Added editline,sl,roken.
1326 Mon Jun  2 00:37:48 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1328         * lib/krb5/fcache.c: Move file cache from cache.c.
1330         * lib/krb5/cache.c: Allow more than one cache type.
1332 Sun Jun  1 23:45:33 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1334         * admin/extkeytab.c: Merged with kdb_edit.
1336 Sun Jun  1 23:23:08 1997  Assar Westerlund  <assar@sics.se>
1338         * kdc/kdc.c: more support for ENC-TS-ENC
1340         * lib/krb5/get_in_tkt.c: redone to enable pre-authentication
1342 Sun Jun  1 22:45:11 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1344         * lib/hdb/db.c: Merge fetch and store.
1346         * admin: Merge to one program.
1348         * lib/krb5/str2key.c: Fill in keytype and length.
1350 Sun Jun  1 16:31:23 1997  Assar Westerlund  <assar@sics.se>
1352         * lib/krb5/rd_safe.c, lib/krb5/rd_priv.c, lib/krb5/mk_rep.c,
1353         lib/krb5/mk_priv.c, lib/krb5/build_auth.c: Some support for
1354         KRB5_AUTH_CONTEXT_DO_SEQUENCE
1356         * lib/krb5/get_in_tkt.c (get_in_tkt): be prepared to parse an
1357         KRB_ERROR.  Some support for PA_ENC_TS_ENC.
1359         * lib/krb5/auth_context.c: implemented seq_number functions
1361         * lib/krb5/generate_subkey.c, generate_seq_number.c: new files
1363         * lib/gssapi/gssapi.h: avoid including <krb5.h>
1365         * lib/asn1/Makefile.am: SUFFIXES as a variable to make automake
1366         happy
1368         * kdc/kdc.c: preliminary PREAUTH_ENC_TIMESTAMP
1370         * configure.in: adapted to automake 1.1p
1372 Mon May 26 22:26:21 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1374         * lib/krb5/principal.c: Add contexts to many functions.
1376 Thu May 15 20:25:37 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1378         * lib/krb5/verify_user.c: First stab at a verify user.
1380         * lib/auth/sia/sia5.c: SIA module for Kerberos 5.
1382 Mon Apr 14 00:09:03 1997  Assar Westerlund  <assar@sics.se>
1384         * lib/gssapi: Enough of a gssapi-over-krb5 implementation to be
1385         able to (mostly) run gss-client and gss-server.
1386         
1387         * lib/krb5/keytab.c: implemented krb5_kt_add_entry,
1388         krb5_kt_store_principal, krb5_kt_store_keyblock
1390         * lib/des/md5.[ch], sha.[ch]: new files
1392         * lib/asn1/der_get.c (generalizedtime2time): use `timegm'
1394         * lib/asn1/timegm.c: new file
1396         * admin/extkeytab.c: new program
1398         * admin/admin_locl.h: new file
1400         * admin/Makefile.am: Added extkeytab
1402         * configure.in: moved config to include
1403         removed timezone garbage
1404         added lib/gssapi and admin
1406         * Makefile.am: Added admin
1408 Mon Mar 17 11:34:05 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1410         * kdc/kdc.c: Use new copying functions, and free some data.
1412         * lib/asn1/Makefile.am: Try to not always rebuild generated files.
1414         * lib/asn1/der_put.c: Add fix_dce().
1416         * lib/asn1/der_{get,length,put}.c: Fix include files.
1418         * lib/asn1/der_free.c: Remove unused functions.
1419         
1420         * lib/asn1/gen.c: Split into gen_encode, gen_decode, gen_free,
1421         gen_length, and gen_copy.
1423 Sun Mar 16 18:13:52 1997  Assar Westerlund  <assar@sics.se>
1425         * lib/krb5/sendauth.c: implemented functionality
1427         * lib/krb5/rd_rep.c: Use `krb5_decrypt'
1429         * lib/krb5/cache.c (krb5_cc_get_name): return default if `id' ==
1430         NULL
1432         * lib/krb5/principal.c (krb5_free_principal): added `context'
1433         argument.  Changed all callers.
1434         
1435         (krb5_sname_to_principal): new function
1437         * lib/krb5/auth_context.c (krb5_free_authenticator): add `context'
1438         argument.  Changed all callers
1440         * lib/krb5/{net_write.c,net_read.c,recvauth.c}: new files
1442         * lib/asn1/gen.c: Fix encoding and decoding of BitStrings
1444 Fri Mar 14 11:29:00 1997  Assar Westerlund  <assar@sics.se>
1446         * configure.in: look for *dbm?
1448         * lib/asn1/gen.c: Fix filename in generated files. Check fopens.
1449         Put trailing newline in asn1_files.
1451 Fri Mar 14 05:06:44 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1453         * lib/krb5/get_in_tkt.c: Fix some memory leaks.
1455         * lib/krb5/krbhst.c: Properly free hostlist.
1457         * lib/krb5/decrypt.c: CRCs are 32 bits.
1459 Fri Mar 14 04:39:15 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1461         * lib/asn1/gen.c: Generate one file for each type.
1463 Fri Mar 14 04:13:47 1997  Assar Westerlund  <assar@sics.se>
1465         * lib/asn1/gen.c: Generate `length_FOO' functions
1467         * lib/asn1/der_length.c: new file
1469         * kuser/klist.c: renamed stime -> printable_time to avoid conflict
1470         on HP/UX
1472 Fri Mar 14 03:37:23 1997  Johan Danielsson  <joda@emma.pdc.kth.se>
1474         * lib/hdb/ndbm.c: Return NOENTRY if fetch fails. Don't free
1475         datums. Don't add .db to filename.
1477 Fri Mar 14 02:49:51 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1479         * kdc/dump.c: Database dump program.
1481         * kdc/ank.c: Trivial database editing program.
1483         * kdc/{kdc.c, load.c}: Use libhdb.
1485         * lib/hdb: New database routine library.
1487         * lib/krb5/error/Makefile.am: Add hdb_err.
1489 Wed Mar 12 17:41:14 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1491         * kdc/kdc.c: Rewritten AS, and somewhat more working TGS support.
1493         * lib/asn1/gen.c: Generate free functions.
1495         * Some specific free functions.
1497 Wed Mar 12 12:30:13 1997  Assar Westerlund  <assar@sics.se>
1499         * lib/krb5/krb5_mk_req_ext.c: new file
1501         * lib/asn1/gen.c: optimize the case with a simple type
1503         * lib/krb5/get_cred.c (krb5_get_credentials): Use
1504         `mk_req_extended' and remove old code.
1506         * lib/krb5/get_in_tkt.c (decrypt_tkt): First try with an
1507         EncASRepPart, then with an EncTGSRepPart.
1509 Wed Mar 12 08:26:04 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1511         * lib/krb5/store_emem.c: New resizable memory storage.
1513         * lib/krb5/{store.c, store_fd.c, store_mem.c}: Split of store.c
1515         * lib/krb5/krb5.h: Add free entry to krb5_storage.
1517         * lib/krb5/decrypt.c: Make keyblock const.
1519 Tue Mar 11 20:22:17 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1521         * lib/krb5/krb5.h: Add EncTicketPart to krb5_ticket.
1523         * lib/krb5/rd_req.c: Return whole asn.1 ticket in
1524         krb5_ticket->tkt.
1526         * lib/krb5/get_in_tkt.c: TGS -> AS
1528         * kuser/kfoo.c: Print error string rather than number.
1530         * kdc/kdc.c: Some kind of non-working TGS support.
1532 Mon Mar 10 01:43:22 1997  Assar Westerlund  <assar@sics.se>
1534         * lib/asn1/gen.c: reduced generated code by 1/5
1536         * lib/asn1/der_put.c: (der_put_length_and_tag): new function
1538         * lib/asn1/der_get.c (der_match_tag_and_length): new function
1540         * lib/asn1/der.h: added prototypes
1542 Mon Mar 10 01:15:43 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1544         * lib/krb5/krb5.h: Include <asn1_err.h>. Add prototype for
1545         krb5_rd_req_with_keyblock.
1547         * lib/krb5/rd_req.c: Add function krb5_rd_req_with_keyblock that
1548         takes a precomputed keyblock.
1550         * lib/krb5/get_cred.c: Use krb5_mk_req rather than inlined code.
1552         * lib/krb5/mk_req.c: Calculate checksum of in_data.
1554 Sun Mar  9 21:17:58 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1556         * lib/krb5/error/compile_et.awk: Add a declaration of struct
1557         error_list, and multiple inclusion block to header files.
1559 Sun Mar  9 21:01:12 1997  Assar Westerlund  <assar@sics.se>
1561         * lib/krb5/rd_req.c: do some checks on times
1563         * lib/krb/{mk_priv.c, rd_priv.c, sendauth.c, decrypt.c,
1564         address.c}: new files
1566         * lib/krb5/auth_context.c: more code
1568         * configure.in: try to figure out timezone
1570 Sat Mar  8 11:41:07 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1572         * lib/krb5/error/error.c: Try strerror if error code wasn't found.
1574         * lib/krb5/get_in_tkt.c: Remove realm parameter from
1575         krb5_get_salt.
1577         * lib/krb5/context.c: Initialize error table.
1579         * kdc: The beginnings of a kdc.
1581 Sat Mar  8 08:16:28 1997  Assar Westerlund  <assar@sics.se>
1583         * lib/krb5/rd_safe.c: new file
1585         * lib/krb5/checksum.c (krb5_verify_checksum): New function
1587         * lib/krb5/get_cred.c: use krb5_create_checksum
1589         * lib/krb5/checksum.c: new file
1591         * lib/krb5/store.c: no more arithmetic with void*
1593         * lib/krb5/cache.c: now seems to work again
1595 Sat Mar  8 06:58:09 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1597         * lib/krb5/Makefile.am: Add asn1_glue.c and error/*.c to libkrb5.
1599         * lib/krb5/get_in_tkt.c: Moved some functions to asn1_glue.c.
1601         * lib/krb5/asn1_glue.c: Moved some asn1-stuff here.
1602         
1603         * lib/krb5/{cache,keytab}.c: Use new storage functions.
1605         * lib/krb5/krb5.h: Protypes for new storage functions.
1607         * lib/krb5/krb5.h: Make krb5_{ret,store}_* functions able to write
1608         data to more than file descriptors.
1610 Sat Mar  8 01:01:17 1997  Assar Westerlund  <assar@sics.se>
1612         * lib/krb5/encrypt.c: New file.
1614         * lib/krb5/Makefile.am: More -I
1616         * configure.in: Test for big endian, random, rand, setitimer
1618         * lib/asn1/gen.c: perhaps even decodes bitstrings
1620 Thu Mar  6 19:05:29 1997  Johan Danielsson  <joda@blubb.pdc.kth.se>
1622         * lib/krb5/config_file.y: Better return values on error.
1624 Sat Feb  8 15:59:56 1997  Assar Westerlund  <assar@pdc.kth.se>
1626         * lib/asn1/parse.y: ifdef HAVE_STRDUP
1628         * lib/asn1/lex.l: ifdef strdup
1629         brange-dead version of list of special characters to make stupid
1630         lex accept it.
1632         * lib/asn1/gen.c: A DER integer should really be a `unsigned'
1634         * lib/asn1/der_put.c: A DER integer should really be a `unsigned'
1636         * lib/asn1/der_get.c: A DER integer should really be a `unsigned'
1638         * lib/krb5/error/Makefile.am: It seems "$(SHELL) ./compile_et" is
1639         needed.
1641         * lib/krb/mk_rep.c, lib/krb/rd_req.c, lib/krb/store.c,
1642         lib/krb/store.h: new files.
1644         * lib/krb5/keytab.c: now even with some functionality.
1646         * lib/asn1/gen.c: changed paramater from void * to Foo *
1648         * lib/asn1/der_get.c (der_get_octet_string): Fixed bug with empty
1649         string.
1651 Sun Jan 19 06:17:39 1997  Assar Westerlund  <assar@pdc.kth.se>
1653         * lib/krb5/get_cred.c (krb5_get_credentials): Check for creds in
1654         cc before getting new ones.
1656         * lib/krb5/krb5.h (krb5_free_keyblock): Fix prototype.
1658         * lib/krb5/build_auth.c (krb5_build_authenticator): It seems the
1659         CRC should be stored LSW first. (?)
1661         * lib/krb5/auth_context.c: Implement `krb5_auth_con_getkey' and
1662         `krb5_free_keyblock'
1664         * lib/**/Makefile.am: Rename foo libfoo.a
1666         * include/Makefile.in: Use test instead of [
1667         -e does not work with /bin/sh on psoriasis
1669         * configure.in: Search for awk
1670         create lib/krb/error/compile_et
1671         
1672 Tue Jan 14 03:46:26 1997  Assar Westerlund  <assar@pdc.kth.se>
1674         * lib/krb5/Makefile.am: replaced mit-crc.c by crc.c
1676 Wed Dec 18 00:53:55 1996  Johan Danielsson  <joda@emma.pdc.kth.se>
1678         * kuser/kinit.c: Guess principal.
1680         * lib/krb5/error/compile_et.awk: Don't include krb5.h. Fix some
1681         warnings.
1683         * lib/krb5/error/asn1_err.et: Add ASN.1 error messages.
1685         * lib/krb5/mk_req.c: Get client from cache.
1687         * lib/krb5/cache.c: Add better error checking some useful return
1688         values.
1690         * lib/krb5/krb5.h: Fix krb5_auth_context.
1692         * lib/asn1/der.h: Make krb5_data compatible with krb5.h
1694 Tue Dec 17 01:32:36 1996  Johan Danielsson  <joda@emma.pdc.kth.se>
1696         * lib/krb5/error: Add primitive error library.
1698 Mon Dec 16 16:30:20 1996  Johan Danielsson  <joda@emma.pdc.kth.se>
1700         * lib/krb5/cache.c: Get correct address type from cache.
1702         * lib/krb5/krb5.h: Change int16 to int to be compatible with asn1.