d0300be404817d53544a066dba980f0c5b0976a5
[dragonfly.git] / crypto / kerberosIV / ChangeLog
1 2000-12-25
2
3         * configure.in (VERSION): bump to 1.0.5
4
5 2000-10-19
6
7         * include/Makefile.in (HEADERS): add md4.h, md5.h, sha.h and rc4.h
8         * appl/kip/common.c (WCOREDUMP): add fallback definition
9
10 2000-10-18
11
12         * lib/krb/dest_tkt.c (dest_tkt): only return valid error codes
13         back
14
15         * kadmin/admin_server.c: re-structure code to handle DoS attacks
16         better only allow a constant number of children (100 currently)
17         keep track of which children have gotten authentication
18         information and kill the non-authenticated children when there are
19         new connections
20
21 2000-10-16
22
23         * server/kerberos.c: handle a fixed number (100) of TCP
24         connections and kill some randomly if all are busy to try to
25         mitigate the effects of DoS attacks
26
27 2000-10-08
28
29         * lib/krb/send_to_kdc.c (send_recv): check that fds are not too
30         large to select on
31         * kadmin/admin_server.c (kadm_listen): check that fds are not too
32         large to select on
33         * appl/kip/common.c (*): check that fds are not too large to
34         select on
35         * appl/bsd/rshd.c (doit): check that fds are not too large to
36         select on
37         * appl/bsd/rsh.c (talk): check that fds are not too large to
38         select on
39         * appl/bsd/rlogin.c (reader): check that fds are not too large to
40         select on
41         * appl/bsd/kcmd.c (kcmd): check that fds are not too large to
42         select on
43
44 2000-09-25
45
46         * config.guess: update to version 2000-09-05 (aka 1.156) from
47         subversions.gnu.org plus some minor tweaks
48         * config.sub: update to version 2000-09-11 (aka 1.181) from
49         subversions.gnu.org
50
51 2000-09-09
52
53         * appl/kip/kipd.c: add back droped slash in kip-control
54
55 2000-08-16
56
57         * configure.in (getmsg): re-do so it possibly works on redhat 7.0
58
59 2000-08-09
60
61         * kuser/klist.c (display_srvtab): do not call warn with a variable
62         as format string
63
64         * appl/bsd/rshd.c (doit): do not call warnx with a variable as
65         format string
66
67 2000-07-30
68
69         * doc/install.texi: say something about siacfg
70         
71 2000-06-28
72
73         * lib/krb/dest_tkt.c (dest_tkt): rewrite to lstat and compare
74         numbers
75
76 2000-06-10
77
78         * appl/bsd: work-around setuid and capabilities bug fixed in Linux
79         2.2.16
80
81 2000-06-08
82
83         * configure.in: do not use streams ptys on HP-UX 11
84
85 2000-05-15
86
87         * lib/krb/rw.c (krb_get_nir): add explicit lengths to the
88         parameters.  before this the function `knew'.  change callers.
89
90 2000-05-14
91
92         * appl/afsutil/aklog.c: look not only in /usr/vice/etc but also in
93         /usr/arla/etc for configuration files
94
95 2000-04-25
96
97         * lib/krb/tf_util.c (tf_create): just remove the over-writing of
98         the old ticket file.
99
100 2000-04-09
101
102         * lib/krb/getaddrs.c (k_get_all_addrs): apperently solaris can
103         return EINVAL when the buffer is too small.  cope.
104         * appl/bsd/rshd.c (doit): exec the correct shell
105
106 2000-03-26
107
108         * config.guess, config.sub: update to current version from
109         :pserver:anoncvs@subversions.gnu.org:/home/cvs
110
111         * appl/bsd/rlogind.c (rlogind_logout, logwtmp): make sure to
112         always call time and ctime with `time_t's.  there were some types
113         (like in lastlog) that we believed to always be time_t.  this has
114         proven wrong on Solaris 8 in 64-bit mode, where they are stored as
115         32-bit quantities but time_t has gone up to 64 bits
116         * appl/bsd/login.c: dito
117
118 2000-03-20
119
120         * configure.in: add solaris2.8
121
122 2000-03-15
123
124         * configure.in: on all versions of aix, add `-bnolibpath' to the
125         linker.  otherwise ld will interpret -L as run-time path for where
126         to find shared libraries and looking in ../../foo is a bad idea.
127         bug report from Niklas Edmundsson <nikke@ing.umu.se>
128
129 2000-03-09
130
131         *  Release 1.0.1
132
133 1999-11-29
134
135         *  Release 1.0
136
137         * lib/krb/krb-protos.h (tf_get_cred_addr): add prototype
138
139         * lib/krb/tf_util.c (tf_get_cred_addr): new function for fetching
140         the NAT addresses stored in the ticket file. From
141         <thn@stacken.kth.se>
142
143         * kuser/klist.c (display_tktfile): dump the IP address being used
144         when in NAT-mode.  From <thn@stacken.kth.se>
145
146 1999-11-25
147
148         * appl/bsd/rlogind.c (main): getopt returns -1 and not EOF.  From
149         <art@stacken.kth.se>
150
151         * lib/krb/krb_ip_realm.c (krb_add_our_ip_for_realm): new function
152         for obtaining the IP address that the KDC sees us as coming from.
153         From <thn@stacken.kth.se>
154
155         * lib/krb/tf_util.c (tf_get_addr, tf_store_addr): new functions
156         for storing the NAT-ed address per realm
157         (tf_get_cred): make sure to ignore all magic credentials
158
159         * lib/krb/get_in_tkt.c (krb_get_pw_in_tkt2): if using NAT, store
160         the address the the KDC saw. (krb_add_our_ip_for_realm)
161
162         * lib/krb/send_to_kdc.c: rewrite some.  Make sure that we do not
163         do any hostname lookups when using http through a proxy (the proxy
164         is supposed to do that in the `real' name-space).
165
166 1999-11-19
167
168         * appl/bsd/rcmd_util.c (conv): add EXTA and EXTB
169         
170 Tue Nov 16 1999
171
172         * lib/krb/defaults.c (krb_get_default_keyfile): Get value of
173         KEYFILE from /etc/krb.extra.
174
175 1999-11-13
176
177         * **/*.c (main): getopt returns -1 not EOF.  From
178         <art@stacken.kth.se>
179
180         * configure.in: check for fields in `struct tm' and variable
181         `timezone', used by strftime
182         * configure.in (AC_BROKEN): strptime is a new function in roken
183         opt*: more header files for the tests
184         
185 Tue Nov 2 1999
186
187         * lib/krb/krb.h (TKT_ROOT): Change the definition of TKT_ROOT to a
188         function call. The returned value is settable in /etc/krb.extra
189         with the construct krb_default_tkt_root = /tmp/tkt_.
190
191 1999-10-06
192
193         * lib/krb/verify_user.c: remove ERICSSON_COMPAT, it's apparently
194         no longer needed
195
196 Mon Oct 4 1999
197
198         * appl/bsd/klogin.c (multiple_get_tkt): Must use appropiate realm
199         name when calling krb_get_pw_in_tkt or else you will receive an
200         inter-realm TGT.
201
202 1999-10-03
203
204         * doc/problems.texi: add blurb about irix abi:s
205
206 1999-09-27
207
208         * lib/krb/tf_util.c (tf_init): cygwin work-around
209
210 1999-09-16
211
212         * configure.in: test for strlcpy, strlcat
213
214         * admin/kdb_util.c (main): support `-' as an alias for stdout.
215         originally from Fredrik Ljungberg <flag@astrogator.se>
216
217 1999-09-15
218
219         * include/Makefile.in: remove duplicate parse_time.h
220
221         * kadmin/ksrvutil_get.c (get_srvtab_ent): better error messages
222
223 1999-09-12
224
225         * configure.in: revert back awk test, now worked around in
226         roken.awk
227
228 1999-09-06
229
230         * doc/problems.texi: document a really working fix for the xlc
231         -qnolm bug
232
233 1999-09-04
234
235         * doc/problems.texi: comment about xlc -E brokenness
236
237 1999-09-01
238
239         * lib/krb/get_krbrlm.c (krb_get_lrealm_f): treat n = 0 the same as
240         if it were 1 (this should make it backwards compatible with apps
241         that pass 0 for n)
242
243 1999-08-25
244
245         * appl/bsd/login.c: surround SGI capability stuff with
246         `defined(HAVE_CAP_SET_PROC)'
247
248 1999-08-24
249
250         * kadmin/kadmin.c (add_new_key): add missing space when printing
251         generated passwords.  bug reported by Per Eriksson DMC
252         <perixon@dsv.su.se>
253         
254         * lib/krb/verify_user.c (krb_verify_user_srvtab): return last
255         error instead of KFAILURE when everything fails.
256
257         * appl/bsd/klogin.c (multiple_get_tkt): return last error instead
258         of KFAILURE when everything fails.
259
260 1999-08-18
261
262         * doc/problems.texi: some y2k stuff
263
264         * doc/kth-krb.texi: update copyright, and menu
265
266         * doc/intro.texi: remove unix-system section, since it's
267         impossible to keep up to date
268
269 1999-08-13
270
271         * configure.in: test for inet_pton include <sys/types.h> in all
272         utmp tests
273
274 1999-07-27
275
276         * configure.in: test for struct sockaddr_storage and sa_family
277         brokenize inet_ntop
278
279 1999-07-24
280
281         * kadmin/ksrvutil_get.c (get_srvtab_ent): try to print better
282         error messages
283
284         * configure.in (AC_PROG_AWK): disable. mawk seems to mishandle \#
285         in lib/roken/roken.awk
286
287 1999-07-22
288
289         * acconfig.h (SunOS): remove definition
290
291         * configure.in: define SunOS to xy for SunOS x.y
292
293 1999-07-19
294
295         * configure.in (AC_BROKEN): check for copyhostent, freehostent,
296         getipnodebyname, getipnodebyaddr
297
298 1999-07-13
299
300         * configure.in: use AC_FUNC_GETLOGIN
301
302 1999-07-07
303
304         * kadmin/admin_server.c (main): call krb_get_lrealm correctly
305
306         * appl/bsd/rlogind.c (lowtmp): fill in ut_id
307
308 1999-07-06
309
310         * include/bits.c: move around __attribute__ to make it work with
311         old gcc
312
313         * appl/bsd/rcp.c (rsource): remove trailing slashes which
314         otherwise makes us fail
315
316 1999-07-04
317
318         * appl/afsutil/aklog.c (epxand_cell_name): terminate on #
319
320         * lib/kadm/kadm_cli_wrap.c (kadm_cli_send): free the right memory
321         (none) when kadm_cli_out fails.  based on a patch by Buck Huppmann
322         <Charles-Huppmann@UIowa.edu>
323
324 1999-06-24
325
326         * configure.in: check for sgi capability stuff
327
328         * appl/bsd/login.c: add some kind of sgi capability capability
329
330 1999-06-23
331
332         * acconfig.h (HAVE_KRB_DISABLE_DEBUG): always define.  this makes
333         the telnet code easier when building heimdal with an older krb4
334
335         * lib/krb/kuserok.c (krb_kuserok): add support for multiple local
336         realms and de-support entries without realm in ~/.klogin
337
338 1999-06-19
339
340         * lib/krb/send_to_kdc.c: and a new variable `timeout' in krb.extra
341         instead of always having a timeout of four seconds.  based on a
342         patch by Mattias Amnefelt <mattiasa@stacken.kth.se>
343
344 1999-06-17
345
346         * appl/bsd/rshd.c: use DES_RW_MAXWRITE instead of BUFSIZ (for
347         consistency)
348
349         * appl/bsd/rsh.c: use DES_RW_MAXWRITE instead of BUFSIZ.
350         Otherwise, des_enc_read might be buffering data to us and it can
351         get returned on a des_enc_read to another fd that the original one
352         :-(
353
354         * appl/bsd/bsd_locl.h: DES_RW_{MAXWRITE,BSIZE}
355
356         * appl/bsd/encrypt.c: move MAXWRITE and BSIZE to bsd_locl.h and
357         rename them to DES_RW_\1
358
359 1999-06-16
360
361         * kuser/kdestroy.c: make unlog and tickets function correctly
362
363         * configure.in: correct variables used for socks includes and libs
364
365
366         * lib/krb/{debug_decl.c,krb-protos.h}: add krb_disable_debug
367
368 1999-06-15
369
370         * kuser/klist.c (display_tokens): type correctness
371
372         * lib/krb/send_to_kdc.c (url_parse): always return the port in
373         network byte order (and be more careful when parsing the port
374         number)
375
376         * lib/krb/send_to_kdc.c (http_recv): handle both HTTP/1.0 and
377         HTTP/1.1 in reply
378
379 1999-06-06
380
381         * configure.in: use KRB_CHECK_X
382         
383         * kuser/kdestroy.c: use print_version
384         
385 Wed Jun 2 1999
386
387         * kadmin/kadmin.c: use print_version; (mod_entry): add command
388         line options
389         
390 1999-05-21
391
392         * appl/bsd/login.c: limit more stuff for crays; fix call to
393         login_access
394
395 1999-05-19
396
397         * man/Makefile.in (install, uninstall): handle relative paths (fix
398         editline)
399
400 1999-05-18
401
402         * appl/bsd/bsd_locl.h: update prototype for login_access; declare
403         `struct aud_rec' to keep AIX xlc happy
404
405 1999-05-14
406
407         * appl/bsd/login_access.c: merge in more recent code
408
409         * configure.in (CHECK_NETINET_IP_AND_TCP): use
410
411 1999-05-10
412
413         * lib/krb/get_host.c (parse_address): remove trailing slash
414         
415         * lib/krb/send_to_kdc.c (prog): nuke
416         (send_to_kdc): restructure.  make sure we have used all of the
417         addresses from gethostbyname before calling send_recv
418         (send_recv): removed unused parameters
419         (url_parse): remove trailing slash
420         (http_recv): make sure the http transaction was succesful
421
422 1999-05-08
423
424         * configure.in: use the correct include files for the utmp tests
425
426         * appl/movemail/pop.c: rename getline -> pop_getline removed
427         duplicate prototypes
428
429         * configure.in: db.h: test for
430         (getmsg): check for existence before checking if it works (otherwise
431         it fails with glibc2.1 that implements an always failing getmsg)
432
433         * acconfig.h (_GNU_SOURCE): define this to enable (used)
434         extensions on glibc-based systems such as linux
435
436         * configure.in: test for strndup
437
438 1999-04-21
439
440         * configure.in: replace AC_TEST_PACKAGE with AC_TEST_PACKAGE_NEW
441         fix test for readline.h add test for four argument el_init
442         remember to link with $LIB_tgetent when trying linking with
443         readline
444
445 1999-04-16
446
447         * configure.in: check for prototype of strsep
448
449 Sat Apr 10 1999
450
451         * configure.in: fix readline logic
452
453 Fri Apr 9 1999
454
455         * man/Makefile.in: add editline and push.  make install rules
456         handle paths
457
458 Wed Apr 7 1999
459
460         * appl/movemail/Makefile.in: fix names of hesiod variables
461
462         * configure.in: fix readline flags
463
464 Mon Mar 29 1999
465
466         * appl/bsd/utmpx_login.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
467
468         * appl/bsd/utmp_login.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
469
470         * appl/bsd/rlogind.c: HAVE_UT_* -> HAVE_STRUCT_UTMP*_UT_*
471
472         * configure.in: include <sys/types.h> in test for ut_*; use
473         AC_CHECK_XAU
474
475         * configure.in: utmp{,x} -> struct utmp{,x}
476
477 Sat Mar 27 1999
478
479         * configure.in: AC_CHECK_OSFC2
480
481 Fri Mar 19 1999
482
483         * configure.in: use AC_SHARED_LIBS
484
485         * configure.in: remove AIX install hack (fixed in autoconf 2.13)
486
487
488         * server/kerberos.c: fix some printf format strings
489
490 Wed Mar 17 1999
491
492         * lib/krb/krb.h (KRB_VERIFY_NOT_SECURE): add for completeness
493
494         * lib/auth/sia/sia.c (common_auth): use KRB_VERIFY_SECURE instead
495         of 1
496
497         * lib/auth/pam/pam.c (doit): use KRB_VERIFY_SECURE instead of 1
498
499         * lib/auth/afskauthlib/verify.c (afs_verify): use
500         KRB_VERIFY_SECURE instead of 1
501
502 Tue Mar 16 1999
503
504         * lib/krb/verify_user.c (krb_verify_user): handle multiple local
505         realms
506         (krb_verify_user_multiple): remove
507
508         * lib/krb/krb-protos.h (krb_verify_user_multiple): remove
509
510         * lib/auth/pam/pam.c: krb_verify_user_multiple -> krb_verify_user
511
512         * lib/auth/sia/sia.c: krb_verify_user_multiple -> krb_verify_user
513
514         * lib/auth/afskauthlib/verify.c: krb_verify_user_multiple ->
515         krb_verify_user
516
517
518         * lib/krb/getaddrs.c: SOCKADDR_HAS_SA_LEN ->
519         HAVE_STRUCT_SOCKADDR_SA_LEN
520
521 Sat Mar 13 1999
522
523         * lib/kadm/check_password.c (kadm_check_pw): cast when calling is*
524         to get rid of a warning
525
526         * lib/acl/acl_files.c (nuke_whitespace): cast when calling is* to
527         get rid of a warning
528
529         * kadmin/ksrvutil.c (usage): update. improve error messages
530         
531         * appl/bsd/sysv_default.c (trim): cast when calling is* to get rid
532         of a warning
533
534         * appl/bsd/rshd.c (doit): more parenthesis to make gcc happy
535
536         * appl/bsd/rsh.c: add `-p'
537
538         * appl/bsd/rlogin.c (main): more paranoid parsing of `-p'
539
540         * appl/bsd/rcp.c (sink): cast when calling is* to get rid of a
541         warning
542
543         * appl/bsd/login_access.c (login_access): cast when calling
544         isspace to get rid of a warning
545
546         * include/bits.c (my_strupr): rename to strupr and ifdef
547         (try_signed, try_unsigned): add __attribute__ junk to get rid of two
548         warnings
549
550         * appl/bsd/Makefile.in (SOURCES): add osfc2.c
551
552         * admin/kdb_util.c (update_ok_file): add fallback utimes (some
553         systems seem to fail updating the timestamp with open(), close())
554
555         * server/kerberos.c (main): more paranoid parsing of `-a' and `-p'
556
557 Thu Mar 11 1999
558
559         * configure.in: AC_BROKEN innetgr
560
561         * lib/krb/send_to_kdc.c: fix types in format string
562
563         * lib/krb/get_host.c: add some if-braces to keep gcc happy
564
565         * lib/kadm/kadm_supp.c: fix types in format string
566
567         * lib/auth/sia/Makefile.in: WFLAGS
568
569         * include/bits.c: fix types in format string
570
571         * appl/bsd/su.c: add some if-braces to keep gcc happy
572
573         * appl/bsd/rlogind.c: add some if-braces to keep gcc happy
574
575         * appl/bsd/rlogin.c: add some if-braces to keep gcc happy
576
577         * appl/bsd/login.c: add some if-braces to keep gcc happy
578
579         * appl/afsutil/pagsh.c: fix types in format string
580
581 Wed Mar 10 1999
582
583         * server/kerberos.c: remove unused k_instance
584
585         * lib/krb/krb-protos.h (read_service_key): add some consts to
586         prototype
587
588         * lib/krb/read_service_key.c (read_service_key): add some consts
589         to prototype
590
591         * appl/sample/sample_server.c: openlog -> roken_openlog
592
593         * appl/kip/kipd.c: openlog -> roken_openlog
594
595         * configure.in: use AC_WFLAGS
596
597 Mon Mar 1 1999
598
599         * acinclude.m4: add
600
601         * configure.in: typo
602
603         * Makefile.in: use aclocal
604
605         * Makefile.export: use aclocal
606
607         * configure.in: update to autoconf 2.13
608
609         * aclocal.m4.in: have-struct-field.m4, check-type-extra.m4
610
611         * acconfig.h: update to autoconf 2.13
612
613         * lib/auth/sia/sia.c: SIAENTITY_HAS_OUID -> HAVE_SIAENTITY_OUID
614
615 Tue Feb 23 1999
616
617         * configure.in: don't include afsl.exp in libkafs.a if building
618         with dynamic afs support (breaks egcs 1.1.1)
619
620         * configure.in: don't build rxkad if not building afs-support
621
622 Mon Feb 22 1999
623
624         * include/Makefile.in: clean up handling of missing system headers
625
626         * configure.in: clean up handling of missing system headers
627
628         * aclocal.m4.in: broken-snprintf.m4 broken-glob.m4
629
630         * acconfig.h: NEED_{SNPRINTF,GLOB}_PROTO
631
632 Mon Feb 15 1999
633
634         * configure.in (gethostname, mkstemp): test for prototype
635
636         * configure.in: homogenize broken detection with heimdal
637
638 Thu Feb 11 1999
639
640         * lib/krb/verify_user.c: If secure == KRB_VERIFY_SECURE_FAIL,
641         return ok if there isn't any service key (or if it can't be read).
642
643         * lib/krb/krb.h: KRB_VERIFY_SECURE, KRB_VERIFY_SECURE_FAIL
644
645 Wed Jan 13 1999
646
647         * kadmin/kadmin.c (add_new_key): enable the `-p password' option
648         and add the missing code.
649
650         * appl/bsd/login_fbtab.c (login_protect): remove `/*' from string
651         before reading the directory.  From "Brandon S. Allbery"
652         <allbery@ece.cmu.edu>
653
654 Fri Dec 18 1998
655
656         * man/kadmin.8 (-t): add a note about using `kinit -p'
657
658 Mon Dec 14 1998
659
660         * lib/krb/name2name.c (krb_name_to_name): really verify we have an
661         alias before trying to use it as the primary name.
662
663 Fri Nov 27 1998
664
665         * lib/krb/send_to_kdc.c (url_parse): use correct length when
666         copying the hostname
667
668 Sun Nov 22 1998
669
670         * configure.in, acconfig.h: NEED_HSTRERROR_PROTO
671
672
673         * configure.in: use AC_KRB_STRUCT_SPWD
674
675         * slave/Makefile.in (WFLAGS): set
676
677         * server/Makefile.in (WFLAGS): set
678
679         * lib/krb/send_to_kdc.c (send_recv): add `int'
680
681         * lib/krb/decomp_ticket.c (decomp_ticket): if the realm is empty,
682         use the local realm.
683
684         * lib/krb/Makefile.in (WFLAGS): set
685
686         * lib/kdb/krb_lib.c (kerb_get_principal): correct test
687         (kerb_put_principal): remove unused variable
688
689         * lib/kdb/Makefile.in (WFLAGS): set
690
691         * lib/auth/pam/Makefile.in (WFLAGS): set
692
693         * lib/auth/afskauthlib/Makefile.in (WFLAGS): set
694
695         * lib/acl/Makefile.in (WFLAGS): set
696
697         * kuser/Makefile.in (WFLAGS): set
698
699         * kadmin/Makefile.in (WFLAGS): set
700
701         * include/Makefile.in (WFLAGS): set
702
703         * appl/sample/sample_client.c (main): remove unused variable
704
705         * appl/sample/Makefile.in (WFLAGS): set
706
707         * appl/movemail/Makefile.in (WFLAGS): set
708
709         * appl/kip/Makefile.in (WFLAGS): set
710
711         * appl/bsd/Makefile.in (WFLAGS): set
712
713         * appl/afsutil/pagsh.c (main): fall back to running /bin/sh if
714         execvp fails.
715
716         * appl/afsutil/Makefile.in (WFLAGS): set
717
718         * admin/kdb_edit.c (change_principal): remove unused variable
719
720         * admin/Makefile.in (WFLAGS): set
721
722         * configure.in: check for crypt, environ and struct spwd
723
724 Thu Nov 19 1998
725
726         * appl/movemail/Makefile.in: link and include hesiod
727
728         * configure.in: test for hesiod
729
730 Wed Nov 18 1998
731
732         * kadmin/kadm_locl.h: include <arpa/inet.h>
733
734         * configure.in (freebsd3): seems to like symbolic links for the
735         shared libraries
736
737 1998-11-07
738
739         * Makefile.export (ChangeLOG): handle emacs20-style changelog
740         entries
741
742         * lib/kdb/krb_dbm.c (kerb_db_get_principal, kerb_db_iterate):
743         check return value from `dbm_open'
744
745 Fri Oct 23 1998
746
747         * lib/kadm/kadm.h: enable new extended kadmin fields by default
748
749 Thu Oct 22 1998
750
751         * lib/krb/get_host.c (read_file): add more kinds of whitespace
752
753         * lib/krb/lsb_addr_comp.c: fix(?) calculations regrding
754         `firewall_address'
755
756         * kadmin/kadmin.c: change timeout to 5 minutes, (sigarlm): only
757         print message if any tickets were actually destroyed, (main): less
758         noise, (add_new_key): some cleanup, (del_entry): allow more than
759         one principal on command line, (get_entry): set more flags
760
761         * lib/kadm/kadm.h: add code to get modification date, modifier and
762         key version number
763
764         * lib/kadm/kadm_supp.c: add code to get modification date,
765         modifier and key version number
766
767         * lib/kadm/kadm_stream.c: add code to get modification date,
768         modifier and key version number
769
770 Tue Oct 13 1998
771
772         * lib/kadm/Makefile.in: ROKEN_RENAME
773
774         * lib/krb/roken_rename.h: add strnlen
775
776         * lib/krb/Makefile.in: add strnlen
777
778 Sat Oct 3 1998
779
780         * doc/install.texi: add comment about afskauthlib being in the
781         correct object format
782
783 Thu Oct 1 1998
784
785         * kadmin/kadmin.c (change_admin_password): add `alarm(0)' to
786         prevent it from timing out
787
788
789         * lib/krb/time.c (krb_kdctimeofday): set `tv'.  fix from Thomas
790         Nyström <thn@stacken.kth.se>
791
792 Mon Sep 28 1998
793
794         * appl/bsd/osfc2.c: lots of C2 magic
795
796         * appl/bsd/{rshd,rcp_util,rcp}.c: do C2 stuff
797
798         * appl/bsd/login.c: move C2 stuff to osfc2.c
799
800         * appl/bsd/login.c: call `set_auth_parameters' if OSFC2
801
802 Sun Sep 27 1998
803
804         * appl/bsd/login.c: add some code to call setluid
805
806 Sat Sep 26 1998
807
808         * appl/sample/sample_client.c (main): correct test
809
810 Sat Sep 12 1998
811
812         * configure.in (XauReadAuth): reverse test and check for -lX11
813         before -lXau, otherwise the test fails on Irix 6.5
814
815 Sun Sep 6 1998
816
817         * lib/krb/krb-protos.h: fix prototypes for krb_net_{read,write}
818
819         * lib/krb/krb_net_{read,write}.c: new files
820
821         * lib/krb/Makefile.in: add krb_net_{read,write}
822
823 Fri Sep 4 1998
824
825         * lib/auth/sia/sia.c (siad_ses_launch, siad_ses_reauthent): use
826         krb_afslog_home
827
828         * lib/auth/pam/pam.c (pam_sm_open_session): use krb_afslog_home
829
830         * lib/auth/afskauthlib/verify.c (afs_verify): use
831         krb_afslog_uid_home
832
833 Sun Aug 30 1998
834
835         * lib/krb/get_host.c: patch from Derrick J Brashear
836         <shadow@dementia.org> for doing less DNS lookups
837
838 Sun Aug 23 1998
839
840         * lib/krb/ticket_memory.c (tf_save_cred): use memcpy to copy the
841         session key.
842
843 Tue Aug 18 1998
844
845         * kadmin/kadmin.c (change_password): add `--random'.  From Love
846         Hörnquist-Ã…strand <lha@elixir.e.kth.se>
847
848 Thu Aug 13 1998
849
850         * lib/kclient/KClient.c (KClientErrorText): copy the string.
851         Patch from Daniel Staaf <d96-dst@nada.kth.se>
852
853 Tue Jul 28 1998
854
855         * appl/bsd/rsh.c (main): make sure not to send `-K' before the
856         hostname when re-execing
857
858         * appl/bsd/su.c: openlog LOG_AUTH
859
860 Fri Jul 24 1998
861
862         * lib/krb/create_ciph.c: typo: s/tmp/rem/
863
864 Wed Jul 22 1998
865
866         * lib/krb/send_to_kdc.c (send_recv): return FALSE if recv failed
867         so that we try the next server
868
869         * configure.in (*-*-sunos): no lib_deps
870
871         * include/protos.H (utime): update prototype
872
873 Thu Jul 16 1998
874
875         * acconfig.h (DBDIR, MATCH_SUBDOMAINS): added
876
877         * configure.in (--enable-match-subdomains): added
878         (--with-db-dir): added
879
880         * lib/krb/getrealm.c (file_find_realm): fix MATCH_SUBDOMAINS code.
881         Patch originally from R Lindsay Todd <toddr@rpi.edu>
882
883         * lib/krb/dllmain.c: clean-up patch from <d96-dst@nada.kth.se>
884
885         * appl/krbmanager: patches from <d96-dst>
886
887 Mon Jul 13 1998
888
889         * appl/sample/sample_client.c (main): don't advance
890         hostent->h_addr_list, use a copy instead
891
892         * appl/bsd/kcmd.c (kcmd): don't advance hostent->h_addr_list, use
893         a copy instead
894
895 Fri Jul 10 1998
896
897         * lib/krb/net{read,write}.c: removed
898
899         * lib/krb/Makefile.in: grab net_{read,write}.c from roken
900
901         * lib/krb/roken_rename.h: add krb_net_{write,read}
902
903         * lib/krb/create_ciph.c (create_ciph): return KFAILURE instead of
904         NULL
905
906         * lib/kadm/kadm_cli_wrap.c (kadm_get): return KADM_NOMEM, not NULL
907
908 Wed Jul 8 1998
909
910         * server/kerberos.c (make_sockets): strdup the port specification
911         before strtok_r:ing it
912
913         * lib/krb/extra.c (define_variable): return 0
914
915         * kuser/klist.c (display_tktfile): only print time diff and
916         newline if using the longform
917
918 Tue Jun 30 1998
919
920         * lib/krb/send_to_kdc.c (send_to_kdc): be careful in not advancing
921         the h_addr_list pointer in the hostent structure
922
923         * lib/krb/time.c (krb_kdctimeofday): handle the case of `time_t'
924         and the type of `tv_sec' being different.  patch originally from
925         <art@stacken.kth.se>
926
927         * man/afslog.1: add refs to kafs and kauth
928
929         * man/kauth.1: add refs to kafs
930
931         * lib/krb/krb_get_in_tkt.c (krb_mk_as_req): remove old code laying
932         around.
933
934         * lib/krb/Makefile.in: add strcat_truncate.c
935
936         * lib/auth/sia/krb4+c2_matrix.conf: fix broken lines and typos
937
938         * kuser/klist.c (display_tokens): print expired for expired tokens
939
940 Sat Jun 13 1998
941
942         * kadmin/kadm_ser_wrap.c (kadm_ser_init): new argument `addr'
943
944         * kadmin/admin_server.c: new argument `-i' for listening on a
945         single address
946
947 Mon Jun 8 1998
948
949         *  Release 0.9.9
950
951 Wed Jun 3 1998
952
953         * lib/krb/extra.c: implement read_extra_file() for Win32
954
955 Fri May 29 1998
956
957         * configure.in: removed duplicate crypt
958
959         * lib/kdb/Makefile.in (roken_rename.h): remove dependency
960
961         * lib/acl/Makefile.in (roken_rename.h): remove dependency
962
963         * lib/krb/roken_rename.h: remove duplicate flock
964
965         * appl/afsutil/aklog.c (createuser): fclose the file
966
967 Wed May 27 1998
968
969         * lib/krb/Makefile.in (extra.c): add
970
971         * slave/kpropd.c: k_flock -> flock
972
973         * slave/kprop.c: k_flock -> flock
974
975         * lib/krb/tf_util.c: k_flock -> flock
976
977         * lib/krb/roken_rename.h: add base64* and flock
978
979         * lib/krb/kntoln.c: k_flock -> flock
980
981         * lib/kdb/krb_dbm.c: k_flock -> flock
982
983         * lib/kdb/Makefile.in: use ROKEN_RENAME to get hold of renames
984         symbols
985
986 Tue May 26 1998
987
988         * lib/krb/extra.c: add read flag, so we don't have to look for
989         non-existant files several times
990
991         * lib/krb/send_to_kdc.c: use krb_get_config_string()
992
993         * lib/krb/lsb_addr_comp.c: use krb_get_config_bool()
994
995         * lib/krb/krb_get_in_tkt.c: use krb_get_config_bool()
996
997         * lib/krb/extra.c: parse and use krb.extra file for special
998         configurations, to lessen the number of environment variables used
999
1000         * lib/krb/getfile.c: cleanup and add `krb_get_krbextra'
1001
1002         * lib/krb/debug_decl.c: add krb_enable_debug
1003
1004         * lib/krb/lsb_addr_comp.c (lsb_time): if KRB_REVERSE_DIRECTION is
1005         set, negate time (fix for some firewalls)
1006
1007 Mon May 25 1998
1008
1009         * lib/krb/Makefile.in (clean): try to remove shared library debris
1010         (LIBDES and LIB_DEPS): try to figure out dependencies
1011
1012         * lib/kdb/Makefile.in (clean): try to remove shared library debris
1013
1014         * lib/kadm/Makefile.in (clean): try to remove shared library
1015         debris
1016
1017         * configure.in: make symlink magic work with libsl
1018
1019 Mon May 18 1998
1020
1021         * appl/bsd/login.c: Hack for AIX 4.3.
1022
1023 Thu May 14 1998
1024
1025         * configure.in: mips-api support.  From Derrick J Brashear
1026         <shadow@dementia.org>
1027
1028         * configure.in: --enable-legacy-kdestroy: added.  From Derrick J
1029         Brashear <shadow@dementia.org>
1030
1031         * kuser/kdestroy.c: LEGACY_KDESTROY: add
1032
1033 Wed May 13 1998
1034
1035         * lib/krb/krb.h (const, signed): define when compiling with
1036         non-ANSI comilers.  From Derrick J Brashear <shadow@dementia.org>
1037
1038 Mon May 11 1998
1039
1040         * kadmin/admin_server.c: Fix reallocation bug.
1041
1042 Fri May 1 1998
1043
1044         * configure.in: don't test for winsock.h
1045
1046         * slave/kprop.c: unifdef -DHAVE_H_ERRNO
1047
1048         * appl/sample/sample_client.c: unifdef -DHAVE_H_ERRNO
1049
1050         * appl/movemail/pop.c: unifdef -DHAVE_H_ERRNO
1051
1052         * appl/kip/kip.c: unifdef -DHAVE_H_ERRNO
1053
1054 Mon Apr 27 1998
1055
1056         * appl/ftp/ftpd/krb4.c (krb4_adat): applied patch from Love
1057         <lha@elixir.e.kth.se> for checking address in krb_rd_req
1058
1059 Sun Apr 26 1998
1060
1061         * appl/Makefile.in (SUBDIRS): add push
1062
1063 Sun Apr 19 1998
1064
1065         * configure.in: fix for the symlink magic. From Gregory S. Stark
1066         <gsstark@mit.edu>
1067
1068         * doc/Makefile.in (install): ignore failures from install-info.
1069
1070         * lib/krb/Makefile.in (install): don't install include files with
1071         x bit
1072
1073         * lib/kadm/Makefile.in (install): don't install include files with
1074         x bit
1075
1076         * man/Makefile.in: don't install getusershell
1077
1078         * lib/krb/Makefile.in: add symlink magic for linux.
1079         only link in com_err.o and error.o if building shared
1080
1081         * lib/kdb/Makefile.in: add symlink magic for linux
1082
1083         * lib/kadm/Makefile.in: add symlink magic for linux
1084
1085         * configure.in: add symlink magic for Linux
1086
1087         * appl/kx/common.c (connect_local_xsocket): update to try the list
1088         of potential socket pathnames
1089
1090 Tue Apr 7 1998
1091
1092         * lib/krb/getaddrs.c: Don't bail out if various ioctl's fail.
1093
1094
1095         * doc/Makefile.in (kth-krb.info): use `--no-split'
1096
1097 Mon Apr 6 1998
1098
1099         * configure.in: add --disable-cat-manpages
1100
1101         * configure.in: call the shared libraries so.0.9.9 on linux
1102
1103 Sat Apr 4 1998
1104
1105         * lib/Makefile.in (SUBDIRS): changed order so that editline is
1106         built before sl
1107
1108         * lib/*/Makefile.in: shared library dependency information
1109
1110         * doc/Makefile.in (clean): remove *.info*
1111
1112         * merge in win32 changes from <flag@astrogator.se> and
1113         <jfa@pobox.se>
1114
1115         * Makefile.export: aux -> cf
1116
1117         * Makefile.in: aux -> cf
1118
1119         * appl/voodoo/TelnetEngine.cpp (TelnetEngine::Connect): check the
1120         return from `gethostbyname'
1121
1122         * appl/bsd/bsd_locl.h: Check for <io.h> and conditionalize
1123         prepare_utmp.  From <d96-mst@nada.kth.se>
1124
1125         * acconfig.h (__EMX__): define MAIL_USE_SYSTEM_LOCK.  From
1126         <d96-mst@nada.kth.se>
1127
1128         * include/bits.c: renamed `strupr' to `my_strupr' not to conflict
1129         with any exiting strupr.
1130
1131 Sat Mar 28 1998
1132
1133         * Makefile.in (install): use DESTDIR
1134
1135         * include/Makefile.in (install): depend on all
1136
1137         * man/Makefile.in (install, uninstall): use transform correctly
1138
1139 Fri Mar 27 1998
1140
1141         * configure.in: don't look for dbopen.  From Derrick J Brashear
1142         <shadow@dementia.org>
1143         (termcap.h): check for
1144
1145         * lib/krb/Makefile.in: fix for LD options on solaris.  From
1146         Derrick J Brashear <shadow@dementia.org>
1147
1148 Thu Mar 19 1998
1149
1150         * appl/kx/common.c: Trying binding sockets in the special
1151         directories for some versions of Solaris and HP-UX
1152
1153
1154         * lib/krb/kdc_reply.c: Check for error code of zero in error
1155         packet from KDC.
1156
1157 Wed Mar 18 1998
1158
1159         * appl/kx/common.c (get_xsockets): try getting sockets in lots of
1160         places
1161         
1162         * appl/kauth/kauth.c: return error code from child (plus shell
1163         magic)
1164
1165
1166         * lib/krb/getrealm.c (krb_realmofhost), lib/krb/get_krbrlm.c
1167         (krb_get_lrealm, krb_get_default_realm): When figuring out a
1168         default local realm name avoid going into infinite loops.
1169
1170 Sun Mar 15 1998
1171
1172         * configure.in: test for <term.h> and search for `tgetent' in
1173         ncurses.  From Gregory S. Stark <gsstark@mit.edu>
1174
1175         * **/Makefile.in: add DESTDIR support and .PHONY
1176
1177 Sat Mar 7 1998
1178
1179         * kadmin/ksrvutil.c: Remove kvno zero restriction.
1180
1181         * configure.in: Add option `--disable-dynamic-afs' do disable AIX
1182         dynamic loading of afs syscall library. This should hopefully also
1183         work with AIX 3.
1184
1185         * kadmin/ksrvutil.c: Add `delete' function (from Chris Chiappa
1186         <griffon+@cmu.edu>).
1187
1188 Thu Feb 26 1998
1189
1190         * kadmin/kadmin.c (do_init): fix check of return value from
1191         krb_get_default_principal
1192
1193         * lib/kadm/kadm_stream.c (stv_string): use correct offset
1194
1195 Sat Feb 21 1998
1196
1197         * include/Makefile.in: add parse_time.h
1198
1199         * lib/krb/solaris_compat.c: new file with alternative entry points
1200         compatible with solaris's libkrb.
1201
1202 Thu Feb 19 1998
1203
1204         * lib/krb/time.c: Various time related functions.
1205
1206 Tue Feb 17 1998
1207
1208         * lib/krb/send_to_kdc.c: Add some more connection debug traces.
1209
1210 Sun Feb 15 1998
1211
1212         * lib/krb/get_host.c (init_hosts): call k_getportbyname with proto
1213         == "udp" instead of NULL.  NULL would be the right thing, but some
1214         libraries are not happy with that.
1215
1216         * appl/bsd/rcp.c: renamed `{local,foreign}' to \1_addr to avoid
1217         conflicts with system header files on mklinux.
1218
1219
1220         * lib/kadm/Makefile.in: Fix rules for kadm_err.[ch].
1221
1222         * lib/krb/krb_err.et: Fix for changes to compile_et.
1223
1224         * lib/com_err/{error.c,com_err.h,com_right.h}: Rename error.h to
1225         com_right.h.
1226
1227         * lib/com_err/{compile_et.c,compile_et.h,lex.l,parse.y}: Switch
1228         back to a yacc-based compile_et.
1229
1230 Tue Feb 10 1998
1231
1232         * appl/kx/kxd.c (doit): fix stupid mistake when marshalling
1233
1234         * lib/krb/Makefile.in: add strcpy_truncate
1235
1236 Sun Feb 8 1998
1237
1238         * lib/krb/netwrite.c (krb_net_write): restart if errno == EINTR
1239
1240         * lib/krb/netread.c (krb_net_read): restart if errno == EINTR
1241
1242         * appl/kx/rxterm.in: redirect std{in,out,err} of xterm to make
1243         sure rshd does not hang.
1244
1245 Sat Feb 7 1998
1246
1247         * lib/acl/acl_files.c (acl_canonicalize_principal): use
1248         krb_parse_name
1249
1250
1251         * lib/krb/rw.c: add a parameter containting maximum size.  Change
1252         all callers.
1253
1254         * lots-of-files: replace {REALM_SZ, *_SZ, MaxPathLen,
1255         MaxHostNameLen} + 1 with \1
1256
1257         * appl/bsd/rlogind.c (cleanup): logout -> rlogind_logout
1258
1259         * lib/acl/acl_files.c (acl_canonicalize_principal): use
1260         strcpy_truncate
1261
1262         * include/Makefile.in: fnmatch.h
1263
1264         * appl/ftp/ftpd/ftpd.c: <fnmatch.h>
1265
1266         * lib/kadm/kadm_stream.c (stv_string): don't use strncpy
1267
1268         * lib/auth/sia/sia.c (siad_ses_suauthent): do ugly magic to make
1269         sure `entity->name' is long enough.
1270
1271         * appl/ftp/ftpd/ftpcmd.y: HASSETPROCTITLE -> HAVE_SETPROCTITLE
1272
1273         * appl/bsd/rlogind.c (logout): renamed to rlogind_logout to avoid
1274         conflict with logout() in libutil.
1275         (doit): use forkpty_truncate it there's one
1276
1277         * appl/afsutil/kstring2key.c (krb5_string_to_key): don't use
1278         strcat
1279
1280         * configure.in: add lots of functions and headers that were used
1281         in the code but not tested for.
1282
1283         * lib/krb/send_to_kdc.c (url_parse): re-structured
1284
1285         * kadmin/kadm_locl.h: add prototype for random_password and remove
1286         __P
1287
1288         * appl/bsd/forkpty.c (forkpty_truncate): new function.
1289         use strcpy_truncate instead of strcpy
1290
1291         * appl/bsd/bsd_locl.h: include <libutil.h>.
1292         prototype for forkpty_truncate()
1293
1294         * configure.in: test for <libutil.h>
1295
1296 Fri Feb 6 1998
1297
1298         * kadmin/random_password.c: Random password generation.
1299
1300         * kadmin/kadmin.c: Add some functionality to add_new_key, to make
1301         it more useful with batch creation.
1302
1303 Wed Feb 4 1998
1304
1305         * appl/bsd/login.c (find_in_etc_securetty): new function
1306         (rootterm): call `find_in_etc_securetty'
1307
1308         * appl/bsd/pathnames.h (_PATH_ETC_SECURETTY): add
1309
1310 Tue Feb 3 1998
1311
1312         * kadmin/kadmin.c: Fix `-t' flag. Centralize the calling of
1313         alarm() to a modified sl_loop().
1314
1315         * kadmin/kadmin.c: Add support for `batch' processing, taking a
1316         command from the command line. Remove the automatic destruction of
1317         tickets, instead add a timeout (initially set to 1 minute), after
1318         which any tickets will be destroyed. Option `-m' now sets this
1319         timeout to 0 (disabling timeout). Options `-p' takes a full
1320         principal, and `-u' takes a `username' that is used as the name of
1321         the admin principal to use.
1322
1323 Sat Jan 31 1998
1324
1325         * lib/auth/sia/sia.c: Chown ticket file when doing reauth.
1326
1327 Thu Jan 29 1998
1328
1329         * lib/auth/sia/sia.c: Add support for reauthentication.
1330
1331 Mon Jan 26 1998
1332
1333         * appl/kauth/kauth.c (main): Add debug switch -d to kauth to aid
1334         in finding miss-configurations.
1335
1336 Mon Jan 19 1998
1337
1338         * lib/krb/name2name.c: If inet_addr thinks host's a valid
1339         ip-address, assume it is, and don't call gethostbyname().  This
1340         should fix things like `rsh 1.2.3.4'.
1341
1342 Sat Jan 17 1998
1343
1344         * lib/krb/get_host.c: Check for http-srv records.
1345
1346         * lib/krb/get_host.c: Don't use getprotobyname. Check for `http'
1347         as well as `udp' and `tcp'.
1348
1349         * lib/auth/sia/sia.c: Add password changing support.
1350
1351         * kadmin/new_pwd.c: Use kadm_check_pw.
1352
1353         * lib/kadm/check_password.c: Password quality check, moved from
1354         kpasswd.c.
1355
1356 Fri Jan 16 1998
1357
1358         * kadmin/ksrvutil_get.c: Add `-u' flag to put each key in a
1359         separate file.
1360
1361 Mon Jan 12 1998
1362
1363         * kadmin/admin_server.c: Fix broken realloc of pidarray.
1364
1365 Fri Jan 9 1998
1366
1367         * rename logwtmp -> ftpd_logwtmp not to conflict with libc.
1368
1369 Sun Dec 21 1997
1370
1371         * lib/krb/verify_user.c (krb_verify_user): new argument `srvtab'.
1372         Changed all callers.
1373
1374 Sat Dec 13 1997
1375
1376         * lib/kdb/krb_dbm.c: check return value from dbm_store
1377
1378 Thu Dec 11 1997
1379
1380         * lib/krb/k_flock.c (k_flock): Re-included an implementaion of
1381         k_flock. Changed all library and core application source to use
1382         k_flock.
1383
1384 Tue Dec 9 1997
1385
1386         * appl/kx/kxd.c,common.c: more error testing from Love
1387         Hörnquist-Ã…strand <e96_lho@elixir.e.kth.se>
1388         Use the correct number of X for mkstemp.
1389
1390
1391         * Release 0.9.8
1392
1393         * Add `--disable-mmap' configure option, do disable all use of
1394         mmap.
1395
1396         * Rename all k_afsklog to krb_afslog.
1397
1398 Mon Dec 8 1997
1399
1400         * kuser/klist.c: Add a header for tokens.
1401
1402 Fri Dec 5 1997
1403
1404         * lib/krb/krb.h: Moved prototypes to krb-protos.h, cruft to
1405         krb-archaeology.h.
1406
1407 Thu Dec 4 1997
1408
1409         * appl/kauth/kauth.c: Use krb_get_pw_in_tkt2.
1410
1411         * lib/krb/get_in_tkt.c: krb_get_pw_in_tkt2 that returns key.
1412
1413 Sun Nov 30 1997
1414
1415         * configure.in: check for tgetent in libcurses
1416
1417 Mon Nov 24 1997
1418
1419         * appl/krbmanager: incorporate patches from <d96-dst@nada.kth.se>
1420         for making sure there's only one instance of krbmanager.
1421
1422 Fri Nov 21 1997
1423
1424         * admin/ext_srvtab.c: use atexit() to stamp out secrets.
1425
1426 Thu Nov 20 1997
1427
1428         * server/kerberos.c: Log funny HTTP requests.
1429
1430         * server/kerberos.c: Add comma to list of port separators for
1431         `-P'.
1432
1433
1434         * appl/voodoo/TelnetEngine.cpp (TelnetEngine::Connect): better
1435         error message (from <d96-dst@nada.kth.se>)
1436
1437 Wed Nov 12 1997
1438
1439         * kuser/klist.c (display_tokens): patch from <e96_lho@e.kth.se>
1440
1441 Sun Nov 9 1997
1442
1443         * Release 0.9.7
1444
1445
1446         * configure.in: test for ssize_t
1447
1448         * appl/bsd/rlogind.c: Fill in ut_type, and ut_exit if they exist.
1449
1450         * appl/kx/common.c (create_and_write_cookie): Create temp file
1451         with mkstemp.
1452
1453
1454         * appl/ftp/ftpd/ftpd.c: conditionalize otp
1455
1456         * appl/bsd/login.c: conditionalize otp
1457
1458         * configure.in: add --disable-otp.  update Makefile.in's
1459
1460         * configure.in: define CANONICAL_HOST
1461         
1462         * configure.in, aclocal.m4: remove <bind/bitypes.h>.  contains
1463         bogus information on Crays.
1464
1465         * include/bits.c: stolen from Heimdal
1466
1467         * include/Makefile.in: replace ktypes.c with bits.c
1468
1469         * lib/krb/getaddrs.c (k_get_all_addrs): cray fix
1470
1471         * configure.in: updated header files
1472
1473
1474         * slave/kpropd.c: Make sure it's the kprop service that tries to
1475         send data.
1476
1477 Fri Nov 7 1997
1478
1479         * configure.in: Added option --with-afsws=/usr/afsws.
1480
1481         * lib/Makefile.in: Build lib/rxkad if we have include file rx/rx.h
1482
1483 Thu Nov 6 1997
1484
1485         * appl/ftp/ftp/ftp.c (sendrequest, recvrequest): do correct tests
1486         for `-'
1487
1488         * appl/ftp/ftp/cmds.c (getit): removed stupid goto
1489
1490
1491         * appl/kauth/kauth.c: Use krb_get_pw_in_tkt(), now that it is
1492         fixed.
1493
1494         * appl/ftp/ftp/cmds.c: Don't retrieve files that start with `..'
1495         or `/' without asking.  Reverse test in confirm() to check for `y'
1496         rather than not `n'.  Use mkstemp.
1497
1498         * appl/ftp/ftp/ftp.c: Add extra parameter to recvrequest,
1499         specifying if local filenames should be parsed as "-" and "|".
1500
1501 Mon Nov 3 1997
1502
1503         * configure.in: updated broken list.  add fclose for proto check.
1504
1505         * kadmin/kadmin.c: updated functions to new style of sl
1506
1507         * appl/bsd/rcp.c, rlogin.c, rsh.c: setuid before doing kerberos
1508         authentication.  if that fails, exec ourselves with -K
1509
1510         * appl/bsd/pathnames.h: add _PATH_RCP
1511
1512         * configure.in: test for readv, writev
1513
1514 Fri Oct 24 1997
1515
1516         * lib/krb/tkt_string.c (krb_set_tkt_string): const-ized
1517
1518         * appl/ftp/ftp{,d}: new commands: kdestroy, krbtkfile and afslog.
1519
1520         * appl/afsutil/aklog.c (expand_cell_name): fix parsing of
1521         CellServDB
1522
1523 Sat Oct 11 1997
1524
1525         * appl/telnet/telnetd/sys_term.c (start_login): moved `user' so it
1526         works even if !defined(HAVE_UTMPX_H)
1527
1528 Fri Oct 10 1997
1529
1530         * lib/krb/send_to_kdc.c: Change send_recv* to use a lookup table
1531         indexed by protocol.
1532         
1533         Implement http proxy use, enabled via `krb4_proxy' environment
1534         variable.
1535
1536 Thu Oct 9 1997
1537
1538         * lib/krb/getrealm.c: Don't lookup top-level domains. Try files
1539         before doing DNS.
1540
1541 Thu Oct 2 1997
1542
1543         * appl/krbmanager: Turned into a ticket management program.
1544
1545         * lib/krb/{dllmain,ticket_memory}.c: Add some KrbManager
1546         interaction.
1547
1548 Sat Sep 27 1997
1549
1550         * appl/voodoo: Major fixes of terminal emulation, and other
1551         things.
1552
1553 Fri Sep 26 1997
1554
1555         * server/kerberos.c: Cleanup socket-opening code. Add HTTP
1556         support.
1557
1558         * lib/krb/send_to_kdc.c: Add Kerberos over HTTP.
1559
1560         * lib/krb/get_host.c: Parse URL-style host-specifications.
1561
1562
1563         * include/win32: add `version.h' and `ktypes.h'
1564
1565         * lib/kclient/KClient.def: rename kclnt32 to make Eudora
1566         happy. Add SendTicketForService
1567
1568         * lib/kclient/KClient.c: implement SendTicketForService.  Used by
1569         Eudora.
1570
1571         * appl/voodoo/voodoo.mak: kclient renamed as kclnt32
1572
1573 Thu Sep 25 1997
1574
1575         * Moved various base64 implementations to roken.
1576
1577 Thu Sep 18 1997
1578
1579         * appl/telnet/telnetd/telnetd.c: Move the call to startslave()
1580         into the telnet() loop. This way we'll maximise the chance that
1581         the transmission is encrypted before starting login. This will
1582         hopefully remove the irritating warning you would get with some
1583         macintosh telnet clients.
1584
1585 Wed Sep 17 1997
1586
1587         * appl/telnet/telnetd/sys_term.c: Fix for duplicate `-- user'.
1588
1589 Tue Sep 9 1997
1590
1591         * server/kerberos.c: More detailed logging
1592
1593 Fri Sep 5 1997
1594
1595         * lib/kafs/afssysdefs.h: HP-UX 10.20 seems to use 48
1596
1597 Thu Sep 4 1997
1598
1599         * lib/des/Makefile.in: quote the test for $(CC) correctly
1600
1601 Wed Sep 3 1997
1602
1603         * include/ktypes.c: Move __BIT_TYPES_DEFINED__ to after including
1604         other stuff.
1605
1606
1607         * lib/rxkad/rxk_locl.c (rxkad_calc_header_iv): Simplify header IV
1608         calculation.
1609
1610         * lib/rxkad/osi_alloc.c (osi_Alloc): Memory allocation routines
1611         for user space. There is no longer any need for conditional
1612         compilation of user/kernel-space versions of librxkad.a.
1613
1614         * lib/rxkad/rxk_clnt.c (rxkad_NewClientSecurityObject): Use
1615         Transarc FC-crypto to generate random numbers. We no longer need
1616         to link a DES library into the kernel.
1617
1618 Tue Sep 2 1997
1619
1620         * appl/ftp/ftpd/ftpd.c (pass): chown the ticket file is logging in
1621         with clear-text passwords and using kerberos
1622
1623         * lib/krb/krb_log.h: new file
1624
1625         * lib/krb/krb.h: moved all logging functions to krb_log.h.
1626         Include krb_log.h in appropriate places.  From
1627         <shadow@dementia.org>
1628
1629 Mon Sep 1 1997
1630
1631         * appl/kx/kx.c: more intelligent check for passive mode new option
1632         `-P' to force passive mode
1633
1634 Sat Aug 23 1997
1635
1636         * lib/krb/krb_get_in_tkt.c: rename krb_as_req -> krb_mk_as_req
1637
1638 Wed Aug 20 1997
1639
1640         * lib/rxkad/rxkad.h, rxk_serv.c (server_CheckResponse): Increase
1641         limit of ticket lengths to 1024 at server end.
1642
1643         * lib/rxkad/rxk_clnt.c (rxkad_NewClientSecurityObject): Support
1644         for almost arbitrary ticket lengths.
1645
1646 Tue Aug 19 1997
1647
1648         * kadmin/ksrvutil_get.c: Make sure we're talking to the admin
1649         server when getting ticket.
1650
1651         * lib/krb/send_to_kdc.c: Add flag to always use admin server.
1652
1653 Sun Aug 17 1997
1654
1655         * appl/kx/rxtelnet.in: reverse the looking for xterm loops Use
1656         `-n' and not `-name' to xterm
1657         
1658         * server/kerberos.c: implement `-i' for only listening on one
1659         address
1660
1661         * lib/kadm/kadm_cli_wrap.c: Implement kadm_change_pw2 to be
1662         compatible with CNS.  From <shadow@dementia.org>
1663
1664         * appl/ftp/ftpd/ftpd.c: removed bogus reset of `debug'
1665
1666         * appl/ftp/ftpd/extern.h: define NBBY if needed
1667
1668         * configure.in: os2 fixes: -Zcrtdll and check for chroot
1669
1670 Wed Aug 13 1997
1671
1672         * lib/krb/get_in_tkt.c: Use new get_in_tkt functions, and
1673         implement kerberos 5 salts.
1674
1675         * lib/krb/krb_get_in_tkt.c: Split krb_get_in_tkt in two functions
1676         so it's possible to try several key-procs with just one request to
1677         the KDC.
1678
1679 Wed Jul 23 1997
1680
1681         * lib/rxkad/rxk_serv.c (decode_krb4_ticket): New functions
1682         decode_xxx_ticket so that it is possible to also decode kerberos
1683         version 5 tickets.
1684
1685 Sat Jul 19 1997
1686
1687         * doc/Makefile.in: `test -f' is more portable than `test -e'
1688
1689 Tue Jul 15 1997
1690
1691         * lib/kafs/kafs.h, lib/krb/krb.h: swap order of <sys/cdefs.h> and
1692         <ktypes.h>.  Another fix form <shadow@dementia.org>
1693
1694 Fri Jul 11 1997
1695
1696         * lib/krb/krb.h: non-ANSI fix from <shadow@dementia.org>
1697
1698 Fri Jun 27 1997
1699
1700         * man/otp.1: `-o' option
1701
1702         * appl/otp/otp.c: List lock-time with `-l'.  New option `-o' to
1703         open an locked entry.
1704
1705         * lib/otp/otp_db.c (otp_get_internal): Save lock_time in returned
1706         struct.
1707
1708         * lib/otp/otp.h: New field `lock_time' in OtpContext
1709
1710 Thu Jun 26 1997
1711
1712         * man/otp.1, man/otpprint.1: Update changed default to `md5'
1713
1714         * appl/bsd/rsh.c: Don't use a hard-coded constant in `select'
1715
1716         * configure.in, include/ktypes.c: Handle the case of there being
1717         an old version of our `sys/bitypes.h'.
1718
1719 Sun Jun 22 1997
1720
1721         * lib/des: Merge in changes from libdes 4.01. The optimizations
1722         written in assembler are not used since they in general wont't
1723         work with shared libraries.
1724
1725 Fri Jun 20 1997
1726
1727         * lib/krb/netread.c, netwrite.c: Handle windows discrimation of
1728         sockets.
1729
1730 Sun Jun 15 1997
1731
1732         * appl/kpopper/pop_init.c: Use `STDIN_FILENO' and `STDOUT_FILENO'
1733         instead of `sp'.  OSF's libc isn't quite prepared to have two
1734         different FILEs refer to the same file descriptor.
1735
1736 Thu Jun 12 1997
1737
1738         * doc/dir: Add dir template file.
1739
1740
1741         * appl/kauth/kauth.c (main): AFS style positional argument for -n
1742         option.
1743
1744         * appl/xnlock/xnlock.c (verify): New resource destroyTickets and
1745         corresponding option -nodestroytickets. First try local
1746         authentication and if it fails try kerberos.
1747         
1748 Sun Jun 8 1997
1749
1750         * appl/ftp/ftpd/popen.c (ftpd_popen): Correct initialization of
1751         `foo' before call to `strtok_r'
1752
1753 Wed Jun 4 1997
1754
1755         * doc/*.texi: Use @url.
1756
1757         * doc/setup.texi: Added @ifinfo around @dircategory
1758
1759 Tue Jun 3 1997
1760
1761         * Release 0.9.6
1762
1763         * appl/kx/rxtelnet.in, appl/kx/rxterm.in: new argument '-w
1764         term_emulator' for specifiying which terminal emulator to use.
1765         Based on a patch from <arve@nada.kth.se>.
1766
1767 Mon Jun 2 1997
1768
1769         * appl/xnlock/Makefile.in, appl/kx/Makefile.in,
1770         lib/auth/Makefile.in: fix the Makefile to do the for loops the
1771         automake way.
1772
1773 Sun Jun 1 1997
1774
1775         * appl/xnlock/Makefile.in, appl/kx/Makefile.in: do install
1776         correctly even if there are no programs to install
1777
1778         * configure.in: Check for `h_nerr'.
1779
1780         * lib/auth/pam/pam.c: Include <security/pam_appl.h> to make it
1781         compile on Solaris 2.6
1782
1783         lib/sl/sl.c, lib/krb/realm_parse.c, appl/ftp/ftpd/popen.c,
1784         appl/ftp/ftpd/ftpd.c, appl/bsd/login_fbtab.c,
1785         appl/bsd/login_access.c: Initialize the `lasts' to NULL before
1786         calling strtok_r the first time.  With our strtok_r it's not
1787         necessary, but the man-page on SGIs says it should be done.
1788
1789 Fri May 30 1997
1790
1791         * lib/krb/mk_req.c (krb_mk_req, get_ad_tkt): Support for
1792         multi-realm ticket files by using the best matching TGT to define
1793         the realm of the ticket holder.
1794
1795
1796         * appl/bsd/utmpx_login.c (utmpx_update): Set `ut_id' if we're
1797         using utmpx
1798
1799         * appl/telnet/telnetd/sys_term.c (start_login): Set `ut_id' if
1800         we're using utmpx
1801
1802 Wed May 28 1997
1803
1804         * lib/roken/daemon.c: New file.
1805
1806         * include/protos.H: <sys/types.h> needed on solaris 2.4
1807
1808 Mon May 26 1997
1809
1810         * appl/bsd/su.c (kerberos): If kerberos password is zero length
1811         immediately try next scheme.
1812
1813
1814         * lib/kafs/afskrb.c (k_afsklog_uid): Token lifetime should be even
1815         if we don't know the proper ViceId.
1816
1817
1818         * Release 0.9.5
1819
1820         * man/Makefile.in: Install preformatted manual pages with correct
1821         suffix on *BSD.
1822
1823 Sun May 25 1997
1824
1825         * appl/kpopper/popper.h: Remove XTND, and XTND XMIT. Rename XTND
1826         XOVER to XOVER.
1827
1828
1829         * appl/telnet/telnetd/sys_term.c: Only include <utmp.h> and
1830         <utmpx.h> once
1831
1832         * fix-export: Also create cat manpages.
1833
1834         * appl/ftp/ftpd/logwtmp.c: Check for `_PATH_WTMP'
1835
1836         * appl/telnet/telnetd/sys_term.c: Ditto.
1837         Remove stupid macros.
1838
1839         * appl/ftp/ftp/cmds.c (setpeer): Check for `__unix'.  This is
1840         (apparently) a standard with many representations.
1841
1842         * appl/ftp/ftpd/ftpcmd.y (SYST): Ditto.
1843
1844         * appl/ftp/ftpd/ftpd.c (retrieve): file must exist to apply a
1845         command to it.
1846
1847         * appl/ftp/ftpd/ftpd.c (retrieve): Generalise list of commands and
1848         basename argument.
1849
1850         * appl/ftp/ftpd/popen.c (ftpd_popen): Try standard binary if the
1851         one in ~ftp fails.
1852
1853         * appl/telnet/telnetd/sys_term.c: Use `_getpty' if there's one
1854
1855         * appl/bsd/forkpty.c: Use `_getpty' if there's one
1856
1857         * configure.in: check for `_getpty'
1858
1859         * acconfig.h: correct test for IRIX
1860
1861         * lib/roken/snprintf.c: code for checking the correct functioning
1862         of *nprintf is now #ifdef PARANOIA
1863
1864         * appl/bsd/rlogind.c: fix logging in wtmp and parsing of winsize
1865
1866         * appl/bsd/rlogin.c: New option `-p'.
1867
1868         * lib/des/fcrypt.c: removed `inline' from `des_set_key'
1869
1870 Thu May 22 1997
1871
1872         * lib/des/md5.c (MD5Final): Made signature compliant with FreeBSD.
1873         
1874         * lib/des/md5.h: Remove digest from MD5_CTX, it is now an argument
1875         to MD5Final instead.
1876
1877         * lib/des/fcrypt.c: Also support MD5 style crypt(2).
1878
1879 Tue May 20 1997
1880
1881         * appl/telnet/telnetd/sys_term.c: utmp stuff now seems to be
1882         compatible with login
1883
1884         * appl/ftp/ftpd/logwtmp.c: Add support for logging to wtmpx
1885
1886
1887         * (*/)*/Makefile.in:s (install): Avoid redundant multiple
1888         recursion in install targets.
1889
1890         * Made things compile with socks5-v1.0r1.
1891
1892
1893         * appl/telnet/telnetd/sys_term.c: changed utmp-stuff not to use
1894         ut_id at all
1895
1896         * appl/bsd/utmpx_login.c: handle case where there's no wtmpx (such
1897         as HP-UX 10)
1898
1899         * appl/bsd/rlogind.c: Added support for utmpx
1900
1901 Sun May 18 1997
1902
1903         * lib/roken: removed herror, strchr, and strrchr
1904
1905         * lib/krb/dest_tkt.c(dest_tkt): Only use `lstat' iff HAVE_LSTAT
1906
1907         * lib/krb: snprintf, strdup, strtok_r, and strcasecmp always live
1908         in lib/roken and get linked here when needed.
1909
1910         * lib/roken: removed strchr, strrchr.
1911
1912         * appl/telnet/telnet/telnet.c: Always use our own `setupterm' for
1913         compatibility reasons.
1914
1915         * appl/telnet/telnetd/telnetd.c: Removed <curses.h> and <term.h>.
1916         They doesn't seem to be used and breaks on fujitsu.
1917
1918         * appl/kx/kx.c: try to give a better error message (than a core
1919         dump :-) when talking to an old kxd.
1920
1921         * appl/kx/kxd.c, appl/kip/kipd.c, appl/kauth/kauthd.c: corrected
1922         fencepost error with KRB_SENDAUTH_VLEN.
1923
1924         * appl/ftp/common/buffer.c: new file.
1925
1926         * configure.in: cray hides their bitypes in <bind/bitypes.h>.
1927         Also check for this file.
1928
1929         * appl/telnet/telnet/telnet_locl.h: moved termios.h before
1930         curses.h.  This was needed to compile on cray, but will probably
1931         break on some other host.
1932
1933 Thu May 15 1997
1934
1935         * server/kerberos.c: Implement changes to the tcp protocol, while
1936         being compatible with the old protocol.
1937
1938         * lib/krb/send_to_kdc.c: The old method to signal end of
1939         transmission by closing the sending side of the socket does not
1940         work well through some firewalls. This is now changed so that the
1941         client instead sends the length of the request as a four byte
1942         integer (in network byte order) before sending the data.
1943
1944 Wed May 14 1997
1945
1946         * appl/telnet/telnetd/sys_term.c: HAVE_UTMPX -> HAVE_UTMPX_H.  Fix
1947         for OSF1.
1948
1949         * appl/bsd/utmp_login.c: UTMPX_DOES_UTMP_LOGGING -> HAVE_UTMPX_H
1950
1951         * appl/bsd/sysv_environ.c: Use k_concat rather than snprintf.
1952
1953 Tue May 13 1997
1954
1955         * kuser/klist.c: updated usage string
1956
1957         * lib/otp/otp_print.c: make word table and reverse word table
1958         constant
1959
1960 Sun May 11 1997
1961
1962         * */*: Added some __attribute__ ((format (printf))) and fixes
1963         where needed.
1964
1965         * appl/ftp/common/sockbuf.c: start probing at 4Mb
1966
1967         * appl/ftp/ftpd/ftpd.c: use MAP_FAILED
1968
1969         * appl/ftp/ftp/ftp.c: Use MAP_FAILED.
1970         (alloc_buffer): new function for allocating a buffer of size
1971         max(BUFSIZ, st.st_blksize) (Based on a patch from
1972         <haba@pdc.kth.se>)
1973
1974         * appl/ftpd/ftpdcmd.y: hack for reget.
1975
1976         * appl/kx/kxd.c: Give a error message to old-version kx.
1977
1978         * replaced vsprintf with vsnprintf.
1979         
1980         * lib/roken/vsyslog.c: not used. removed.
1981         
1982         * Changed <sys/bitypes.h> -> <ktypes.h>
1983
1984         * include/Makefile.in: Added ktypes.h
1985
1986         * include/sys/Makefile.in: removed bitypes.h
1987
1988 Wed May 7 1997
1989
1990         * appl/ftp/ftp/ftp.c: Open files in binary mode.
1991
1992         * appl/ftp/ftpd/ftpd.c (checkaccess): Changed to make absent file
1993         mean `allow'. Added shell matching to names (if fnmatch is
1994         available).
1995
1996
1997         * appl/ftp/ftpd/kauth.c (kauth): Use `DEFAULT_TKT_LIFE'
1998
1999         * appl/ftp/ftpd/ftpcmd.y, appl/ftp/ftpd/ftpd.c: always cast to
2000         (long) before printing out an `off_t'
2001
2002         * lib/kdb/print_princ.c (krb_print_principal),
2003           lib/kdb/krb_lib.c (kerb_put_principal),
2004           admin/kdb_edit.c (change_principal),
2005           admin/kdb_util.c (print_time) : gmtime should never return
2006         tm_year > 1900
2007
2008         * appl/ftp/ftpd/ftpcmd.y: Year 2000 fix
2009
2010         * appl/telnet/telnetd/telnetd.c: removed code that used `getent'
2011
2012         * lib/roken/getent.c: removed
2013
2014 Mon May 5 1997
2015
2016         * appl/ftp/ftpd/ftpd.c: fix for mmap and restart_point
2017
2018         * kadmin/ksrvutil_get.c (ksrvutil_get): get correct default realm
2019
2020 Sun May 4 1997
2021
2022         * configure.in (REAL_PICFLAGS): Use `-fPIC' instead of `-fpic',
2023         otherwise it's not possible to make libotp on hpux.
2024
2025         * configure.in: try sending picflags even when linking a shared
2026         library with $CC
2027
2028         * lib/roken/getent.c: remove getstr
2029
2030         * configure.in: removed unneeded REAL_-variables working shared
2031         libraries on *bsd*
2032
2033         * appl/kip/kip.h: Added <net/if_var.h>
2034
2035         * */Makefile.in: Use @LDSHARED@
2036
2037         * configure.in: Fix shared libraries on HP/UX.
2038         check for curses.h
2039         check for `getstr' and `cgetstr' in curses
2040
2041         * appl/telnet/telnet: clean-up
2042
2043         * lib/kafs/afssys.c: ifdef-out the code that is not used to avoid
2044         referencing `syscall' on AIX.
2045
2046         * lib/krb/et_list.c: s/WEAK_PRAGMA/PRAGMA_WEAK/
2047
2048         * aclocal.m4 (AC_HAVE_PRAGMA_WEAK): redirect output
2049
2050         * lib/roken/snprintf.c: fix for the case of max_sz == 0
2051
2052         * doc/kth-krb.texi: Add @dircategory and @direntry to enable
2053         `install-info' to install this entry in `dir'.
2054
2055         * appl/telnet/telnetd/Makefile.in: Don't link with getstr
2056
2057
2058         * lib/auth/sia/krb4_matrix.conf: Fix entries for ses_release and
2059         chk_user.
2060
2061 Sat May 3 1997
2062
2063         * lib/auth/sia/sia.c: Some cleanup.
2064
2065 Fri May 2 1997
2066
2067         * configure.in: only link the programs that need it with the
2068         db/dbm library
2069
2070
2071         * lib/auth/sia/sia.c: Merge code for for normal and su
2072         authentication.
2073
2074
2075         * Replaced sprintf with snprintf and asprintf all over the place.
2076
2077         * lib/roken/snprintf.c: Added asnprintf and vasnprintf
2078
2079         * lib/roken/snprintf.c: implemented asprintf, vasprintf
2080
2081         * lib/roken/snprintf.c: new file
2082
2083 Thu May 1 1997
2084
2085         * lib/kafs/afskrb.c (k_afsklog_all_local_cells): Use `k_concat'
2086
2087 Wed Apr 30 1997
2088
2089         * lib/krb/{get_host,get_krbrlm,getrealm,realm_parse}.c: Fix some
2090         potential buffer overruns.
2091
2092         * lib/krb/k_concat.c: Safely concatenate two strings.
2093
2094 Sat Apr 26 1997
2095
2096         * appl/telnet/libtelnet/kerberos.c: removed stupid #if 0
2097
2098         * appl/bsd/rlogind.c (send_oob): different default for `last_oob'
2099         to avoid losing first OOB packet
2100
2101 Fri Apr 25 1997
2102
2103         * appl/voodoo/AuthOption.cpp: provoke the telnetd in turning on
2104         encryption
2105
2106 Wed Apr 23 1997
2107
2108         * lib/kafs/afskrb.c (realm_of_cell): don't overflow buffer with
2109         result from `gethostbyaddr'
2110
2111         * lib/krb/name2name.c (krb_name_to_name): new parameter
2112         `phost_size' to disable buffer overflowing.  Changed all callers.
2113
2114         * lib/krb/k_getsockinst.c: New parameter `inst_size' to disable
2115         buffer overflowing.  Changed all callers.
2116
2117         * appl/kpopper/Makefile.in: soriasis make stupidity
2118
2119         * appl/kx/Makefile.in: don't include encdata.c in SOURCES_COMMON,
2120         otherwise DEC make gets upset.
2121
2122 Tue Apr 22 1997
2123
2124         * lib/krb/k_getsockinst.c: Use same name as in krb_get_phost.
2125
2126
2127         * acconfig.h: hp-ux 10 also has `pututxline' that writes both to
2128         utmp and utmpx.
2129
2130 Sun Apr 20 1997
2131
2132         * include/win32/config.h: adapted to win95/NT
2133
2134         * appl/voodoo: Merged in win32-telnet from <d93-jka@nada.kth.se>
2135
2136         * lib/krb/tkt_string.c: dummy `getuid' function.
2137
2138         * lib/krb/ticket_memory.c (tf_setup): implement
2139
2140         * lib/roken/roken.mak, roken.def: new files
2141
2142         * lib/des/des.def: Removed des_random_{seed,key}
2143
2144         * lib/krb/dllmain.c: Rewrote `msg'.
2145         Better explanation when it fails to spawn `krbmanager'.
2146
2147         * lib/krb/tf_util.c: backwards `in_tkt' added.
2148
2149         * lib/krb/in_tkt.c: removed
2150
2151         * lib/kclient/KClient: Reformatted and fixed.
2152
2153 Sat Apr 19 1997
2154
2155         * appl/ftp/ftpd/ftpd.c: Incorporate /etc/ftpusers changes from
2156         NetBSD.
2157
2158         * appl/ftp/ftpd/ftpd.c: Handle oob-stuff better.
2159
2160 Fri Apr 18 1997
2161
2162         * appl/kpopper/pop_{dropinfo,send,updt}.c: Fix 'From ' line
2163         parsing bug.
2164
2165         * appl/kpopper/pop_dropinfo.c: Add support for xover.
2166
2167         * appl/kpopper/pop_xover.c: Add some kind of xover support.
2168
2169         * appl/kpopper/pop_debug.c: New tiny popper debugging program.
2170
2171 Tue Apr 15 1997
2172
2173         * lib/krb/kdc_reply.c (kdc_reply_cred): fix sanity checks.
2174
2175         * appl/bsd/rshd.c: k_afsklog so that remote command gets a token.
2176         fix usage string.
2177
2178 Sat Apr 12 1997
2179
2180         * appl/bsd/rcp.c (main): Rcp implements encrypted file transfer
2181         without using the kshell service.
2182
2183
2184         * lib/krb/mk_safe.c: Emit new checksum.
2185
2186         * lib/krb/rd_safe.c: New code to handle both new and old
2187         checksums.
2188
2189         * lib/des/qud_cksm.c: Fix compatibility with mit deslib.
2190
2191 Fri Apr 11 1997
2192
2193         * lib/sl/sl.c (sl_match): initialize `partial_cmd'
2194
2195 Sun Apr 6 1997
2196
2197         * lib/kafs/kafs.h: Ugly addition of `_P'
2198
2199         * lib/kafs/afssys.c: <sys/socket.h> contains the definition of
2200         `_IOW' on cygwin32.
2201
2202         * appl/telnet/telnet/utilities.c: <sys/socket.h> needed by
2203         cygwin32
2204
2205         * doc/Makefile.in: always run $(MAKEINFO).
2206         
2207         * lib/otp/otp_md.c (sha_finito_little_endian): byte-swap
2208         correctly.
2209
2210         * include/sys/bitypes.H: Added #ifndef for types
2211
2212         * configure.in: test for types
2213
2214         * aclocal.m4: Stolen AC_GROK_TYPES? from heimdal
2215
2216
2217         * appl/ftp/ftp/ftp.c: Fix passive mode.
2218
2219 Sat Apr 5 1997
2220
2221         * appl/kauth/ksrvtgt.in: New ksrvtgt script.
2222
2223 Fri Apr 4 1997
2224
2225         * lib/krb/kdc_reply.c: Add some range checking.
2226
2227
2228         * lib/otp/otptest.c: Updated tests from `draft-ietf-otp-01.txt'.
2229         Passes verification examples from appendix C.
2230
2231         * admin/kdb_util.c: All usage strings are now consistent (and even
2232         with the code)!
2233
2234 Thu Apr 3 1997
2235
2236         * lib/kafs/afssys.c (k_pioctl): Separate syscall functionality and
2237         kerberos convenience routines into afssys.c and afskrb.c. This to
2238         make it possible to use k_pioctl() without linking in all
2239         libraries in the world.
2240
2241 Tue Apr 1 1997
2242
2243         * appl/telnet/telnet/commands.c: Rename suspend to telnetsuspend,
2244         since Unicos has one of its own.
2245
2246 Sun Mar 30 1997
2247
2248         * appl/bsd/{rsh,rlogin}.c: Don't look at argv[0].
2249
2250
2251         * man/tenletxr.1: new file
2252
2253         * appl/kx/rxtelnet.in, appl/kx/rxterm.in, appl/kx/tenletxr.in:
2254         Support `-k'
2255
2256         * appl/kx/tenletxr.in: new script for running kx in backwards
2257         mode.
2258
2259         * appl/kx: New version of protocol.
2260
2261         * appl/kauth: Use err & c:o
2262
2263         * appl/kauth/encdata.c (read_encrypted): Give better return code
2264         for EOF
2265
2266
2267         * appl/ftp/ftp/krb4.c: Use stdout rather than stderr. Add newlines
2268         to many strings.
2269
2270         * kuser/kdestroy.c: Use set_progname, make -q equal to -f, remove
2271         bell.
2272
2273         * lib/roken/warnerr.c: New function set_progname.
2274         * aclocal.m4: Invert test of AC_NEED_DECLARATION and rename it to
2275         AC_CHECK_DECLARATION.  Add new function AC_CHECK_VAR, that looks
2276         for a variable, including a declaration.
2277
2278         * lib/roken/roken.h: Add optional declaration for __progname.
2279
2280         * lib/roken/*{err,warn}.c: Restructure err and warn functions.
2281
2282 Sat Mar 29 1997
2283
2284         * appl/telnet/telnet/sys_bsd.c: Maybe-fix for HP-UX 10: Ifdef
2285         SO_OOBINLINE, don't even select for exceptional conditions.
2286
2287         * lib/otp/otp_md.c: always downcase the seed.
2288         byte-swap the SHA result.
2289
2290 Thu Mar 27 1997
2291
2292         * appl/otp/otp.c: removed bad free of global data
2293
2294 Sun Mar 23 1997
2295
2296         * configure.in: moved version.h and config.h to include
2297
2298
2299         * acconfig.h: Fix utmp/utmpx stuff on OSF/1.
2300
2301
2302         * appl/bsd/rlogind.c (control): Rewritten to handle the case of
2303         there being no `ws_xpixel' and `ws_ypixel'
2304
2305         * appl/bsd/rlogin.c (sendwindow): Rewritten to handle the case of
2306         there being no `ws_xpixel' and `ws_ypixel'
2307
2308         * aclocal.m4 (AC_KRB_STRUCT_WINSIZE): Also test for `ws_xpixel'
2309         and `ws_ypixel'
2310
2311         * lib/otp/otp.h: Change default global timeout
2312
2313         * lib/krb/tf_util.c (tf_setup): Also take `pname' and `pinst'
2314
2315         * appl/telnet/telnetd/sys_term.c, appl/bsd/utmpx_login.c: Do
2316         gettimeofday and then copy the data for the sake of those systems
2317         like SGI that can have different timevals in file and memory.
2318
2319         * configure.in: Allow `--with-readline'
2320
2321         * lib/editline/edit_compat.c (readline): strdup data before
2322         returning it.
2323
2324
2325         * appl/telnet/telnetd/state.c: Change size of subbuffer to 2k.
2326
2327 Thu Mar 20 1997
2328
2329         * lib/krb/decomp_ticket.c: Add some range checking.
2330
2331         * appl/ftp/ftpd/krb4.c: Check return value from krb_net_write.
2332
2333         * appl/ftp/ftp/ftp.c: Fix hash mark printing.
2334
2335 Wed Mar 19 1997
2336
2337         * appl/kauth/kauthd.c: more logging
2338
2339         * man/kx.1, man/kxd.8: Updated.
2340
2341         * appl/kx/kx.c, kxd.c: Hacked so that all TCP-connections are kx
2342         -> kxd
2343
2344
2345         * lib/editline/edit_compat.c: BSD libedit comatibility.
2346
2347 Wed Mar 12 1997
2348
2349         * appl/ftp/ftpd/ftpd.c: Set `byte_count' even when using mmap.
2350         Log foreign IP address together with hostname.
2351
2352 Mon Mar 10 1997
2353
2354         * server/kerberos.c: Fix log file muddle.
2355
2356 Sun Mar 9 1997
2357
2358         * appl/bsd/kcmd.c (kcmd): check malloc for failure.
2359
2360 Tue Feb 25 1997
2361
2362         * man/ftpd.8: Documented the `-g' option.
2363
2364         * appl/ftp/ftpd/ftpd.c: New option `-g umask' for specifying the
2365         umask for anonymous users.
2366
2367         * appl/ftp/ftpd/ftpd.c: conditionalize SIGURG
2368
2369         * appl/otp/otp.c: More fixes from Fabien COELHO
2370         <coelho@cri.ensmp.fr>.  Check for current OTP before allowing the
2371         update.
2372
2373 Wed Feb 19 1997
2374
2375         * appl/otp/otp.c: updated help string
2376
2377         * appl/bsd/Makefile.in: Fixed installation of suid programs.
2378
2379         * appl/telnet/libtelnet/kerberos.c: fix some stuff to get
2380         forwarding code to compile
2381
2382         * lib/otp/otp_db.c: fix for signed char overflow.
2383
2384
2385         * lib/krb/resolve.c: Patch from Jörgen Wahlsten
2386         <wahlsten@pathfinder.com>: Zero out resource record, and send
2387         correct length to dn_expand.
2388
2389 Mon Feb 17 1997
2390
2391         * lib/roken/roken.h: Check for `_setsid'
2392
2393         * appl/ftp/ftp/ftp.c: s/__CYGWIN32__/HAVE_H_ERRNO/
2394
2395         * include/Makefile.in: Generete krb_err.h and kadm_err.h before
2396         linking/copying them
2397
2398         * aclocal.m4: AC_FIND_FUNC: Add the library at the beginning of
2399         the list.
2400
2401         * configure.in: Use AC_PROG_RANLIB
2402         Always use EMXOMF under OS/2
2403         Check for sys/termio.h and _setsid
2404
2405
2406         * configure.in: A preliminary fix for editline.
2407
2408         * appl/telnet/libtelnet/kerberos.c: Include ticket forwarding
2409         stuff.
2410
2411         * lib/krb/krb_get_in_tkt.c: Use tf_setup.
2412
2413         * lib/krb/krb_get_in_tkt.c: New function tf_setup.
2414
2415 Sat Feb 15 1997
2416
2417         * man/otp.1: updated
2418
2419         * appl/otp/otp.c: New options `-d' and `-r'.  From Fabien COELHO
2420         <coelho@cri.ensmp.fr>
2421
2422         * lib/otp/otp.h: Changed default from md4 to md5
2423         * lib/otp/otp_db.c (otp_get, otp_simple_get): New functions.
2424
2425 Thu Feb 13 1997
2426
2427         * appl/kx/rxtelnet.in: allow specification of port number
2428
2429         * appl/otp/otp.c: Add `-u' option
2430
2431 Sun Feb 9 1997
2432
2433         * appl/ftp/common/glob.c: Rename FOO -> CHAR_FOO to avoid
2434         collision with symbol in sys/ioctl.h
2435
2436 Fri Feb 7 1997
2437
2438         * man/kpropd.8: updated
2439
2440         * appl/bsd/rcmd_util.c: warning needs to know what program is
2441         used.
2442
2443         * slave/kpropd.c: New explicit flag `-i' for interactive.  Don't
2444         use AI to figure out if we have been started by inetd or not.
2445
2446 Thu Feb 6 1997
2447
2448         * appl/kx/rxtelnet.in, appl/kx/rxterm.in: Patch for sending -l to
2449         kx.  From <map@stacken.kth.se>
2450
2451         * kuser/klist.c: corrected alignment of `expired'
2452
2453         * appl/telnet/telnet/commands.c: replaced lots of \n by \r\n
2454
2455 Mon Feb 3 1997
2456
2457         * configure.in (socket, gethostbyname, getsockopt, setsockopt):
2458         Better tests.
2459         (HAVE_H_ERRNO): New test
2460
2461         * lib/roken/herror.c (herror): Check HAVE_H_ERRNO
2462         lots of other files as well.
2463
2464 Sat Feb 1 1997
2465
2466         * appl/bsd/rcp.c: Work around the non-working getpw* in cygwin32
2467
2468         * lib/krb/logging.c: Init function for `std_log´
2469
2470         * appl/telnet/telnet/utilities.c: Remove `upcase´
2471         Check HAVE_SETSOCKOPT
2472
2473         * appl/telnet/telnet/telnet.c: Use `strupr´ instead of `upcase´
2474
2475         * appl/telnet/telnet/commands.c, appl/movemail/pop.c,
2476         appl/kauth/rkinit.c, appl/ftp/ftp/ftp.c,
2477         appl/sample/sample_client.c: Ifdef around for the non-existence of
2478         `h_errno' in cygwin32.
2479
2480         * lib/des/read_pwd.c: work-around for cygwin32
2481
2482         * appl/telnet/telnet/sys_bsd.c: work-around for cygwin32
2483
2484 Fri Jan 31 1997
2485
2486         * lib/krb/tf_util.c: gnu-win32 needs to open files with O_BINARY.
2487
2488 Sun Jan 26 1997
2489
2490         * configure.in: removed duplicate of initgroups and lstat
2491         Use AC_KRB_STRUCT_WINSIZE
2492
2493         * aclocal.m4 (AC_KRB_STRUCT_WINSIZE): New test
2494
2495         * lib/krb/getaddrs.c: Check for SIOCGIFFLAGS and SIOCGIFADDR
2496
2497         * appl/bsd/rlogin.c: conditional on SIGWINCH
2498
2499         * appl/bsd/rcmd_util.c et al: conditional getsockopt
2500
2501         * configure.in (cygwin32): New target
2502         (getsockopt, getsockopt): Test for
2503         (herror, hstrerror): Better tests
2504
2505         * aclocal.m4 (AC_FIND_IF_NOT_BROKEN): Pass arguments to
2506         AC_FIND_FUNC
2507
2508 Thu Jan 23 1997
2509
2510         * configure.in: Add EXECSUFFIX
2511
2512         * appl/kx/rxterm.in: rsh -n
2513
2514         * lib/krb/unparse_name.c (krb_unparse_name_long_r): new function
2515
2516
2517         * lib/auth/sia/sia.c: Fix a bug with ticket filename. Add afs
2518         support.
2519
2520         * lib/krb/get_host.c: Use KRB_SERVICE.
2521
2522 Wed Jan 22 1997
2523
2524         * lib/auth/sia/Makefile.in: Add linker magic fix for broken,
2525         conflicting kerberos code in xdm.
2526
2527 Tue Jan 21 1997
2528
2529         * appl/xnlock/xnlock.c (verify): Change the "LOGOUT" password to
2530         be manageable as X-resource XNlock*logoutPasswd. The password is
2531         stored in UNIX crypt format so that it can be stored in a global
2532         resource file for sites that whish to keep it a secret.
2533
2534
2535         * configure.in: Check for winsize in sys/ioctl.h also.
2536
2537 Sat Jan 18 1997
2538
2539         * lib/krb/get_default_principal.c: Use principal from
2540         KRB4PRINCIPAL before using uid.
2541
2542 Wed Jan 15 1997
2543
2544         * appl/telnet/telnet/sys_bsd.c: Use `get_window_size'
2545
2546         * lib/roken/get_window_size.c: New file
2547
2548         * appl/bsd/rlogin.c: Use `get_window_size'
2549
2550         * appl/bsd/forkpty.c, appl/bsd/rlogind.c: conditionalize on
2551         TIOCSWINSZ
2552
2553         * configure.in: Check for `_scrsize' and `struct winsize'
2554
2555 Tue Jan 14 1997
2556
2557         * Makefile.in (install-strip, travelkit-strip): New targets.
2558
2559 Thu Jan 9 1997
2560
2561         * */Makefile.in: Use @foo_prefix@ and @program_transform_name@
2562         Add code to uninstall target
2563
2564 Thu Dec 19 1996
2565
2566         * configure.in: Set LIBPREFIX
2567
2568         * config.sub: Add os2 as a system
2569
2570         * config.guess: Try to recognize i386-pc-os2_emx
2571
2572         * configure.in: case for *-*-os2_emx
2573         NEED_PROTO for `strtok_r'
2574         
2575         * aclocal.m4: ranlib is apparently calld EMXOMF on OS/2
2576         (AC_KRB_PROG_LN_S): New test that uses cp if ln fails
2577
2578 Wed Dec 18 1996
2579
2580         * appl/bsd/login.c (main): First try to verify password using
2581         standard UNIX method and if it fails try kerberos authentication.
2582         
2583 Sat Dec 14 1996
2584
2585         * appl/bsd/rcp.c: consider case of no fchmod
2586
2587         * appl/kpopper/pop_init.c: Use k_getsockinst.
2588
2589         * lib/roken/{strupr,strlwr,strchr,strrchr,lstat,initgroups,chown,
2590         fchown,rcmd}.c: new files
2591
2592         * appl/kpopper/pop_lower.c: Removed.
2593
2594         * Makefile.in (travelkit): New target.
2595
2596 Tue Dec 10 1996
2597
2598         * lib/krb/parse_name.c (kname_parse): Only copy realm if it is
2599         specified.
2600
2601         * lib/krb/get_host.c (krb_get_host): Treat no realm as local
2602         realm.
2603
2604 Mon Dec 9 1996
2605
2606         * appl/ftp/ftpd/ftpd.c: Get afs-tokens when logging in with
2607         password.
2608
2609
2610         * slave/kprop.c: flock with K_LOCK_SH
2611
2612 Wed Dec 4 1996
2613
2614         * appl/telnet/telnet/commands.c: Also export XAUTHORITY
2615
2616 Sun Dec 1 1996
2617
2618         * kadmin/ksrvutil.c: If realm is not specified, use the local one.
2619
2620 Sat Nov 30 1996
2621
2622         * appl/kauth/kauthd.c: Use KAUTH_VERSION.  Try to give correct
2623         error messages back to kauth.
2624
2625         * config.sub, config.guess: Merged in changes from autoconf 2.12
2626
2627         * appl/bsd/rsh.c: quick hack to make `-n' to the right thing.
2628
2629         * kadmin/kadm_locl.h: Add prototype for FascistCheck.
2630
2631 Thu Nov 28 1996
2632
2633         * man/afslog.1: Documented `-createuser'
2634
2635         * appl/afsutil/aklog.c: removed `cell_of_file' Added option
2636         `-createuser' to run pts to create a foreign principal.
2637
2638 Tue Nov 26 1996
2639
2640         * lib/otp/otp_challenge.c: Initialize error string and check for
2641         NULL from strdup.
2642
2643         * lib/roken/mini_inetd.c: Initialize `sin_family'
2644
2645         * appl/kpopper/pop_init.c: Add `-p' option and make `-a'
2646         auth-style
2647
2648         * appl/bsd/rshd.c: Add `-p' option.
2649
2650         * appl/bsd/rlogind.c: Handle `-p' correctly.
2651
2652         * appl/bsd/login.c: Removed confusing initialization of
2653         `login_timeout'
2654
2655         * appl/kpopper/pop_dropinfo.c: Remove white-space at the beginning
2656         of UIDL-string.
2657
2658 Sun Nov 24 1996
2659
2660         * Release 0.9.3
2661
2662 Sat Nov 23 1996
2663
2664         * kadmin/ksrvutil_get.c: Use `krb_unparse_name_long' Better
2665         defaults.
2666
2667         * lib/krb/krb.h: Added *_to_key
2668
2669         * lib/krb/get_svc_in_tkt.c (srvtab_to_key): Make public
2670
2671         * kadmin/kadmin.c (do_init): `-p' is a synonym for `-u'
2672         (do_init): more logical defaults
2673         (help): removed old code
2674         better error messages
2675
2676         * lib/krb/get_in_tkt.c (passwd_to_key, passwd_to_afskey): Export
2677         and remove functionality for reading passwords.
2678
2679         * lib/sl/sl.c: Nicer help output.
2680
2681         * lib/otp/otp_challenge.c: Initialize `challengep'
2682
2683         * lib/krb/Makefile.in: Removed get_pw_tkt.c
2684
2685 Fri Nov 22 1996
2686
2687         * lib/auth/sia/sia.c: Now compiles under Digital UNIX 4.0.
2688
2689 Wed Nov 20 1996
2690
2691         * lib/auth/pam/pam.c: Chown ticketfile to correct GID.
2692
2693 Tue Nov 19 1996
2694
2695         * appl/kx/rxtelnet.in: Try to set the screen number as well.
2696
2697         * Be careful not to thrust `h_length' from gethostby{name,addr}
2698
2699         * appl/bsd/rcmd_util.c (ip_options_and_die): New function.
2700
2701         * configure.in: moved headers before functions.
2702         call AC_PATH_XTRA_XTRA.
2703         Add strchr, index, rindex, and strrchr to AC_CHECK_FUNCS.
2704         remove strchr and strrchr, add strtok_r from/to AC_BROKEN.
2705
2706         * aclocal.m4 (AC_PATH_XTRA_XTRA): New macro.
2707
2708         * aclocal.m4 (AC_FIND_FUNC, AC_FIND_FUNC_NO_LIBS): Two new
2709         arguments: includes and arguments)
2710
2711         * configure.in: Need to supply arguments and includes to test for
2712         `res_search' and `dn_expand'
2713
2714         * lib/kafs/afssys.c (k_setpag): Handle AFS_SYSCALL3
2715
2716         * Use `k_getpw{nam,uid}' instead of getpw{nam,uid}.
2717
2718         * Replace lots of `strtok' with `strtok_r'.
2719
2720         * lib/sl/sl.c: Allow unlimited number of arguments.  Use
2721         `strtok_r' to divide up string into arguments.
2722
2723         * lib/roken/roken.h: Added `strtok_r'
2724
2725         * configure.in: Test for `strtok_r'
2726
2727         * include/Makefile.in: Don't build in ss
2728
2729         * Makefile.export: Fixed ChangeLog-generation
2730
2731         * lib/sl/sl.c: Let `readline' to the \n-removal.  Handle empty
2732         lines.  Don't store empty lines in the history.
2733
2734 Mon Nov 18 1996
2735
2736         * lib/sl/sl.c: Use readline compatible i/o.
2737
2738
2739         * lib/otp/otp_locl.h: Changed location of otp database to /etc
2740
2741         * appl/otp/Makefile.in: Install otp setuid root.
2742
2743         * util/Makefile.in: don't build SS
2744
2745         * lib/sl: New directory.
2746
2747         * kadmin/kadmin.c: Replaced SS by SL.
2748
2749 Sun Nov 17 1996
2750
2751         * kadmin/kadm_funcs.c: Improved log messages.
2752
2753
2754         * Use KRB_TICKET_GRANTING_TICKET.
2755
2756
2757         * server/kerberos.c: Don't do any special logging when running as
2758         slave.
2759
2760
2761         * Lots of files: remove unnecessary `(void)'
2762
2763         * Lots of files: remove unnecessary `register' declaration.
2764
2765
2766         * lib/krb/get_host.c: Only keep list of hosts from requested
2767         realm.
2768
2769
2770         * man/otpprint.1, otp.1: New files.
2771
2772         * appl/otp/otp.c: `-s' is now default.
2773
2774         * appl/otp/otp.c: removed count
2775
2776         * lib/des/destest.c: more general quad_cksum test.
2777
2778         * lib/otp/otp_print.c (otp_print_stddict_extended,
2779         otp_print_hex_extended): New functions.
2780
2781         * lib/otp/otptest.c: New file.
2782
2783
2784         * appl/ftp/ftpd/ftpd.c: Change default auth level to what was
2785         formerly known as `user'.
2786
2787         * appl/ftp/ftpd/ftpd.c: Orthogonalize arguments to -a
2788
2789
2790         * appl/kip/kip.c: Try all addresses we get back from the name
2791         server.
2792
2793         * kadmin/kpasswd.c: updated to new functions.
2794
2795         * lib/otp/otp_db.c (otp_db_open): Do a few retries.  Unlock in
2796         case this file cannot be opened.
2797
2798         * doc/kth-krb.texi: New chapter about OTPs.
2799
2800         * appl/otp/otpprint.c, appl/otp/otp.c: Use OTP_ALG_DEFAULT.
2801         Consistent language Check return value from des_read_pw_string.
2802
2803         * lib/otp/otp.h: Add OTP_ALG_DEFAULT
2804
2805
2806         * lib/krb/parse_name.c: New function krb_parse_name
2807
2808 Sat Nov 16 1996
2809
2810         * appl/bsd/login.c: removed S/Key.
2811         Added OTP with option `-a otp'
2812         Reorganized verification loop.
2813
2814         * appl/bsd/Makefile.in (login): Remove skey and add OTP
2815
2816         * configure.in: Test for `uid_t' and `off_t'
2817
2818         * appl/telnet/telnetd/telnetd.c: Removed `-s' for securID and
2819         added `-a otp' for OTP.
2820
2821         * appl/kpopper: removed s/key and added OTP support.  Updated
2822         man-page.
2823
2824         * lib/otp/otp.h: more fields in the struct and a new function.
2825
2826         * appl/ftp/ftpd/ftpd.c: Full OTP support.
2827
2828         * appl/kx/rxterm.in: Add options: -l username, -r args_to_rsh, and
2829         -x args_to_xterm
2830
2831         * appl/kx/rxtelnet.in: Add options: -l username, -t
2832         args_to_telnet, and -x args_to_xterm
2833
2834         * man/kx.cat1: regenerated
2835
2836         * man/kx.1: Added `-l' option.
2837
2838         * appl/kx/kxd.c: Accept username from `kx'
2839
2840         * appl/kx/kx.c: Introduced option `-l user' to be able to login as
2841         some other user.
2842
2843 Fri Nov 15 1996
2844
2845         * appl/kx/kx.c: Print out display and not display_nr
2846
2847         * lib/auth/Makefile.in: Fix the case with empty SUBDIRS.
2848
2849         * */Makefile.in: Use $(LN_S) instead of ln -s
2850
2851         * */Makefile.in: Add @SET_MAKE@
2852
2853         * doc/latin1.tex: New file.
2854
2855         * doc/kth-krb.texi: Use latin1.tex to be able to use one letter
2856         that some bear seem to think is important.
2857
2858         * doc/kth-krb.texi: Added acknowledgements.
2859
2860         * lib/auth/Makefile.in: Only build relevant subdirectories.
2861
2862         * configure.in: Set @LIB_AUTH_SUBDIRS@ to the subdirectories of
2863         lib/auth that should be built.
2864
2865
2866         * lib/kafs/afssys.c: Only get tokens for each cell once.
2867
2868 Thu Nov 14 1996
2869
2870         * man: Added man pages for movemail(1) and kerberos(8).
2871
2872
2873         * kadmin/kadmin_cmds.ct: Add `add' for add_new_key and `passwd'
2874         for change_password.
2875
2876
2877         * lib/krb/logging.c: Now actually compiles!
2878
2879
2880         * config.{guess,sub}: Merge changes from Autoconf
2881
2882
2883         * lib/krb/{recv,send}auth.c: Don't return errno if there is a
2884         system error.
2885
2886 Wed Nov 13 1996
2887
2888         * util/ss/Makefile.in: Now even compiles with BSD make!
2889
2890         * appl/kx: Now send the complete display from `kxd' to `kx'.  This
2891         should enable it to work better with Xlibraries that don't support
2892         unix sockets.
2893
2894         * kuser/klist.c: conditionally include <sys/ioctl.h> and
2895         <sys/ioccom.h> before <kafs.h>
2896
2897         * lib/krb/resolve.h: Add fallback for `T_TXT'.
2898
2899         * appl/otp/otp.c: removed print-functionality.
2900
2901         * appl/otp/otpprint.c: New file.
2902
2903         * appl/otp/Makefile.in: New program `otpprint'
2904
2905         * lots of Makefile.in: Now should be possible to build with makes
2906         that have broken VPATH-handling.
2907
2908         * configure.in: Always replace REAL_SHARED & c:o so that some
2909         libraries may be built as shared.
2910         Removed unused AC_SUBST.
2911         Only build afskauthlib on irix.
2912
2913         * lib/auth/afskauthlib/Makefile.in, lib/auth/sia/Makefile.in,
2914         lib/auth/pam/Makefile.in: Always build as a shared library.
2915
2916         * appl/kx/rxtelnet.in, appl/kx/rxterm.in: export PATH (from
2917         <jas@pdc.kth.se>).
2918
2919
2920         * lib/krb/{pkt_cipher,fgetst}.c: Removed
2921
2922         * lib/krb/name2name.c: Renamed k_name_to_name to krb_name_to_name
2923
2924 Mon Nov 11 1996
2925
2926         * appl/telnet/telnetd/sys_term.c: Really remove bad stuff from
2927         environment.
2928
2929 Fri Nov 8 1996
2930
2931         * appl/bsd/rlogind.c (main): `portnum' should be int.
2932
2933         * appl/bsd/sysv_environ.c: Use _PATH_ETC_ENVIRONMENT
2934
2935         * appl/bsd/pathnames.h: _PATH_ETC_ENVIRONMENT: new
2936
2937         * lib/krb/get_host.c (srv_find_realm): New parameter `service'
2938
2939
2940         * lib/krb/unparse_name.c: New function.
2941
2942 Tue Nov 5 1996
2943
2944         * lib/auth/pam/pam.c: Add PAM Kerberos module.
2945
2946 Mon Nov 4 1996
2947
2948         * configure.in: configure in lib/auth/afskauthlib
2949
2950         * lib/kafs/afssys.c: New function `k_afsklog_uid'.
2951
2952         * lib/auth/afskauthlib: New library that works like
2953         `afskauthlib.so' from Transarc.
2954
2955
2956         *lib/krb/get_host.c, lib/krb/getrealm.c, lib/kafs/afssys.c: Use
2957         dns_lookup().
2958         
2959         * lib/krb/resolve.c (dns_lookup): Replaced several different
2960         resolver functions with one more generalized.
2961
2962 Sun Nov 3 1996
2963
2964         * Add check target in lib/krb.
2965         
2966         * appl/bsd/login.c (main): Sleep 10 seconds before bailing out so
2967         that there is a chance of reading the error message.
2968
2969         * appl/bsd/rsh.c (main): When invoked as rlogin equivalent change
2970         to real uid before execing rlogin.
2971
2972 Sat Nov 2 1996
2973
2974         * appl/bsd/utmp_login.c: Do the right thing on systems where
2975         UTMPX_DOES_UTMP_LOGGING is defined.
2976
2977
2978         * lib/krb/krb.h: names for `krb_kuserok' prototype
2979
2980         * lib/krb/get_host.c: Add tcp/kerberos.REALM as well.
2981
2982         * appl/bsd/su.c: Replace call to `kuserok' by `krb_kuserok'.
2983
2984         * lib/otp/otp_parse.c: Add support for parsing extended responses
2985         (draft-ietf-otp-ext-01).
2986
2987         * lib/otp/otp.h: Define OTP_HEXPREFIX and OTP_WORDPREFIX.
2988
2989         * appl/otp/otp.c: Add option `-e' for printing responses in
2990         extended mode (according to draft-ietf-otp-ext-01.txt).
2991
2992
2993         * lib/krb/kuserok.c: Function krb_kuserok now takes name,
2994         instance, realm rather than an AUTH_DAT.
2995
2996 Fri Nov 1 1996
2997
2998         * lib/auth/sia: Add SIA Kerberos module.
2999
3000
3001         * lib/roken/roken.h: Need to include signal.h prior to defining
3002         SIG_ERR.
3003
3004         * appl/bsd/utmpx_login.c (utmpx_update): Minor restructuring for
3005         simplified maintainability.
3006
3007         * appl/bsd/utmp_login.c (utmp_login): Even when there are utmpx
3008         files on this system we should also log to the utmp files. If
3009         there are no utmp files we of course don't have to log to them.
3010
3011
3012         * Makefile.export: now generate PROBLEMS and COPYRIGHT as well.
3013
3014         * PROBLEMS, COPYRIGHT, doc/kth-krb.info: removed
3015
3016         * doc/kth-krb.texi: Put copyrights in marketing order.
3017
3018         * appl/kpopper/popper.h: client and ipaddr should be char [] so
3019         that we can store the names there.
3020
3021         * appl/kpopper/pop_init.c: save copies of addresses that otherwise
3022         get overwritten.
3023
3024 Mon Oct 28 1996
3025
3026         * lib/krb/send_to_kdc.c (send_recv_it): Use `recv' not `recvfrom'
3027         to make winsock happy.  Also don't care anymore about from which
3028         address we got the answer since we do a `connect'.
3029
3030         * admin/adm_locl.h, lib/kdb/kdb_locl.h, kadmin/kadm_locl.h,
3031         lib/krb/krb_locl.h, lib/roken/strftime.c, server/kerberos.c: Do
3032         not use #if, use #ifdef.
3033
3034         * configure.in: Test for `rand' and `getuid'
3035
3036
3037         * slave/kprop.c: Don't terminate on trivial errors in slaves-file.
3038
3039 Sun Oct 27 1996
3040
3041         * doc/Makefile.in: Install from source directory if necessary.
3042
3043         * lib/krb/kuserok.c: Do not use `k_getpwnam' in libkrb.
3044
3045         * configure.in: You can't even use `unset', Ultrix sh does not
3046         have it.
3047
3048
3049         * several files: Check status from des_read_pw_string.
3050
3051
3052         * server/kerberos.c: Make sure all data is recieved on a tcp
3053         socket before trying to reply.
3054
3055
3056         * lib/krb/krb.h: Add <time.h> for `struct tm'
3057
3058         * appl/kx/Makefile.in: Both kx and kxd requires @XauWriteAuth@
3059
3060         * configure.in: Fix test for `XauReadAuth'
3061
3062 Fri Oct 25 1996
3063
3064         * lib/krb/get_host.c (init_hosts): Must ntohs(KRB_PORT) on
3065         machines running backwards.
3066
3067         * More consistent use of CRLF in telnet and telnetd.
3068
3069         * Removed redundant -I$(srcsdir)/../../include from compiler args.
3070         
3071
3072         * appl/ftp/ftpd/ftpd.c: New option `-a otp' to allow OTPs but no
3073         ordinary passwords in cleartext.
3074
3075         * appl/ftp/ftpd/Makefile.in: Link `ftpd' with -lotp
3076
3077         * lib/Makefile.in: Add otp
3078
3079         * include/Makefile.in: Add otp.h
3080
3081         * configure.in: Test for ndbm.h
3082         Generate Makefiles in lib/otp and appl/otp
3083
3084         * appl/otp: New program to set up and generate OTPs.
3085         
3086         * lib/otp: New library for one-time passwords (RFC1938).
3087
3088         * lib/krb/get_host.c (srv_find_realm): Added parameter `proto'
3089
3090         * lib/des/Makefile.in: Add md4 and sha.  run `mdtest' from check.
3091
3092         * lib/des/md4.h, lib/des/md4.c, lib/des/sha.c, lib/des/sha.h,
3093         lib/des/mdtest.c: New files.
3094
3095         * appl/kauth/Makefile.in: Make $(libexedir) as well.
3096
3097 Thu Oct 24 1996
3098
3099         * appl/bsd/rlogind.c (setup_term): Actually set the speed of the
3100         terminal.
3101
3102         * appl/bsd/rlogin.c (main): Do a `speed_t2int' before putting the
3103         speed in the TERM variable.
3104
3105         * appl/bsd/rcmd_util.c: New functions: `speed_t2int' and
3106         `int2speed_t'.
3107
3108         * appl/bsd/bsd_locl.h: Added prototype of `speed_t2int' and
3109         `int2speed_t'.
3110
3111 Sun Oct 20 1996
3112
3113         * appl/bsd/login.c: Do `getspnam' before change the UID. Also call
3114         `endspent'
3115
3116         * appl/krbmanager: New program used on PCs by kclient.
3117
3118         * lib/kclient: New library.
3119
3120         * lib/des, lib/krb: Added some PC-specific files.
3121
3122         * doc/kth-krb.info: Regenerated.
3123
3124         * doc/Makefile.in (kth-krb.info): Some stupid makes don't
3125         understand $<
3126         (kth-krb.html): New rule.
3127
3128         * doc/kth-krb.texi (Compiling from source): Added some references
3129         about Socks.
3130
3131 Sat Oct 19 1996
3132
3133         * doc/kth-krb.texi: Added text about ``--with-socks''.
3134
3135         * configure.in: Use `AC_TEST_PACKAGE' for skey and socks.
3136
3137         * aclocal.m4: Replaced `AC_TEST_SOCKS' and `AC_TEST_SKEY' with the
3138         more general `AC_TEST_PACKAGE'.
3139
3140 Fri Oct 18 1996
3141
3142         * configure.in: call AC_TEST_SOCKS
3143
3144         * acconfig.h: SOCKS
3145
3146         * aclocal.m4: Added AC_TEST_SOCKS
3147
3148         * lib/krb/send_to_kdc.c (send_to_kdc): Removed unused `f' and
3149         close.
3150
3151 Thu Oct 17 1996
3152
3153         * man/popper.8: Option `-i'
3154
3155         * appl/kpopper/pop_send.c: clean-up
3156
3157         * appl/kpopper/popper.h: Removed old garbage and added SKEY.
3158
3159         * appl/kpopper/pop_xmit.c: clean up
3160
3161         * appl/kpopper/pop_user.c: SKEY-support
3162
3163         * appl/kpopper/pop_pass.c: Added support for spaces in passwords
3164         and S/Key.
3165
3166         * appl/kpopper/pop_init.c: Moved some variables into struct pop
3167         (main): Added support for `-i'
3168
3169         * appl/kpopper/pop_get_command.c: New command "HELP".
3170
3171         * appl/kpopper/Makefile.in: Add SKEY-stuff.
3172
3173         * lib/krb/get_host.c: Use `k_getportbyname(KRB_SERVICE,...)' as a
3174         default instead of KRB_PORT
3175
3176         * lib/krb/getaddrs.c (k_get_all_addrs): Add
3177         gethostbyname(k_gethostname()) as a fallback.
3178
3179         * lib/krb/k_getport.c (k_getportbyname): proto can be NULL
3180
3181         * lib/krb/krb.h: Only include <sys/types.h> if HAVE_SYS_TYPES_H
3182
3183         * lib/krb/prot.h: KRB_SERVICE: Added
3184
3185
3186         * server/kerberos.c: Replaced linked list with a vector.
3187
3188 Wed Oct 16 1996
3189
3190         * server/kerberos.c: Add support for TCP connections.
3191
3192         * lib/krb/send_to_kdc.c: On stream sockets, use krb_net_read
3193         rather than recvfrom.
3194
3195 Mon Oct 14 1996
3196         
3197         * doc/kth-krb.texi: Only use `kdb_edit' to add the initial
3198         `nisse.admin'.  Add all other users with `kadmin'.
3199
3200         * doc/kth-krb.info: new file.
3201
3202         * doc/kth-krb.texi: Added some text about kx and ftp.
3203
3204         * appl/ftp/ftpd/ftpcmd.y,
3205           util/ss/ct.y,
3206           util/et/error_table.y :
3207         Added code for handling the case of using `bison' and having no
3208         `alloca'.  Alloca is usually never called anyway, so we just use
3209         `malloc'.
3210
3211         * appl/kx/kxd.c: All static variables are now global and in
3212         common.c.
3213         (doit_conn, doit): Turn on TCP_NODELAY.
3214         (create_and_write_cookie, suspicious_address): Moved to common.c
3215
3216         * appl/kx/kx.c (connect_host): Try all addresses of `host'. Turn
3217         on TCP_NODELAY.
3218         (doit): prepare for TCP-only hosts.
3219         (usage,main): add `-t'
3220         (main): Passive mode is possible again.
3221
3222         * appl/kx/kx.h: More #ifdefs for include files.  Declarations for
3223         global variables.
3224
3225         * appl/kx/common.c (get_xsockets): Try to chmod
3226         dirname(`X_UNIX_PATH')
3227         (get_xsockets): Turn on TCP_NODELAY on TCP connections.
3228
3229         * doc/Makefile.in: New file
3230
3231         * Makefile.in: Added `doc' to `SUBDIRS'
3232
3233         * configure.in: Generate `doc/Makefile'
3234
3235 Sun Oct 13 1996
3236
3237         * appl/bsd/rcp.c (main): Made rcp AFS aware.
3238
3239         * lib/krb/kuserok.c (kuserok): Act as if luser@LOCALREALM is
3240         always an entry of .klogin.
3241
3242 Sat Oct 12 1996
3243
3244         * appl/kx/rxtelnet.in: Start the `xterm' process correctly.
3245
3246         * lib/des/rnd_keys.c (sumFile): consider the case that `res' is
3247         not longword-aligned.
3248
3249         * lib/krb/get_host.c (parse_address): `getservbyname' should
3250         really get proto = NULL
3251
3252         * lib/krb/send_to_kdc.c (krb_udp_port): removed
3253         (send_to_kdc): removed `addrlist'
3254
3255         * lib/krb/send_to_kdc.c: Support not only UDP.
3256
3257         * lib/krb/get_host.c (krb_get_admhst): Really ask for a admin host
3258         if that's what we want.
3259
3260 Thu Oct 10 1996
3261
3262         * lib/krb/get_host.c: Simplified some code. Added stub-support for
3263         SRV-records.
3264
3265 Wed Oct 9 1996
3266
3267         * appl/kx/rxtelnet.in, appl/kx/rxterm.in: PDC are unable to give
3268         correct instructions to their users and therefore we have to add
3269         strange directories to the PATH.
3270
3271         * appl/kx/rxtelnet.in: Support sending arguments to telnet.
3272
3273         * appl/kx/rxterm.in: rsh can reside in path or %bindir% support
3274         extra arguments to xterm (from <jas@pdc.kth.se>).
3275
3276         * appl/kx/rxtelnet.in: Try to find some kind of terminal emulator
3277         for X.
3278
3279         * appl/kx/rxterm.in, appl/kx/rxtelnet.in: Look for kx in $PATH and
3280         %bindir%.
3281
3282         * appl/kx/common.c (get_xsockets): `mkdir' the correct directory.
3283         From <jas@pdc.kth.se>
3284
3285
3286         * lib/krb/send_to_kdc.c: Changes to allow other than udp port 750
3287         connections.
3288
3289         * lib/krb/get_host.c: rewrite of krb_get_{adm,krb}hst.
3290
3291 Sun Oct 6 1996
3292
3293         * appl/ftp/ftpd/ftpd.c (retrieve): Got rid of `sprintf'.
3294
3295         * configure.in: Fix order for x libs.  From <jas@pdc.kth.se>.
3296         Check for `fcntl', `alloca', `winsock.h', and `io.h'.
3297
3298         * lib/krb/krb_locl.h: Check for <io.h> and <winsock.h>
3299
3300         * lib/krb/krb.h: Check for winsock.h
3301
3302         * lib/krb/k_flock.c: Better test for `fcntl' with locking.
3303
3304         * lib/krb/et_list.c: Hopefully correct pragma this time.  From
3305         <jas@pdc.kth.se>
3306
3307 Thu Oct 3 1996
3308
3309         * lib/krb/klog.c (klog): Do not forget to print the text.
3310
3311         * lib/krb/log.c (krb_log): Print space after time in log.
3312
3313 Wed Oct 2 1996
3314
3315         * appl/kpopper/popper.h: Add field msg_id to hold Message-Id for
3316         UIDL command.
3317
3318         * appl/kpopper/pop_dropinfo.c (pop_dropinfo): Support for UIDL
3319         command. Saves Message-Id to be used as unique id. Everything is
3320         #ifdef:ed UIDL.
3321
3322         * appl/kpopper/pop_get_command.c: Recognize UIDL command.
3323
3324         * appl/kpopper/pop_uidl.c (pop_uidl): POP3 UIDL command
3325         implementation.
3326
3327         * appl/kpopper/Makefile.in: New file pop_uidl.c.
3328
3329
3330         * configure.in: Made some of the tests into macros defined in
3331         aclocal.m4
3332
3333         * appl/telnet/libtelnet/kerberos.c: Given better error message
3334         when user is not authorized to login.
3335
3336         * lib/roken/k_getpwuid.c, lib/roken/k_getpwnam.c: Call `endpwent'.
3337         If we are using a BSD-kind of system we should not leave the
3338         shadow password database open.
3339
3340         * appl/xnlock/xnlock.c: Got rid of all `register' declarations.
3341
3342         * appl/kx/rxterm.in, appl/kx/rxtelnet.in: Use `set --'
3343
3344 Mon Sep 30 1996
3345
3346         * lib/roken/k_getpwnam.c, lib/roken_k_getpwuid.c: Call `endspent'
3347         to try to close the shadow password file.
3348
3349         * appl/ftp/ftpd/ftpd.c (retrieve): Cut the argument to the command
3350         and the first character of the extension.
3351
3352         * lib/krb/send_to_kdc.c: Sun doesn't have any strerror so we can't
3353         use that here.  We are only printing debug messages anyway, so
3354         just print errno for now.
3355
3356         * appl/kx/rxtelnet.in: Now using SIGUSR2.
3357
3358         * appl/kx/kx.c: Now using SIGUSR1 to mean `exit when number of
3359         children goes down to zero'.  SIGUSR2 is `exit when number of
3360         children is equal to zero'.
3361
3362         * appl/xnlock/xnlock.c: More fixup of old code.
3363
3364         * appl/ftp/ftpd/ftpd.c: Only call `filename_check' for guest
3365         users.
3366
3367         * configure.in: Added tests for more header files.  Also added
3368         more ifdefs when actually including those files.
3369
3370         * appl/kx/Makefile.in: Do not build programs if we have no X11.
3371         
3372 Sun Sep 29 1996
3373
3374         * appl/xnlock/xnlock.c (main): Support for shadow passwords.
3375
3376         * lib/roken/k_getpwuid.c: New file, better support for shadow
3377         passwords.
3378
3379
3380         * appl/telnet/Makefile.in: Use SET_MAKE
3381
3382
3383         * appl/ftp/ftpd/ftpcmd.y: Remove access to several commands for
3384         anonymous users.
3385
3386         * lib/krb/get_krbhst.c: Look for kerberos-#.realm.
3387
3388         * appl/ftp/ftpd/popen.c: Execute files from ~ftp if possible.
3389
3390         * appl/ftp/ftpd/ftpd.c: Add find site command.
3391
3392         * appl/ftp/ftpd/ftpd.c: Add special handling of nonexistant files
3393         with extensions {,.tar}{,.gz,Z}.
3394
3395 Sat Sep 28 1996
3396
3397         * configure.in: Check for sys/times.h, sys/param.h, and
3398         sys/timeb.h
3399
3400         * lib/des: autoconfed a little to make it compile.
3401
3402         * lib/roken/roken.h: Add `max', `min', and definitions for broken
3403         syslogs.
3404
3405         * appl/bsd/bsd_locl.h: Removed SYSLOG-garbage and max.
3406
3407         * appl/kx/kx.h: Remove prototype of childhandler.
3408
3409         * appl/kx/common.c: Remove childhandler.  Not common any more.
3410
3411         * appl/kx/rxterm.in: Send SIGUSR1 to kx before starting xterm.
3412
3413         * appl/kx/rxtelnet.in: Send USR1 to kx at appropriate moment.
3414
3415         * appl/kx/kx.c: Die after receiving SIGUSR1 and when number of
3416         children goes to zero.
3417
3418         * lib/roken/roken.h: Add STDERR_FILENO
3419
3420         * lib/roken/mini_inetd.c (mini_inetd): Also dup onto stderr.
3421
3422         * lib/kafs/Makefile.in (afslib.so): Change argument so they work
3423         with `ld' instead of `cc'
3424
3425         * appl/kx/kxd.c: writeauth.c as separate file.
3426
3427         * appl/kx/kx.c: `-d' option to disable forking.
3428
3429         * appl/kx/Makefile.in: Compile and link writeauth.c if necessary.
3430         For some stupid reason $< does not work correctly in BSD make.
3431         Use $(srcdir) instead.
3432
3433         * appl/ftp/ftp/ftp_locl.h: Only include <roken.h> once.
3434
3435         * configure.in: Use strange X flags when looking for XauReadAuth.
3436         Add XauWriteAuth if we need to include it.
3437
3438 Fri Sep 27 1996
3439
3440         * appl/sample: Sample programs work again.
3441
3442
3443         * appl/kx/kxd.c (main): use `mini_inetd'
3444
3445         * appl/kx/kx.c: Use KX_PORT
3446
3447         * appl/kx/kx.h: Remove SOMAXCONN and add KX_PORT
3448
3449         * appl/kauth/kauthd.c (main): use `mini_inetd'
3450
3451         * appl/ftp/ftpd/ftpd.c: Removed `conn_wait' and use `mini_inetd'
3452         instead.
3453
3454         * appl/bsd/bsd_locl.h: Prototypes for `get_shell_port' and
3455         `get_login_port'
3456
3457         * appl/bsd/rcmd_util.c: New file.
3458
3459         * appl/bsd/Makefile.in: Added rcmd_util.c
3460
3461         * appl/bsd/rcp.c: Moved `get_shell_port' to rcmd_util.c
3462
3463         * appl/bsd/rsh.c: Moved `get_shell_port' to rcmd_util.c
3464
3465         * appl/bsd/rlogind.c (main): Use `mini_inetd'
3466
3467         * appl/bsd/rshd.c (main): Add support for interactive mode with
3468         `-i'.
3469
3470         * appl/telnet/telnetd/telnetd.c (main): use `mini_inetd'
3471
3472         * lib/roken/roken.h: Added prototype for `mini_inetd', and
3473         fallback definitions for SOMAXCONN, STDIN_FILENO, and
3474         STDOUT_FILENO.
3475
3476         * lib/roken/Makefile.in: Added mini_inetd.o
3477
3478         * lib/roken/mini_inetd.c: New file.
3479
3480 Thu Sep 26 1996
3481
3482         * appl/kx/kxd.c (doit): read port number in ascii.
3483
3484         * appl/kx/kx.c (doit): write port number in ascii.
3485
3486         * appl/kauth/rkinit.c (doit_host): Check return value from
3487         `read_encrypted'.
3488
3489         * appl/kauth/kauthd.c (doit): Removed unnecessary sprintf's before
3490         syslog.
3491
3492         * lib/krb/krb_get_in_tkt.c (krb_get_in_tkt): Return error code
3493         from `tf_create' and not always INTK_ERR.
3494
3495         * lib/krb/tf_util.c (tf_create): Correct check for return value
3496         from `open'.
3497
3498         * lib/des/rnd_keys.c (des_rand_data): Try /dev/urandom as well.
3499
3500 Wed Sep 25 1996
3501
3502         * appl/afsutil/pagsh.c (main): One-of error hopefully fixed this
3503         time.
3504
3505         * configure.in: Add test for <sys/un.h>
3506
3507         * kadmin/Makefile.in: Add back $(CRACKLIB)
3508
3509 Mon Sep 16 1996
3510
3511         * appl/kx/Makefile.in: Create rxterm and rxtelnet at compile time.
3512
3513         * kstring2key moved to appl/afsutil.
3514
3515 Sun Sep 15 1996
3516
3517         * appl/kx/kx.c (main): For now always use passive mode.  That's
3518         the only thing that has been tested and not a lot of people are
3519         going to use non-passive anyways.
3520
3521         * appl/kx/kx.c (connect_host): write display_number in ascii.
3522
3523         * appl/kx/kxd.c (doit): read display_number in ascii.
3524
3525         * appl/kx/common.c (get_local_xsocket): Generate the
3526         /tmp/.X11-unix directory with the sticky bit set.
3527
3528         * configure.in: Generate appl/kx/rxterm and appl/kx/rxtelnet.
3529
3530         * appl/kx/Makefile.in: Install rxterm and rxtelnet.
3531
3532         * appl/kx/rxterm.in, appl/kx/rxtelnet.in: New files.
3533
3534         * appl/kx/common.c (get_local_xsocket): try to bind the socket
3535         instead of checking for existence with lstat.
3536
3537
3538         * appl/kx/kxd.c: Detect remote termination and cleanup on exit.
3539
3540 Sat Sep 14 1996
3541
3542         * lib/des/rnd_keys.c: Hack for systems that lack setitimer (like
3543         crays).
3544
3545
3546         * appl/kx/kxd.c (doit): Send over the display number and the
3547         authority file actually used to kx.
3548         
3549         (create_and_write_cookie):  New function to generate and write into a
3550         file a local cookie used between this pseudo-server and the
3551         clients on this host.
3552         
3553         (start_session):  New function to check and remove the local cookie
3554         before the data is sent over to `kx'.
3555
3556         * appl/kx/kx.c (display_num, xauthfile): New variables.  Now `kx'
3557         prints out the values of those two variables and then goes to the
3558         background to enable some script to set these on the other host.
3559         
3560         (start_session): New function that adds a local cookie before sending
3561         the rest of the connection to the local X-server.
3562         
3563         (main): Also recognize "unix" as a local DISPLAY.
3564
3565         * appl/kx/kx.h: <X11/Xauth.h> used.
3566         (get_local_xsocket): Changed parameter.
3567
3568         * appl/kx/common.c (get_local_xsocket): Now try to allocate the
3569         first free socket in /tmp/.X11-unix.  Also `mkdir' this directory
3570         first.  Return the number of the display opened.
3571
3572         * appl/kx/Makefile.in: Added X libraries.
3573
3574         * lib/des/des.h: Added prototype for `des_rand_data'.
3575
3576         * lib/des/rnd_keys.c: Made `des_rand_data' non-static.  This
3577         function is useful and now even used.
3578
3579 Wed Sep 11 1996
3580
3581         * appl/bsd/login.c: Use k_afs_cell_of_file() to get tokens for the
3582         cell of the home catalog rather than the local cell.
3583
3584         * lib/kafs/afssys.c: Add k_afs_cell_of_file.
3585
3586 Tue Sep 10 1996
3587
3588         * appl/telnet/telnetd/telnetd.c, appl/telnet/telnetd/sys_term.c:
3589         Removed all convex code.
3590
3591 Mon Sep 9 1996
3592
3593         * appl/telnet/telnetd/termstat.c: UNICOS5: removed
3594
3595         * appl/telnet/telnetd/telnetd.c, appl/telnet/telnetd/sys_term.c:
3596         NEWINIT, UNICOS7x, UNICOS5: removed
3597         
3598         STREAMSPTY: added variable `really_stream' Now able to handle the
3599         case where the OS supports stream ptys but we run out of them and
3600         start using ordinary BSD ones.
3601
3602         * appl/telnet/telnetd/state.c: UNICOS5: removed
3603
3604         * appl/telnet/telnetd/pathnames.h: BFTPPATH: removed
3605
3606         * appl/telnet/telnetd/ext.h, appl/telnet/telnetd/global.c:
3607         BFTPDAEMON: removed.
3608         UNICOS5: removed.
3609         
3610         * appl/telnet/telnetd/ext.h: STREAMSPTY: added variable
3611         `really_stream'.
3612
3613         * lib/krb/stime.c (krb_stime): argument should be `time_t'.
3614         lib/krb/krb_locl.h: changed prototype.
3615
3616 Sun Sep 8 1996
3617
3618         * configure.in: Also generate `appl/sample/Makefile'
3619
3620         * appl/Makefile.in: Use @SET_MAKE@.
3621         Include sample
3622
3623         * lib/krb/Makefile.in: Add krb_stime, krb_mk_auth, and
3624         krb_check_auth.
3625
3626         * util/et/compile_et.c (main): Include <foo.h> in foo.c
3627
3628         * slave/kprop.c: exit with return code == 1 to indicate failure.
3629
3630         * server/kerberos.c (usage): Fixed usage string.
3631
3632         * lib/krb/tkt_string.c (tkt_string): Removed bogus extern
3633         declaration of `getuid'.
3634
3635         * lib/krb/tf_util.c (tf_save_cred): Removed bogus extern
3636         declaration of `lseek'.
3637
3638         * lib/krb/stime.c (stime): Renamed to `krb_stime'
3639
3640         * lib/krb/sendauth.c (krb_sendauth): reimplemented using
3641         `krb_mk_auth' and `krb_check_auth'.
3642
3643         * lib/krb/send_to_kdc.c (send_recv): Removed stupid cast.
3644
3645         * lib/krb/recvauth.c: Removed KRB_SENDAUTH_VERS
3646
3647         * lib/krb/prot.h: create_auth_reply: correct prototype.
3648         krb_create_death_packet: ditto.
3649         KRB_SENDAUTH_VERS: moved here from sendauth.c and recvauth.c
3650
3651         * lib/krb/month_sname.c: Made `month_sname' const.
3652
3653         * lib/krb/mk_req.c: Remove stupid `register'
3654
3655         * lib/krb/log.c (krb_log): Use `krb_stime'
3656
3657         * lib/krb/kuserok.c (kuserok): Nightmare Filesystem might return
3658         ESTALE.  Treat it the same way as ENOENT.
3659
3660         * lib/krb/krb_locl.h: Added prototype for `krb_stime'
3661
3662         * lib/krb/krb_check_auth.c: New file with `krb_check_auth',
3663         implemented for compatibility with CNS.
3664         lib/krb/krb_mk_auth.c: Ditto.
3665
3666         * lib/krb/krb.h: Removed duplicate declarations of `get_request'
3667         and `krb_get_admhst'.
3668         Added declarations for `krb_mk_auth' and `krb_check_auth'.
3669
3670         * lib/krb/kparse.h: removed prototype for `strsave'
3671
3672         * lib/krb/kparse.c (fGetParameterSet): Use `strdup' instead of
3673         `strsave'.
3674         (strsave): Removed.
3675
3676         * lib/krb/kname_parse.c: Removed stupid `register' declarations.
3677
3678         * lib/krb/klog.c (klog): Use `krb_stime'
3679
3680         * lib/krb/get_phost.c: Handle the case where the name has no dots
3681         in it by just returning it as-is.
3682
3683         * lib/knet/Imakefile, lib/knet/getkdata.c, lib/knet/phost.c,
3684         lib/knet/sendkdata.c: removed unused files.
3685
3686         * lib/kadm/kadm_cli_wrap.c (kadm_init_link): use `k_getportbyname'
3687
3688         * kadmin/ksrvutil_get.c (get_srvtab_ent): Erase the key if
3689         something goes wrong.  Include realm in the message when writing a
3690         key.
3691         (parseinput): New function that removes quotes and backslashes
3692         from input.
3693         (ksrvutil_get): Use `parseinput' to read input.
3694
3695         * kadmin/ksrvutil.c (safe_read_stdin): Correct use of printf.
3696         Removed bogus casts and fflush of stdin.
3697         (main): Use `return' instead of `exit'.
3698
3699         * kadmin/kpasswd.c (main): Use `return' instead of `exit'.
3700
3701         * kadmin/admin_server.c: exit with return code == 1 to indicate
3702         failure.
3703
3704         * appl/sample/sample_server.c: Rewrote to use all new functions.
3705
3706         * appl/sample/sample_client.c: Rewrote to use all new functions.
3707
3708         * appl/sample/sample.h: new file.
3709
3710         * appl/sample/Makefile.in: new file.
3711
3712         * appl/movemail/pop.c (socket_connection): use `k_getportbyname'
3713
3714         * appl/kpopper/pop_init.c: exit with return code == 1 to indicate
3715         failure.
3716
3717         * appl/kauth/kauth.c (doexec): new-style definition.  ret should
3718         be a `pid_t'.
3719         (main): new-style definition.  Use `prog' instead of `argv[0]'
3720
3721         * appl/ftp/ftp/extern.h: Removed unused `abortsend'
3722
3723         * appl/ftp/Makefile.in: Use @SET_MAKE@
3724
3725         * appl/bsd/rsh.c: get_shell_port: use `k_getportbyname'
3726
3727         * appl/bsd/rlogin.c: get_login_port: use `k_getportbyname'
3728
3729         * appl/bsd/kcmd.c: Removed bogus casts to `caddr_t'
3730
3731         * admin/kstash.c: Removed bogus flushing of stderr.  Replaced lots
3732         of `exit(-1)' by `return 1'
3733
3734         * admin/kdb_util.c: Removed unused variable `aprinc'.
3735         Removed bogus flushing of stderr.
3736         Replaced lots of `exit(-1)' by `return 1'.
3737
3738         * admin/kdb_edit.c, admin/kdb_init.c: use `return' instead of
3739         calling `exit' and use 1, not -1, for failure.
3740
3741         * Makefile.in: Use @SET_MAKE@
3742
3743         * aclocal.m4: AC_NEED_PROTO: need macro to determine if we need to
3744         define a prototype for a function.
3745
3746         * configure.in: Reordered.  Removed unused stuff.  Start using
3747         AC_NEED_PROTO.
3748
3749         * config.guess: merged in FSF version from 960908.
3750
3751 Tue Sep 3 1996
3752
3753         * include/protos.H: Added optarg, opterr, optind, optopt and
3754         (fclose under Sunos 4).  Removed these declarations from lots of
3755         other files.
3756
3757         * acconfig.h: Add undefs for h_errno, h_errlist, optarg, optind,
3758         opterr, and optopt.
3759
3760         * configure.in: Use `AC_NEED_DECLARATION' for h_errno, h_errlist,
3761         optarg, optind, opterr, and optopt.
3762
3763         * aclocal.m4: New macro `AC_NEED_DECLARATION' to figure out if we
3764         need to have an external declaration of a variable.
3765
3766 Mon Sep 2 1996
3767
3768         * lib/krb/krb.h: Removed unused `req_act_vno' and `k_log'.
3769         Changed all callers.
3770
3771         * lib/krb/krb.h: Removed definition of `MAX_HSTNM'.
3772
3773         * lib/krb/send_to_kdc.c: Removed use of `MAX_HSTNM'.
3774
3775         * appl/afsutil/pagsh.c: Some reformatting and fixed the off-by-one
3776         args bug.
3777
3778 Sat Aug 31 1996
3779
3780         * lib/krb/{send_to_kdc.c, getrealm.c}, appl/xnlock/xnlock.c,
3781         appl/kauthkauth.c, appl/bsd/{rshd.c,rlogind.c}: Removed '#if 0'-ed
3782         code.
3783
3784         * lib/krb/get_in_tkt.c: Removed '#if 0'-ed code and now compiles
3785         with NOENCRYPTION.
3786
3787         * kadmin/ksrvutil.c: Now compiles with NOENCRYPTION.
3788
3789         * appl/ftp/ftpd/ftpcmd.y: Throw away passwd after use.
3790
3791         * appl/ftp/ftpd/ftpd.c: Fixed old comment.
3792
3793         * slave/kpropd.c: s/sa_len/salen/ Irix has a #define for sa_len.
3794         
3795         * lib/kdb/krb_dbm.c: If key->dptr is not a `char *' we have to
3796         cast it before adding to it.
3797
3798         * configure.in: Old test for `sa_len' in `struct sockaddr' fails
3799         on IRIX 6.2.  Try to compile a program refering to that field
3800         instead of grepping for it in <sys/socket.h>.
3801
3802         * appl/bsd/kcmd.c: Removed old and broken code.
3803
3804         * configure.in: Check for `gethostname', `uname', and
3805         <sys/utsname.h>
3806
3807         * lib/krb/k_gethostname.c: Try to use `uname' if we have no
3808         `gethostname'.
3809
3810         * appl/ftp/ftpd/klogin.c: Incorrect use of `gethostname' replaced
3811         by correct use of `k_gethostname'.
3812
3813
3814         * lib/roken/verify.c: Change name verify_unix_user ->
3815         unix_verify_user in analogy with krb_verify_user.
3816
3817 Fri Aug 30 1996
3818
3819         * appl/xnlock/Makefile.in: Install man-page.
3820
3821         * configure.in, */Makefile.in: Replace `-shared' with some other
3822         option when not using gcc.
3823
3824         * lib/kafs/afssys.c: Do not start by checking if we have AFS in
3825         `k_afsklog'.
3826
3827         * appl/bsd/rlogin.c: More kludges to make it work with rlogin on
3828         linux: Do not select for an exceptional condition on `rem' after
3829         having received EINVAL.
3830         
3831         Also rewrote ifndef NOENCRYPTION stuff.
3832
3833         * appl/bsd/rlogind.c: More kludges to make it work with rlogin on
3834         linux: Only send oob data just after having sent normal data to
3835         make sure we never send two consecutive bytes of oob data.
3836
3837         Also rewrote ifndef NOENCRYPTION stuff.
3838
3839 Thu Aug 29 1996
3840
3841         * lib/kafs/Makefile.in: Use `ld' instead of `cc' for linking
3842         afslib.so.  Not everybody has cc.
3843
3844 Wed Aug 28 1996
3845
3846         * Release 0.9.2a
3847
3848 Mon Aug 26 1996
3849
3850         * appl/bsd/login.c: Clean-up.  Made static a lot of functions and
3851         variables.  Rewrote some function definitions to ANSI-style.
3852
3853         * appl/bsd/sysv_environ.c: KRB4_MAILDIR may and may not contain a
3854         trailing slash.  We need to be very careful to make sure the
3855         contents of $MAIL does not contain two, because RMAIL in emacs
3856         uses it and emacs is no friend with double slashing.
3857
3858
3859         * lib/kafs/afssys.c (k_afsklog_all_local_cells): Now should return
3860         correct value.
3861
3862 Sun Aug 25 1996
3863
3864         * Release 0.9.2.
3865
3866 Sat Aug 24 1996
3867
3868         * lib/roken/hstrerror.c: Check for h_errlist prototype.
3869
3870 Thu Aug 22 1996
3871
3872         * lib/krb/send_to_kdc.c, etc/services.append, server/kerberos.c:
3873         Changed `kerberos' to `kerberos-iv' now that it has been
3874         registered with IANA.
3875
3876         * man/rshd.8, man/rlogind.8: updated documentation of `-a'
3877
3878         * lib/roken/roken.h: Added declaration of `h_errno'
3879
3880         * kuser/Makefile.in: Link kdestroy with KRB_KAFS_LIB
3881
3882         * appl/kauth/kauth.h: Stupid declarations for syslog.
3883
3884         * appl/kauth/kauthd.c: syslog errors and success.
3885
3886         * include/protos.H: Removed `h_errno', now in roken.h Declare
3887         `getusershell' under solaris.
3888
3889         * configure.in, acconfig.h: Figure out if we have to declare
3890         `h_errno'.
3891
3892         * appl/ftp/ftp/kauth.c: Added support for afs_string_to_key.
3893
3894 Wed Aug 21 1996
3895
3896         * lib/kafs/afssys.c: Look for AFS database servers in dns also.
3897
3898         * lib/kafs/afssys.c: Add support for a ~/.TheseCells-file.
3899
3900 Sun Aug 18 1996
3901
3902         * appl/bsd/rlogind.c: Removed unused `check_all' variable.  Use
3903         `inaddr2str'.
3904
3905         * appl/bsd/rshd.c: Use `inaddr2str'.
3906         
3907         * appl/bsd/iruserok.c: Removed potential buffer overrun after
3908         `gethostbyaddr'.
3909
3910         * lib/roken/inet_aton.c: Some const-ness.
3911
3912         * lib/roken/Makefile.in: Add `inaddr2str.o'.
3913
3914         * appl/ftp/ftpd/ftpd.c: Use `inaddr2str'.
3915
3916         * lib/roken/inaddr2str.c, lib/roken/roken.h: New function
3917         `inaddr2str' to convert an IP address into a verified hostname or
3918         a string of the form x.y.z.a
3919
3920         * lib/krb/{krb_locl.h, krb.h, k_name_to_name.c, k_getsockinst.c,
3921         getrealm.c}: Some const-ness.
3922         
3923         * appl/bsd/bsd_locl.h: Removed another prototype for `crypt'.
3924
3925         * appl/kpopper/popper.h: Some const-ness to get rid of a warning.
3926
3927         * appl/bsd/rshd.c: Always check reverse mapping.  Removed
3928         `local_domain' and `top_domain'.  Added some const-ness.
3929
3930 Sat Aug 17 1996
3931
3932         * include/Makefile.in: Removed VPATH.  With it this makefile does
3933         not work correctly.
3934
3935         * lib/krb/rw.c, lib/krb/krb_locl.h: Changed parameters to
3936         `krb_{get,put}'-functions to void *.
3937
3938         * include/protos.H: Add `getusershell' in solaris.
3939
3940         * appl/kauth/kauthd.c, appl/bsd/{rlogin.c,rlogind.c}: Less
3941         warnings because of arguments to `setsockopt'.
3942
3943         * lib/roken/roken.h: Fixed prototype of `inet_aton'
3944
3945 Wed Aug 14 1996
3946
3947         * lib/roken/verify.c: Use <crypt.h> if there is one.
3948
3949         * lib/kafs/Makefile.in: AFS_EXTRA_LIBS is always called
3950         `afslib.so'.  Otherwise some makes get upset when there is no such
3951         library to be made.
3952
3953         * appl/telnet/telnetd/telnetd.h: <protos.h> are needed to get
3954         prototype for `ptsname'.
3955
3956         * appl/bsd/rlogind.c, appl/kpopper/pop_dropinfo.c,
3957         appl/telnet/libtelnet/{auth.h,enc_des.c,kerberos.c},
3958         appl/telnet/telnet/utilities.c, appl/telnet/telnetd/{sys_term.c,
3959         telnetd.h, kadmin/admin_server.c, kuser/klist.c,
3960         lib/kdb/{krb_cache.c, krb_dbm.c}, lib/krb/{fgetst.c, getst.c,
3961         log.c, tf_util.c}: Include type `int' on all definitions and
3962         remove unnecessary `register'.
3963
3964         * appl/bsd/login_access.c: Fix parameter declaration to
3965         `netgroup_match'.
3966
3967         * appl/bsd/forkpty.c, include/protos.h: s/__sgi__/__sgi//g
3968
3969         * admin/kdb_util.c: Use `errno' for error message instead of
3970         uninitialized variable.
3971
3972 Tue Aug 13 1996
3973
3974         * appl/kauth/rkinit.c: Default port should be the same in kauth
3975         and kauthd.
3976
3977 Sun Aug 11 1996
3978
3979         * configure.in: Added `AC_REVISION'
3980
3981         * slave/kpropd.c: Cleaned up structure.  Now returns useful value.
3982
3983         * lib/roken/verify.c: Broken OSes need declartion of `crypt'.
3984
3985         * lib/roken/roken.h: Added prototype for `verify_unix_user'.
3986
3987         * lib/krb/lsb_addr_comp.h: Added prototype for `lsb_time'.
3988
3989         * lib/krb/{get_admhst.c, get_default_principal.c, get_krbhst.c,
3990         get_krbrlm.c, getrealm.c, realm_parse.c} : Check for buffer
3991         overwrite correctly.
3992
3993         * lib/krb/rw.c, lib/krb/krb_locl.h: Prepended `krb_' to `get_int',
3994         `put_int', `get_address', `put_address', `put_string',
3995         `get_string', `get_nir', and `put_nir'.  Changed all callers.
3996
3997         * lib/kdb/krb_db.h: Added prototype for `kerb_delete_principal'
3998         and `kerb_db_delete_principal'.
3999
4000         * lib/kadm/kadm_cli_wrap.c: Removed unused variable.
4001
4002         * appl/telnet/telnetd/telnetd.c: Changed bogus `strncpy' to
4003         `strcpy'.
4004
4005         * appl/bsd/su.c: Fixed error messages from execv.
4006
4007         * appl/bsd/rlogin.c: Fixed potential buffer overrun when reading
4008         "TERM".
4009
4010 Thu Aug 8 1996
4011
4012         * appl/telnet/telnet/commands.c, appl/kauth/rkinit.c: Replaced
4013         `herror' by `hstrerror'.
4014         
4015         * appl/bsd/login.c: chmod the tty so that it is writable for group
4016         tty.
4017
4018         * configure.in: Use AC_FIND_IF_NOT_BROKEN for herror and
4019         hstrerror.
4020
4021         * aclocal.m4: New macro `AC_FIND_IF_NOT_BROKEN'
4022
4023         * config.guess: Add 686
4024
4025 Tue Aug 6 1996
4026
4027         * lib/krb/getrealm.c: Fallback for `T_TXT'
4028
4029         * configure.in: Look for `res_search' and `dn_expand' in
4030         libresolv.
4031
4032 Mon Aug 5 1996
4033
4034         * */Makefile.in: Add Id to those missing it.
4035
4036         * configure.in: Small fix in comment.
4037
4038
4039         * Release 0.9.1.
4040
4041
4042         * appl/ftp/ftpd/ftpcmd.y: s/timeout/ftpd_timeout/
4043
4044         * appl/kstring2key/kstring2key.c: `usage' changed to void.
4045
4046         * lib/krb/mk_req.c: `build_request' changed to void.
4047
4048         * appl/ftp/ftp/ftp_locl.h: Changed order of includes.
4049
4050         * appl/bsd/login.c, appl/ftp/ftpd/*: s/timeout/login_timeout/
4051
4052         * lib/kafs/afssysdefs.h: undef AFS_SYSCALL if we are defining it.
4053
4054 Sun Aug 4 1996
4055
4056         * lib/kafs/afssys.c: AIX systems will now correctly (I hope)
4057         detect whether AFS is loaded or not. This is currently a bit
4058         kludgy, and involves loading an external shared library,
4059         afslib.so, which can be put in athena/lib or pointed to with
4060         environment variable AFSLIBPATH.  This is only tested on AIX 4
4061         (due to lack of an AIX 3 system).
4062
4063
4064         * lib/krb/getrealm.c: Range-check the result from the DNS.
4065
4066         * lib/krb/get_krbrlm.c: Try to use the DNS to find out which realm
4067         this host belongs to.
4068
4069         * kadmin/ksrvutil_get.c: Fixed error message.
4070
4071
4072         * lib/kafs/*: Fix aix/afs brokenness.
4073
4074         * lib/kadm/kadm_stream.c (stv_string): Range check.
4075
4076 Fri Jul 26 1996
4077
4078         * appl/ftp/common/{ftp,ruserpass}.c: Less bogus domain name
4079         handling.
4080
4081 Mon Jul 22 1996
4082
4083         * lib/krb/mk_req.c: Use encrypt_ktext()
4084
4085         * configure.in, lib/kafs/afssys.c: Add option to exclude AFS
4086         support (this is useful only on AIX systems that doesn't have
4087         AFS).
4088
4089         * configure.in: Removed configuration from subdirectories.
4090
4091 Sat Jul 13 1996
4092
4093         * appl/ftp/ftp/extern.h, appl/ftp/ftp/ftp.c: Substitute `struct
4094         fd_set' with `fd_set'.
4095
4096 Mon Jul 8 1996
4097
4098         * Makefile.in: install should depend on all.
4099
4100 Sun Jul 7 1996
4101
4102         * appl/bsd/su.c: Allow root to set the uid without entering a
4103         password.
4104
4105 Fri Jul 5 1996
4106
4107         * lib/krb/getrealm.c: Add automatic dns realm search.
4108
4109 Thu Jul 4 1996
4110
4111         * lib/krb/log.c (krb_log): Renamed k_log(...) to krb_log(...) for
4112         compatibility with CNS. There is still a #define k_log krb_log.
4113
4114         * util/et/et_list.c: Hack to resolve _et_list in shared libraries.
4115
4116 Fri Jun 28 1996
4117
4118         * appl/bsd/rlogin.c (reader): If after a select rlogin fails to
4119         read expected OOB data try to read ordinary data before continuing.
4120
4121         * appl/bsd/rlogin.c (oob_real): SunOS5 tty race kludge.
4122
4123         * appl/bsd/rlogind.c: Cleanup oobdata stuff.
4124
4125 Thu Jun 27 1996
4126
4127         * appl/bsd/login.c (main): Also check for complete tty name with
4128         `rootterm'.
4129
4130         * lib/krb/check_time.c: New function `krb_check_tm'.
4131
4132         * lib/roken/tm2time.c: New function `tm2time', mktime generalized
4133         to local timezone and UTC.
4134
4135         * kadmin, admin: Use `tm2time' and `krb_check_time' instead of
4136         `maketime'.
4137
4138 Tue Jun 25 1996
4139
4140         * lib/krb/mk_priv.c (krb_mk_priv): Send correct address.
4141
4142         * appl/kauth/kauthd.c: Set ticket file to some sane default, and
4143         add -i debugging switch.
4144
4145 Mon Jun 24 1996
4146
4147         * appl/xnlock, appl/kauth, appl/telnet/telnetd: Use BINDIR and not
4148         `/usr/athena/bin'.
4149
4150 Wed Jun 19 1996
4151
4152         * appl/bsd/rlogin.c: consistent usage of oob_real.
4153
4154         * appl/bsd/rlogind.c: Do not send oob garbage when running
4155         solaris?  Seems that linux is unable to handle the duplicate
4156         urgent data that is the result.
4157         
4158         * appl/bsd/rlogind.c: Fix usage.
4159
4160         * appl/bsd/kcmd.c: Don't F_SETOWN.
4161
4162 Mon Jun 17 1996
4163
4164         * lib/krb/rw.c: Add get_address() and put_address().
4165
4166
4167         * appl/telnet/telnetd/telnetd.c: updated usage
4168
4169         * appl/bsd/su.c: Replaced getpass by des_read_pw_string
4170
4171         * appl/bsd/forkpty.c (ptym_open): Removed unused `ptr2'.
4172
4173         * appl/bsd/rlogind.c: Removed unused functions and made others
4174         static.
4175
4176 Sun Jun 16 1996
4177
4178         * Release 0.9.
4179         
4180
4181         * appl/ftp/ftpd/ftpd.c: Don't just send data in plain when doing
4182         NLST.
4183
4184
4185         * configure.in: test for setresgid.
4186
4187         * kadmin/ksrvutil_get.c: Fixed byte manipulations of keys.
4188
4189 Sat Jun 15 1996
4190
4191         * lib/des/rnd_keys.c (des_rand_data): At least `srandom'.
4192
4193         * appl/ftp/ftp/cmds.c: Support longer passwords when retrying
4194         login.
4195
4196         * kadmin/admin_server.c, man/kadmind.8, kth-krb.texi: Reading key
4197         file from file is now the default.  Use `-m' to enter it manually.
4198         `-n' is currently a no-op.
4199
4200         * appl/ftp/ftpd/ftpd.c: Add S/Key support.
4201
4202         * appl/ftp/ftpd/Makefile.in: Link with S/Key.
4203
4204         * appl/ftp/configure.in: Test for S/key.
4205         
4206         * configure.in, aclocal.m4: Moved skey test
4207         to aclocal.m4.
4208
4209         * appl/bsd/login.c: Correct argument to `skeyaccess'.
4210
4211 Fri Jun 14 1996
4212
4213         * lib/krb/verify_user.c: New parameter to specify service key
4214         instance, NULL means "rcmd".
4215
4216         * lots of files: All ticket filenames uses `TKT_ROOT'.
4217
4218         * appl/bsd/rlogind.c: Check for uid == 0 and user != "root".
4219
4220 Tue Jun 11 1996
4221
4222         * appl/kpopper/pop_init.c(pop_init): Got rid of some old ifdef'ed
4223         code.
4224
4225         * lib/kdb/krb_dbm.c: Add macro for `dbm_delete' for the people
4226         that are ndbm challenged.
4227
4228 Mon Jun 10 1996
4229
4230         * lib/krb/kname_parse.c: Got rid of duplicate defintions.
4231
4232         * appl/ftp/ftp/ruserpass.c: Get hostname even if user has no
4233         '.netrc' file.
4234
4235
4236         * lib/kadm, lib/kdb, kadmin: Add database delete operation.
4237
4238         * lib/krb/kname_parse.c: Allow dots in instances.
4239
4240
4241         * appl/bsd/rlogind.c (logwtmp): Only define `logwtmp' if it does
4242         not exist.  Log more garbage.
4243
4244 Sun Jun 9 1996
4245
4246         * appl/telnet/configure.in: Check for `logwtmp'.
4247
4248         * appl/ftp/configure.in: Use `AC_FUNC_MMAP'
4249
4250
4251         * appl/bsd/forkpty.c: Removed all ugly pty search stuff from
4252         ptym_open().
4253
4254         * configure.in: Modified the creation of version.h, now actually
4255         shows up with ident.It is now also slightly more keen on creating
4256         a new version.h.
4257
4258 Sat Jun 8 1996
4259
4260         * lib/roken/verify.c: <stdio.h> for NULL.
4261
4262         * appl/xnlock/xnlock.c (leave): Call XCloseDisplay, otherwise
4263         screen saver changes are not updated before closing the X
4264         connection.
4265
4266
4267         * appl/bsd/utmp_login.c: Remove tty-prefix from ut_id; this field
4268         is usually very short.
4269
4270 Fri Jun 7 1996
4271
4272         * slave/kpropd.c: Add option -m to merge rather then load
4273         database.
4274
4275 Thu Jun 6 1996
4276
4277         * admin/kdb_util.c: Add a merge operation.  (One day it might be
4278         used to propagate only patches to the database)
4279
4280 Wed Jun 5 1996
4281
4282         * appl/kpopper: Support both POP3 and KPOP3.
4283
4284         * appl/xnlock/xnlock.c: Use `verify_unix_user'
4285
4286         * lib/roken/verify.c: verify_unix_user: New function from xnlock
4287         for checking passwd in `/etc/passwd'.
4288
4289         * appl/telnet/telnetd/sys_term.c: gettimeofday buglet
4290
4291
4292         * slave/kpropd.c: Rewrite of kpropd.
4293
4294         * admin/kdb_util.c: Sanity check on input to load_db.
4295
4296         * slave/kpropd.c: Use default value for fname.
4297
4298         * slave/kprop.c: Use some sane default values for data_file and
4299         slaves_file.
4300
4301         * admin/kdb_util.c: If there isn't any database when loading,
4302         create an empty one.
4303
4304 Mon Jun 3 1996
4305
4306         * appl/telnet/telnetd/sys_term.c: Somewhat changed the way utmpx
4307         entries are created. It should now work on both Solaris and IRIX,
4308         without stale login information.
4309
4310 Sat Jun 1 1996
4311
4312         * lib/krb/k_gethostname.c (k_gethostname): Fallback.
4313
4314         * lib/krb/send_to_kdc.c (send_to_kdc),
4315           kadmin/kadm_ser_wrap.c (kadm_ser_init),
4316           slave/kprop.c (prop_to_slaves),
4317           slave/kpropd.c (main): Use `k_getportbyname'.
4318
4319 Fri May 31 1996
4320
4321         * Lots of files: more #includes ifdefad and cleaned up.
4322
4323 Thu May 30 1996
4324
4325         * Lots of files: Replaced bcopy/bzero/bcmp with
4326         memcpy/memset/memcmp.
4327
4328
4329         * lib/krb/get_default_principal.c: Use getlogin() if it is the BSD
4330         variant that actually gives some information.
4331
4332         * lib/krb/create_ticket.c: Write correct address byteorder.
4333
4334         * lib/kadm/kadm_stream.c,kadm_cli_wrap.c: Don't assume int32_t is
4335         four bytes.
4336
4337         * kadmin/kpasswd.c: Allow principal without -n.
4338
4339         * kadmin/kadmin.c: Use krb_get_default_principal.
4340
4341         * appl/ftp/ftpd/ftpd.c: Fix bare newline bug.
4342
4343         * appl/bsd/rlogind.c: Add -i and -p options to start rlogind from
4344         command line (for debugging).
4345
4346         * INSTALL: Rewritten.
4347
4348 Wed May 29 1996
4349
4350         * appl/ftp/ftp/krb4.c: Handle different sizes of returned
4351         checksum.
4352
4353
4354         * appl/bsd/Makefile.in: Don't install login setuid.
4355
4356 Fri May 24 1996
4357
4358         * appl/bsd/rsh.c: Don't run away yelling if someone calls you
4359         `remsh'.
4360
4361 Sun May 19 1996
4362
4363         * lib/krb/kdc_reply.c: Remove unused function decrypt_tkt. Sanity
4364         check on decrypted ticket.
4365
4366 Wed May 15 1996
4367
4368         * server/kerberos.c: Should work with the new libkrb
4369
4370         * appl/kip: Support more than one tunnel device.
4371
4372
4373         * lib/krb/*.c: All functions that create or decode kerberos
4374         packets have been rewritten.  Hopefully, everything still
4375         works. This is to eliminate problems with wierd systems, like
4376         Crays, that doesn't have any two or four byte integers. Some of
4377         these changes could be a lot more pretty, and *many* assumptions
4378         that sizeof(int32) == 4 still exist in the rest of the code,
4379         though.
4380
4381         As a side effect, all packets sent are now in network byte order.
4382
4383 Mon May 13 1996
4384
4385         * configure.in: Shared libraries for Irix
4386
4387
4388         * Several fixes for UNICOS.
4389
4390         * appl/ftp/ftp/krb4.c: Allow default data protection level through
4391         a "prot level" in .netrc. This really should be done in a more
4392         useful manner.
4393
4394 Sun May 12 1996
4395
4396         * appl/xnlock/xnlock.c: Cleaned up user verification code. Now
4397         uses new function krb_verify_user.  Also fixed a few problems with
4398         the password prompt box.
4399
4400         * lib/krb/verify_user.c: New function krb_verify_user to verify a
4401         user with kerberos.
4402
4403
4404         * appl/kip: New program for forwarding IP packets over kerberised
4405         connections using tunnel devices.
4406
4407         * appl/kauth/kauth.c, kadmin/ksrvutil.c: Use
4408         krb_get_default_principal
4409
4410         * appl/bsd/rlogind.c: Do not change portnumber to host order if
4411         using kerberos.  This will cause the magic
4412         `reverse-time-if-port-is-less-than' to fail.
4413
4414         * lib/des/GNUmakefile: Removed file.  This file causes problem
4415         when building in the source directory and when using GNU make
4416         which prefers this file to the generated Makefile.
4417
4418         * appl/bsd/login.c: More careful when handling returned value from
4419         `getspnam'.
4420
4421 Sat May 11 1996
4422
4423         * lib/krb/realm_parse.c: New function to expand a non-complete
4424         realm to its official name, e.g nada -> NADA.KTH.SE.
4425
4426         * lib/krb/get_default_principal.c: New function to guess the
4427         default principal to use. Looks at any existing ticket file first,
4428         then at uid/logname etc.
4429
4430
4431         * kadmin/kadmin.c: Use kname_parse and allow different instances
4432         and realms.
4433
4434         * lib/roken/k_getpwnam.c: New function k_getpwnam that should work
4435         with and without shadow passwords.
4436
4437         * Lots of files: s/getpwnam/k_&/g.
4438
4439 Tue May 7 1996
4440
4441         * lib/des/des_locl.h: DES library updated to version 3.23,
4442         des_locl.h now includes configure.h to get HAVE_TERMIOS etc.
4443
4444         * lib/des/des.h: On the alpha define DES_LONG to unsigned int.
4445         
4446
4447         * kuser/kinit.c: Handle passwords longer than 16 characters.
4448
4449         * appl/xnlock/xnlock.c (GetPasswd): Handle longer passwords than
4450         16 characters.
4451
4452 Sun May 5 1996
4453
4454         * Release 0.8.
4455
4456
4457         * appl/ftp/ftpd/kauth.c: Klist command.
4458
4459
4460         * appl/ftp/ftpd: Removed `-g' from calls to ls.
4461
4462         * appl/ftp/ftp/cmds.c (setpeer): Fix so that opening a second
4463         connection to a specified port works.
4464
4465         * appl/telnet/telnet: Default is binary.
4466
4467         * appl: Now build under Ultrix.
4468
4469         * appl/kx: Now even builds on AIX.
4470
4471 Sat May 4 1996
4472
4473         * lib/des: Now merged in libdes 3.21 on main branch.
4474
4475
4476         * appl/ftp/ftpd/logwtmp.c: Slightly different functionality. Works
4477         on systems that has more fields in struct utmp such as OSF/1.
4478         Still some questions about Solaris.
4479
4480         * lib/krb/lsb_addr_comp.c: Now byteorder independent.
4481
4482
4483         * appl/kx: Rewrote kx & kxd to share more code.  They are also now
4484         able to talk both ways.
4485
4486         * lib/kdb/krb_dbm.c (kerb_db_rename): Now works properly when
4487         using berkeley DB.
4488
4489 Thu Apr 25 1996
4490
4491         * lib/krb/get_krbrlm.c (krb_get_default_realm): New function for
4492         SunOS5 compat.
4493
4494         * When building shared libraries link libkrb with libdes to be
4495         compatible with SunOS5.
4496
4497         * Move lib/krb/krb_err.et to lib/kadm since it is only used there,
4498         no longer need to link libkrb against libcom_err.
4499         
4500 Wed Apr 24 1996
4501
4502         * lib/krb/lsb_addr_comp.h: Renamed ugly lsb_addr_comp.
4503
4504         * Some porting to UNICOS.
4505
4506 Tue Apr 23 1996
4507
4508         * Moved some junk from appl/bsd to libroken.
4509         
4510         * lib/roken/Makefile.in (LIBNAME): Added header file roken.h for
4511         library libroken.a.
4512
4513
4514         * Add kerberized ftp.
4515
4516         * Add libroken.
4517
4518 Mon Apr 22 1996
4519
4520         * appl/kauth/kauth.c: When commands are given to kauth, a new
4521         ticket file is used.
4522
4523 Sat Apr 20 1996
4524
4525         * appl/xnlock/xnlock.c: Fixed a potential overwrite bug. Also
4526         works with more than one screen, only fancy stuff on screen 0,
4527         though.
4528
4529 Fri Apr 19 1996
4530
4531         * appl/bsd/login.c, su.c, rshd.c, rlogind.c: Syslog and abort when
4532         getpwnam returns uid == 0 but user is not root. This is usually
4533         the result of an attack on NIS (former YP).
4534
4535 Wed Apr 17 1996
4536
4537         * kadmin/ksrvutil.c (get_key_from_password): Support for
4538         generating AFS keys.  From <flag@it.kth.se>
4539
4540 Sun Apr 14 1996
4541
4542         * appl/kx: New program for forwarding a X connection.
4543
4544 Mon Apr 8 1996
4545
4546         * appl/bsd/rsh.c (get_shell_port): Default port number for ekshell
4547         changed from 2106 to 545.
4548
4549         * appl/bsd/login.c (doremotelogin): Remove terminal speed from the
4550         value of $TERM in the case of an ancient rlogind being used.
4551
4552 Thu Apr 4 1996
4553
4554         * lib/kafs/afssys.c (k_afsklog): Try to read from
4555         /usr/vice/etc/TheseCells for list of cells we should try to obtain
4556         tokens for.
4557
4558         * appl/kauth/kauth.c (renew): Use cell even when renewing.
4559         
4560         * appl/kauth/kauth.c, appl/xnlock/xnlock.c: Always call k_afsklog
4561         with realm == NULL.
4562
4563
4564         * lib/kafs/afssys.c: More thorough guessing of what realm a cell
4565         belongs to.
4566
4567 Wed Apr 3 1996
4568
4569         * appl/bsd/login.c: If setuid() failes and not logging in as root,
4570         exit.
4571
4572 Tue Apr 2 1996
4573
4574         * server/kerberos.c: Set name, inst, and realm to NULL in
4575         APPL_REQUEST, error replies tend to look a bit funny otherwise.
4576
4577 Thu Mar 28 1996
4578
4579         * appl/bsd/iruserok.c (iruserok): Imported iruserok() FreeBSD.
4580
4581 Tue Mar 26 1996
4582
4583         * lib/des/Makefile.in: Removed enc_read.c enc_writ.c.
4584         
4585         * appl/bsd/Makefile.in: New file with the old functions from
4586         libdes.
4587
4588
4589         * appl/bsd/utmp_login.c: Fixed (hopefully) double utmp-entries in
4590         Solaris. Only put entries in one of utmp/utmpx, since they both
4591         get updated by putut*ent() anyway.
4592
4593 Mon Mar 25 1996
4594
4595         * kuser/klist.c (main): Use verbose option (-v) to list key
4596         version numbers.
4597
4598
4599         * Release 0.7.
4600
4601 Sun Mar 24 1996
4602
4603         * appl/bsd/rlogin.c (doit): Moved signal junk (as far as possible)
4604         to doit().
4605
4606
4607         * configure.in: Check for getmsg with AC_TRY_RUN instead.
4608         Otherwise it fails under AIx 3.2.  Now rlogind works on this
4609         so-called OS.  Also cache value of berkeley db check.
4610
4611
4612         * lib/kdb/krb_kdb_utils.c: New experimental masterkey generation,
4613         enabled with --enable-random-mkey. This makes kdb_init et al
4614         generate random master keys, based on random input from the
4615         user. This comes in a package with auto-kstash, and possibility to
4616         enter lost master keys as base64.
4617
4618         Moved default master key file from /.k to
4619         /var/kerberos/master-key, override with --with-mkey=file.
4620
4621
4622         * kadmin/kadmin.c (do_init): Handle the `-t' option to kadmin,
4623         meaning do not get a new ticket file.  (From CNS).
4624
4625 Fri Mar 22 1996
4626
4627         * appl/xnlock/xnlock.c: Removed some dead code, and a few unused
4628         header files.
4629
4630
4631         * kadmin/pw_check.c (kadm_pw_check): If kadm_pw_check()
4632         fails *pw_msg can't be 0! At the very least use the
4633         empty string but a descriptive error-message is preferred.
4634
4635         * libtelnet: add nonbroken signal() function.
4636
4637 Wed Mar 20 1996
4638
4639         * appl/kpopper/pop_pass.c (pop_pass): Use kuserok to determine if
4640         user is allowed to fetch mail.
4641
4642         * appl/kpopper/*. Got rid of some ugly codes and some warnings.
4643
4644         * appl/bsd/Makefile.in: signal.o was not included in OBJECTS,
4645         which made strange makes not doing what they should.
4646
4647         * configure.in, appl/kpopper/popper.h, appl/bsd/pathnames.h: Now
4648         should work on systems that do not have mail spool files in
4649         /var/spool/mail.  Looks for MAILDIR or _PATH_MAILDIR, usually from
4650         <paths.h> or <maillock.h>.  Defaults to /var/spool/mail.
4651
4652 Mon Mar 18 1996
4653
4654         * appl/bsd/bsd_locl.h: TIOCPKT for those systems missing it.
4655
4656 Fri Mar 15 1996
4657
4658         * lib/kafs/kafs.h: Use <sys/ioctl.h> instead of <sys/ioccom.h>
4659
4660         * appl/bsd/rshd.c (doit): Don't set environ, send it as an
4661         argument to execle instead.
4662
4663         * lib/kafs/kafs.h: Find definition of _IOW.
4664
4665         * configure.in: Check for random.
4666
4667         * appl/bsd/bsd_locl.h: Including <crypt.h> gives too many conflicts.
4668
4669         * appl/afsutil/pagsh.c: Check for random.
4670
4671 Thu Mar 14 1996
4672
4673         * appl/bsd/bsd_locl.h, appl/telnet/telnetd/defs.h: Default values
4674         of `TIOCPKT_FLUSHWRITE' & c:o.
4675
4676         * appl/telnet/telnet{,d}/Makefile.in (telnetd): Change order of
4677         linking in libraries.
4678
4679         * configure.in: Check for interesting functions in libsocket and
4680         libnsl and not strange soriasis inventions.
4681
4682 Wed Mar 13 1996
4683
4684         * appl/bsd/bsd_locl.h (fatal): Only use prototype or iruserok if
4685         the function does not exist.
4686
4687 Mon Mar 11 1996
4688
4689         * lib/krb/krb_err_txt.c (krb_get_err_text): Changed name of
4690         krb_err_msg to krb_get_err_text(int) to be compatible with the CNS
4691         distribution. This function is used for instance by CVS-1.7.
4692
4693 Sun Mar 10 1996
4694
4695         * configure.in, appl/Makefile.in: removed rkinit
4696
4697         * etc/inetd.conf.changes, etc/services.append: Added kauth.
4698
4699         * appl/kauth: Integrated rkinit into kauth.
4700         
4701         * appl/kauth/kauth.c (main): Only look for principal name if no -p
4702         has been given.
4703
4704         * lots of files: prototypes and other small fixes.
4705         
4706         * appl/bsd/sysv_shadow.h: spwd multiple defined.
4707
4708         * appl/bsd/bsd_locl.h: include <crypt.h>
4709
4710         * configure.in: Added afsutil and rkinit.
4711
4712         * */Makefile.in: Do cd $$i && $(MAKE).  Otherwise, if cd fails you
4713         end up with an infinite recursion.
4714
4715         * kuser/klist.c (display_tktfile): Another warning removed.
4716
4717 Tue Mar 5 1996
4718
4719         * appl/bsd/forkpty.c (forkpty): Kludge for Ultrix, rlogind now
4720         works properly also under this system.
4721
4722
4723         * appl/afsutil: New aklog and pagsh
4724
4725
4726         * lib/krb/krb_equiv.c (krb_equiv): Fix bugs with '\\'.
4727
4728         * lib/des/rnd_keys.c: Include <sys/time.h>.
4729
4730 Mon Mar 4 1996
4731
4732         * appl/kauth/kauth.c (main): Handle name when given after options.
4733
4734 Sun Mar 3 1996
4735
4736         * appl/rkinit/rkinit.c (getalladdrs): Check for herror.  Solaris
4737         apparently does not have any.
4738         (main): Use memset instead of bzero.
4739
4740         * appl/rkinit/rkinitd.c (decrypt_remote_tkt): bcopy -> memcpy.
4741
4742         * kuser/kinit.c (main): Corrected lifetime.
4743
4744         * lib/krb/krb_equiv.c (krb_equiv): Now handles longer lines,
4745         continuation lines and addresses of the form 193.10.156.0/24.
4746
4747
4748         * kuser/Makefile.in (kdestroy): Link kdestroy with libkafs.
4749
4750 Wed Feb 28 1996
4751
4752         * Replaced all occurencies of krb_err_txt[] with new function
4753         krb_err_msg(), that does some sanity checks before indexing
4754         krb_err_txt.
4755
4756 Mon Feb 26 1996
4757
4758         * appl/telnet/telnetd: Added flags -z to have telnetd log
4759         unauthenticated logins, such as when using an old telnet
4760         client. Unfortunately in most of these cases, the user name is not
4761         known.
4762         
4763         There should also be a way to tell the difference between bad
4764         authentication (such as with expired tickets) and no attempt to
4765         provide authentication (such as with an old client).
4766
4767 Sun Feb 25 1996
4768
4769         * kuser/kdestroy.c: Remove afs-tokens as well as tickets, -t flags
4770         added to prevent this.
4771
4772 Thu Feb 22 1996
4773
4774         * appl/rkinit/rkinitd.c (doit): Use k_getsockinst to make it work
4775         correctly for multi-homed hosts.
4776
4777         * appl/rkinit: New program with rkinit functionality.
4778
4779         * lib/krb/k_getport.c: Function for finding port in /etc/services
4780         with fallback.
4781
4782         * lib/krb/netread.c,netwrite.c (krb_net_{read,write}): Now correct
4783         prototype with void * and size_t.
4784
4785 Wed Feb 21 1996
4786
4787         * kadmin/new_pwd.c (get_pw_new_pwd): Moved get_pw_new_pwd to
4788         seperate file.  Now called both from kadmin and kpasswd.
4789
4790         * kadmin/pw_check.c (kadm_pw_check): Handle the case of no
4791         password provided.  This is really a policy decision.  The server
4792         should be able to say `use a client that sends the password'.
4793
4794         * appl/bsd/rlogind.c (local_domain): MAXHOSTNAMELEN -> MaxHostNameLen.
4795
4796 Sun Feb 18 1996
4797
4798         * appl/bsd/rcp.c (answer_auth): Made rcp multihome aware.
4799
4800         * appl/bsd/rlogind.c (do_krb_login): Made rlogind multihome aware.
4801
4802         * appl/bsd/rshd.c (doit): Made rshd multihome aware.
4803
4804         * lib/krb/k_getsockinst.c (k_getsockinst): New function to figure
4805         out the instance name of interfaces on multihomed hosts. Use this
4806         function when making daemons multihome aware.
4807
4808         * appl/telnet/libtelnet/kerberos.c (kerberos4_is): Made telnetd
4809         multihome aware.
4810
4811 Mon Feb 12 1996
4812
4813         * Release 0.6.
4814
4815 Sun Feb 11 1996
4816
4817         * lots of files: hacks to make it all compile.
4818
4819         * configure.in, appl/telnet/configure.in: More broken AIX.
4820
4821
4822         * appl/bsd/bsd_locl.h: Fix for old syslogs (as in Ultrix).
4823
4824
4825         * appl/telnet/libtelnet/encrypt.c: encrypt_verbose by default.
4826
4827
4828         * appl/telnet/libtelnet/kerberos.c: Show difference between
4829         MUTUAL and ONE_WAY KERBEROS4.
4830
4831         * appl/telnet/libtelnet/encrypt.c:
4832         Print message about not encrypting when receiving WONT or DONT encrypt.
4833
4834
4835         * configure.in: Automatic check for HAVE_NEW_DB.
4836
4837
4838         * lib/krb/getaddrs.c (k_get_all_addrs): Fixed for systems with
4839         SOCKADDR_HAS_SA_LEN, aka 4.4BSD-based.
4840
4841         * appl/telnet/telnetd/global.c: Removed some multiple defined
4842         variables.
4843
4844         * appl/bsd/rlogind.c (cleanup): ifndef HAVE_VHANGUP.
4845
4846         * appl/bsd/sysv_shadow.h: Add DAY and DAY_NOW ifndef.
4847
4848         * configure.in: Check if `struct sockaddr' has `sa_len'.
4849
4850 Sat Feb 10 1996
4851
4852         * appl/telnet/telnetd/telnetd.c (recv_ayt): pty -> ourpty.
4853
4854         * appl/bsd/bsd_locl.h: More include-files: <sys/uio.h> and <userpw.h>
4855
4856         * appl/kpopper/popper.c (catchSIGHUP): Got rid of some warnings.
4857
4858         * lib/krb/log.c (new_log): Yet another year 2000.
4859
4860         * appl/bsd/sysv_environ.c (read_etc_environment): Support setting
4861         environment variables from /etc/environment.
4862
4863         * appl/bsd/bsd_locl.h: <usersec.h>
4864
4865         * configure.in: check for setpcred, libs.a and <usersec.h>.
4866
4867         * appl/bsd/login.c (main): setpcred is used on AIX.
4868
4869         * appl/bsd/rshd.c (doit): Added setpcred for AIX.
4870
4871         * lib/krb/getaddrs.c: <sys/sockio.h> is sometimes needed.
4872
4873         * admin/kdb_init.c (main): Now verifies master key.
4874
4875         * lib/kdb/krb_kdb_utils.c (kdb_get_master_key): Added possibility
4876         of asking for verfication.
4877
4878         * appl/bsd/bsd_locl.h: Try to include <sys/stream.h>
4879
4880         * appl/telnet/telnetd/utility.c (printsub): Mismatch arguments.
4881
4882         * lib/krb/send_to_kdc.c (send_to_kdc): Send to all A records and
4883         accept an answer from anything we have sent to.
4884
4885         * appl/kauth/kauth.c (renew): Use strange return types for strange
4886         OSes.
4887         (doexec): Remove tokens.
4888
4889         * server/kerberos.c (main): Uses k_get_all_addrs and binds to each
4890         of these addresses.
4891
4892         * kadmin/ksrvutil_get.c (ksrvutil_get): Added support for
4893         specifying key to create on command line to get.
4894
4895 Wed Feb 7 1996
4896
4897         * lib/krb/log.c (k_log): Now using YYYY for years.
4898
4899         * lib/krb/klog.c (klog): Preparing for the year 2000.
4900
4901         * kuser/kinit.c (main): Added option -p to get changepw-tickets.
4902
4903         * lib/krb/getaddrs.c: New file to get all the addresses of all the
4904         interfaces on this machine.
4905
4906 Tue Feb 6 1996
4907
4908         * configure.in: Support for S/Key in login.c. Use --with-skeylib
4909         switch to configure. The code assumes that the skeylib.a comes
4910         from logdaemon.
4911
4912         * General support for shadow password files if there is an
4913         shadow.h.
4914
4915         * appl/bsd/su.c: Arrange so that it supports shadow passords.
4916
4917 Sun Feb 4 1996
4918
4919         * appl/telnet/*: Hacks to make it work on strange OSes.
4920
4921         * appl/bsd/bsd_locl.h: Check for sys/ptyvar.h
4922
4923         * appl/telnet/configure.in (telnet_msg): sys/str_tty.h, sys/uio.h
4924
4925         * configure.in: test for crypt.h and sys/ptyvar.h
4926
4927         * appl/telnet/telnetd/*.c: pty -> ourpty.
4928
4929
4930         * telnetd: Changes to make more systems work better, specifically
4931         AIX 4. Hopefully this will work on both STREAM and BSD
4932         systems. Not tested on some systems, like CRAY and Linux.
4933
4934
4935         * util/ss/mk_cmds.c: Generating cleaner code.
4936
4937         * lib/krb/krb_err_txt.c (krb_err_txt): Clarification.
4938
4939         * kadmin/admin_server.c: Less varnings.
4940
4941         * appl/xnlock/xnlock.c: Changed some types and added some casts.
4942
4943         * appl/movemail/movemail.c: Not using syswait.h anymore.
4944
4945         * appl/xnlock/xnlock.c: God rid of some warnings.
4946
4947         * util/ss/*.[ch]: cleanup
4948
4949         * util/et/*.[ch]: cleanup
4950
4951         * appl/bsd/rcp.c: Less warnings.
4952
4953         * kadmin/admin_server.c (kadm_listen): Get rid of another warning.
4954
4955         * kadmin/pw_check.c (kadm_pw_check): Support for letting cracklib
4956         check the quality of the password.
4957
4958         * kadmin/pw_check.h (kadm_pw_check): New argument to
4959         kadm_pw_check: list of useful strings to check for.
4960
4961         * kadmin/kadm_server.c (kadm_ser_cpw): Send a few `useful' strings
4962         to kadm_pw_check (name, instance, and realm).
4963
4964         * kadmin/Makefile.in (kadmind): Linking with -lcrack.
4965
4966         * configure.in: Support for --with-cracklib and --with-dictpath.
4967
4968         * kadmin/ksrvutil_get.c: Now seems to be working.
4969
4970         * kadmin/ksrvutil.h: Some new parameters.
4971
4972         * kadmin/ksrvutil.c: Some reorganisation and uses a working
4973         ksrvutil_get.
4974
4975         * appl/movemail/movemail.c: Some more include-files.
4976
4977         * appl/bsd/rlogind.c: Testing for the existence of vhangup.
4978
4979 Wed Jan 31 1996
4980
4981         * configure.in: Massaged the configure files so that we can build
4982         under NEXTSTEP 3.3. Some kludges to prevent cpp bugs and link
4983         errors where also neccessary.
4984
4985 Tue Jan 30 1996
4986
4987         * appl/xnlock/xnlock.c (main): Improved user feedback on password
4988         input.
4989
4990         * appl/xnlock/xnlock.c: Applied patch made by flag@it.kth.se that
4991         enables C-u to erase the password field.
4992
4993         * lib/krb/lifetime.c: configure now creates a version string which
4994         is referenced here. Use what and grep version to figure out where,
4995         when and by whom binaries where created.
4996
4997         * appl/bsd/forkpty.c (ptys_open): Call revoke before pty slave is
4998         opened. Add revoke using vhangup for those system lacking revoke.
4999         Also call vhangup when rlogind exits.
5000
5001 Mon Jan 29 1996
5002
5003         * lib/krb/send_to_kdc.c (send_to_kdc): Removed kludge for SunOS
5004         3.2 and Ultrix 2.2 that prevented multihomed kerberos servers to
5005         operate correctly.
5006
5007         * kadmin/kadmin.c (change_key): Add new subcommand change_key so
5008         that it is possible to enter keys in the DB on binary form. Most
5009         usefull for sites running AFS.
5010
5011 Fri Jan 26 1996
5012
5013         * appl/bsd/su.c (koktologin): New option -i root-instance. If you
5014         want a user.afs ticket in a root shell and user.afs is on root's
5015         ACL then do a "su -i afs".
5016
5017         * Makefile.in: Rearrange the order of object files to make shared
5018         libraries slightly more efficient.
5019
5020         * appl/kauth/kauth.c (main): Always up case realm. Better error
5021         messages on failed exec.
5022
5023 Mon Jan 22 1996
5024
5025         * appl/bsd/rshd.c (main): New option -P to prevent rshd from using
5026         a new PAG. Expert use only!
5027
5028         * appl/bsd/rlogind.c (doit): Avoid race when setting tty size.
5029
5030         * appl/bsd/rlogin.c (reader): Use select rather than horrible
5031         signal hacks to handle OOB data.
5032
5033         * appl/bsd/login.c (main) sysv_environ.c (sysv_newenv): Login does
5034         now honor the -p switch when invoked by root. This is used by
5035         telnetd to export environment variables.
5036
5037 Fri Jan 5 1996
5038
5039         * appl/bsd/signal.c (signal): New BSD compatible signal
5040         function. Most r* applications assume reliable signals.
5041
5042
5043         * appl/bsd/login.c (main): Check HAVE_ULIMIT.
5044
5045         * appl/bsd/bsd_locl.h: Include sys/ioctl.h.
5046
5047         * configure.in: Check for ulimit.
5048
5049         * admin/kdb_edit.c: Flush stdout after printing prompts.
5050
5051         * appl/kpopper/pop_xmit.c: Remember to include config.h.
5052
5053 Tue Jan 2 1996
5054
5055         * appl/bsd/login.c (main): New function stty_default to setup
5056         default tty settings.
5057
5058 Fri Dec 29 1995
5059
5060         * appl/kstring2key/kstring2key.c (main): New program that converts
5061         passwords to DES keys, either using des_string_to_key or
5062         afs_string_to_key.
5063
5064         * server/kerberos.c: Kerberos server now listen on 2 ports,
5065         kerberos/udp and kerberos-sec/udp.
5066
5067 Wed Dec 27 1995
5068
5069         * appl/bsd/rcp.c (main): Integrated -x option to rcp. This
5070         required some real horrible hacks in lib/des/enc_{read,write}.c
5071
5072         * acconfig.h: Enabled MULTIHOMED_KADMIN in acconfig.h.
5073
5074         * Add RCSID stuff to telnet files.
5075
5076 Fri Dec 22 1995
5077
5078         * appl/bsd/login.c (main): The login program does now by default
5079         read /etc/default/login, even on non Psoriasis systems. Unifdef
5080         SYSV4, this was essentially only for prompting.
5081
5082 Mon Dec 18 1995
5083
5084         * appl/kpopper/popper.c (main): Integrate default timeout of 120
5085         seconds from Qualcomm popper. Timeout is also set able with -T
5086         seconds.
5087
5088
5089         * lib/kadm/kadm_cli_wrap.c (kadm_change_pw_plain): If there's no
5090         password, don't even send the empty string.
5091
5092 Thu Dec 7 1995
5093
5094         * lots of files: all debug messages now printed to stderr (from
5095         <lama@pdc.kth.se>)
5096
5097         * lib/krb/tf_util.c (tf_create): New method for creating a new
5098         ticket file.  Remove the old old and then open with O_CREAT and
5099         O_EXCL.
5100
5101         * server/kerberos.c, slave/kpropd.c: Some casts to get rid of warnings.
5102
5103         * configure.in: Added checks for unistd.h, memmove and const.
5104
5105         * appl/telnet/telnet/commands.c: Changed types of functions to
5106         confirm with struct Command.
5107
5108         * appl/telnet/configure.in: Check for setpgid.
5109
5110         * appl/bsd/rlogin.c: Get rid of another warning.
5111
5112         * appl/bsd/bsd_locl.h, appl/telnet/acconfig.h: New synonym for
5113         solaris.
5114
5115 Wed Dec 6 1995
5116
5117         * (movemail): Now from emacs-19.30. If you have a newish emacs
5118         there is no reason to use this movemail.
5119
5120         * (kadm): Added support for server side password checks. Hopefully
5121         this is compatible with kerberos 4.10. Old kpasswd:s will give
5122         funny error messages. For examples of checks, see
5123         kadmin/pw_check.c. Since this is mostly political matters,
5124         kadm_pw_check() should probably return KADM_SUCCESS by default.
5125
5126 Mon Nov 27 1995
5127
5128         * appl/telnet/telnetd/telnetd.c (main): Kludge to fix encryption
5129         problem with Mac NCSA telnet 2.6.
5130
5131
5132         * lib/krb/stime.c: Now using YYYY for years.  (2000 is soon here).
5133
5134         * appl/bsd/rsh.c, rcp.c, rlogin.c: Fixed fallback for port number
5135         (added missing ntohs).
5136
5137 Sun Nov 12 1995
5138
5139         * (many files): More ANSI/ISO 9899-1990 to the people!  
5140         Now actually builds (not including util) with DEC "cc -std1" and
5141         Sun "acc -Xc".  There are still major prototype conflicts, but
5142         there isn't much to do about this.
5143
5144 Sat Oct 28 1995
5145
5146         * lib/kadm/kadm_cli_wrap.c: Fallback for kerberos and
5147         kerberos_master services.
5148
5149 Fri Oct 27 1995
5150
5151         * Released version 0.5
5152
5153
5154         * lib/des/read_pwd.c: Redifine TIOCGETP and TIOCSETP so that the
5155         same code is used both for posix termios and others.
5156
5157         * rsh, rlogin: Add environment variable RSTAR_NO_WARN which when
5158         set to "yes" make warnings about "rlogin: warning, using standard
5159         rlogin: remote host doesn't support Kerberos." go away.
5160
5161 Tue Oct 24 1995
5162
5163         * admin/kdb_util.c (load_db) lib/kdb/krb_dbm.c (kerb_db_update):
5164         Optimized so that it can handle large databases, previously a
5165         10000 entry DB would take *many* minutes, this can now be done in
5166         under a minute.
5167
5168 Sat Oct 21 1995
5169
5170         * Changes in server/kerberos.c, kadmin/*.c slave/*.c to support 64
5171         bit machines. Source should now be free of 64 bit assumptions.
5172
5173         * admin/copykey.c (copy_from_key): New functions for copying to
5174         and from keys. Neccessary to solve som problems with longs on 64
5175         bit machines in kdb_init, kdb_edit, kdb_util and ext_srvtab.
5176
5177         * lib/kdb/krb_kdb_utils.c (kdb_verify_master_key): More problems
5178         with longs on 64 bit machines.
5179
5180 Mon Oct 16 1995
5181
5182         * appl/bsd/login.c (main): Lots of stuff to support Psoriasis
5183         login. Courtesy of gertz@lysator.liu.se.
5184
5185         * configure.in, all Makefile.in's: Support for Linux shared
5186         libraries. Courtesy of svedja@lysator.liu.se.
5187
5188         * lib/krb/cr_err_reply.c server/kerberos.c: Moved int req_act_vno
5189         = KRB_PROT_VERSION; from server kode to libkrb where it really
5190         belongs.
5191
5192         * appl/bsd/forkpty.c (forkpty): New function that allocates master
5193         and slave ptys in a portable way. Used by rlogind.
5194
5195         * appl/telnet/telnetd/sys_term.c (start_login): Under SunOS5 the
5196         same utmpx slot got used by sevral sessions. Courtesy of
5197         gertz@lysator.liu.se.
5198
5199 Wed Oct 4 1995
5200
5201         * util/{ss, et}/Makefile.in (LEX): Use flex or lex. Courtesy of
5202         svedja@lysator.liu.se.
5203
5204         * Fix the above Makefiles to work around bugs in Solaris and OSF/1
5205         make rules that was triggered by VPATH functionality in the yacc
5206         and lex rules.
5207
5208 Mon Oct 2 1995
5209
5210         * appl/kpopper/pop_log.c (pop_log) appl/kpopper/pop_msg.c (pop_msg):
5211         Use stdarg instead of varargs. The code is still broken though,
5212         you'll realize  that on a machine with 64 bit pointers and 32 bit 
5213         int:s and no vsprintf, let's hope there will be no such beasts ;-).
5214
5215         * appl/telnet/telnetd/sys_term.c (getptyslave): Not all systems
5216          have (or need) modules ttcompat and pckt so don't flag it as a
5217          fatal error if they don't exist.
5218
5219 Mon Sep 25 1995
5220
5221         * kadmin/admin_server.c (kadm_listen) kadmind/kadm_ser_wrap.c
5222         (kadm_listen): Add kludge for kadmind running on a multihomed
5223         server. #ifdef:ed under MULTIHOMED_KADMIN. Change in acconfig.h
5224         if you need this feature.
5225
5226         * appl/Makefile.in (SUBDIRS): Add applications movemail kpopper
5227         and xnlock.
5228
5229 Wed Sep 20 1995
5230
5231         * appl/bsd/rlogin.c (main): New rlogind.c, forkpty() is not
5232         implemented yet though.
5233
5234 Wed Sep 13 1995
5235
5236         * appl/xnlock/Makefile.in: Some stubs for X11 programs in
5237         configure.in as well as a kerberized version of xnlock.
5238
5239         * appl/bsd/{rlogin.c, rsh.c, rcp.c}: Add code to support fallback
5240         port numbers if they can not be found using getservbyname.
5241
5242 Tue Sep 12 1995
5243
5244         * appl/bsd/klogin.c (klogin): Use differnet ticket files for each
5245         login so that a malicous user won't be able to destroy our tickets
5246         with a failed login attempt.
5247
5248         * lib/kafs/afssys.c (k_afsklog): First we try afs.cell@REALM, if
5249         there is no such thing try afs@CELL instead. There is now two
5250         arguments to k_afslog(char *cell, char *realm).
5251
5252 Mon Sep 11 1995
5253
5254         * kadmin/admin_server.c (kadm_listen): If we are multihomed we
5255         need to figure out which local address that is used this time
5256         since it is used in "direction" comparison.
5257
5258 Wed Sep 6 1995
5259
5260         * kadmin/kadm_ser_wrap.c (kadm_ser_init): Fallback to use default
5261         port number.
5262
5263         * lib/krb/send_to_kdc.c (send_to_kdc): Default port number
5264         (KRB_PORT) was not in network byte order.
5265
5266 Tue Sep 5 1995
5267
5268         * lib/krb/send_to_kdc.c (send_recv): Linux clears timeout struct
5269         when selecting.
5270
5271
5272 Mon Sep 4 1995
5273
5274         * appl/bsd/rcp.c, appl/bsd/rlogin.c, appl/bsd/rsh.c:
5275         Now does fallback if there isn't any entries in /etc/services for
5276         klogin/kshell. This also made the code a bit more pretty.
5277
5278
5279         * appl/bsd/login.c: Added support for lots of more struct utmp fields.
5280         If there is no ttyslot() use setutent and friends.
5281
5282         * appl/bsd/Makefile.in, appl/bsd/rlogind.c, appl/bsd/rshd.c:
5283         Added extern iruserok().
5284
5285         * appl/bsd/iruserok.c: Initial revision
5286
5287         * appl/bsd/bsd_locl.h: Must include sys/filio.h on Psoriasis.
5288
5289         * appl/bsd/Makefile.in: New install
5290
5291         * appl/bsd/pathnames.h: Fix default path, rsh and rlogin.
5292
5293         * appl/bsd/rshd.c: Extend default PATH with bindir to find rcp.
5294
5295
5296         * appl/bsd/login.c (login): If there is no ttyslot use setutent
5297         and friends. Added support for lots of more struct utmp fields.
5298
5299         * server/kerberos.c (main) lib/kafs/afssys.c appl/bsd/bsd_locl.h:
5300         Must include sys/filio.h on Psoriasis to find _IOW and FIO* macros.
5301
5302         * appl/bsd/rlogind.c (doit): Use _PATH_DEFPATH rather than
5303         _PATH_DEF.
5304
5305         * appl/bsd/login.c, su.c (main): Use fallback to bourne shell if
5306         running as root.
5307
5308         * appl/bsd/su.c (main): Update usage message to reflect that '-'
5309         option must come after the ordinary options and before login-id.
5310
5311 Sat Sep 2 1995
5312
5313         * appl/telnet/telnetd/telnetd.c (doit): If remote host name is to
5314         long to fit into utmp try to remove domain part if it does match
5315         our local domain.
5316
5317         (main): Add new option -L /bin/login so that it is possible to 
5318         specify an alternate login program.
5319
5320         * appl/telnet/telnet/commands.c (env_init): When exporting
5321         variable DISPLAY and if hostname is not the full name, try to get
5322         the full name from DNS.
5323
5324         * appl/telnet/telnet/main.c (main): Option -k realm was broken due
5325         to a bogous external declaration.
5326
5327 Fri Sep 1 1995
5328
5329         * kadmin/kadmin.c (add_new_key): Kadmin now properly sets
5330         lifetime, expiration date and attributes in add_new_key command.
5331
5332 Wed Aug 30 1995
5333
5334         * appl/bsd/su.c (main): Don't handle '-' option with getopt.
5335
5336         * appl/telnet/telnet/externs.h: Removed protection for multiple
5337         inclusions of termio(s).h since it broke definition of termio
5338         macro on POSIX systems.
5339
5340 Tue Aug 29 1995
5341
5342         * lib/krb/lifetime.c (krb_life_to_time): If you want to disable
5343         AFS compatible long lifetimes set krb_no_long_lifetimes = 1.
5344         
5345         Please note that the long lifetimes are 100% compatible up to
5346         10h so this should rarely be necessary.
5347
5348         * lib/krb/krb_equiv.c (krb_equiv): If you don't want to use
5349         ipaddress protection of tickets set krb_ignore_ip_address. This
5350         makes it possible for an intruder to steal a ticket and then use
5351         it from som other machine anywhere on the net.
5352
5353 Mon Aug 28 1995
5354
5355         * kadmin/kadm_ser_wrap.c (kadm_ser_init): Don't bind to only one
5356         local address. Accept request on all interfaces.
5357
5358         * admin/kdb_edit.c (change_principal): Don't accept illegal
5359         dates. Courtesy of gertz@lysator.liu.se.
5360
5361 Sat Aug 26 1995
5362
5363         * configure.in: AIX specific libraries needed when using standard
5364         libc routine getttyent, IBM should be ashamed!
5365
5366         * lib/krb/recvauth.c (krb_recvauth): Long that should be int32_t
5367         problem.
5368
5369         * Added strdup for su and rlogin.
5370
5371         * Fix for old syslog macros in appl/bsd/bsd_locl.
5372
5373 Fri Aug 25 1995
5374
5375         * lib/kdb/krb_dbm.c (kerb_db_rename) admin/kdb_destroy.c: New
5376         ifdef HAVE_NEW_DB for new databases residing in one file only.
5377
5378         * appl/bsd/rlogin.c (oob): Add workaround for Linux.
5379
5380 Mon Aug 21 1995
5381
5382         * appl/bsd/getpass.c: New routine that reads up to 127 char
5383         passwords. Used in su.c and login.c.
5384
5385 Tue Aug 15 1995
5386
5387         * appl/telnet/telnetd/sys_term.c (login_tty): Ioctl TIOCSCTTY
5388         should not be used on HP-UX.
5389
5390 Mon Aug 14 1995
5391
5392         * appl/bsd/rlogin.c (main): Added dummy rlogind that tells user to
5393         rather use telnet.
5394
5395 Thu Aug 10 1995
5396
5397         * lib/krb/ krb.h, decomp_ticket.c, getrealm.c, get_krbhst.c,
5398         get_krbrlm.c, get_admhst.c: 
5399
5400         Use multiple configuration directories for krb.conf and
5401         krb.realms, KRB_CONF and KRB_REALM_TRANS macros substituted with
5402         KRB_CNF_FILES and KRB_RLM_FILES. Currently /etc and
5403         /etc/kerberosIV are searched. Directory specified by envioronment
5404         variable KRBCONFDIR is searched first if set. No hardcoded
5405         realmname or kerberos server. Instead use domainname for deafult
5406         realm and kerberos.domain as kerberos server if they are not
5407         listed in krb.conf and/or krb.realms. In the normal case there
5408         should be no need for configuration files if administrators add a
5409         CNAME pointing to the kerberos server.
5410
5411         * appl/bsd/Makefile.in and friends: GNU make should no longer be
5412         neccessary unless building with VPATH.
5413
5414 Wed Aug 9 1995
5415
5416         * appl/bsd/klogin.c (klogin): Old ticket file need to be removed
5417         before we call krb_get_pw_in_tkt or we might get a Kerberos intkt
5418         error because the wrong user owns the file.
5419
5420 Tue Aug 8 1995
5421
5422         * configure.in : Telnet.beta2 is now official and has been moved
5423         to appl/telnet.
5424
5425         * appl/bsd/su.c (main): Reenable -K flag, won't work if not
5426         PASSWD_FALLBACK is enabled. Cosmetics for Password prompt.
5427
5428 Fri Aug 4 1995
5429
5430         * appl/bsd/su.c (kerberos): Don't allow su from possibly bogous
5431         kerberos server. Controlled by #ifdef KLOGIN_PARANOID.
5432
5433         * lib/kafs/afssys.c (SIGSYS_handler): Need to reinstall handler on
5434         SYSV.
5435
5436 Mon Jul 24 1995
5437
5438         * lib/kafs/afssys.c (k_afsklog): Use default realm on null argument.
5439
5440         * appl/bsd/rlogin.c, login.c: New programs.
5441
5442 Fri Jul 21 1995
5443
5444         * appl/bsd/kcmd.c rsh.c rlogin.c: Use POSIX signals.
5445
5446         * appl/telnet.95.05.31.NE/telnetd/sys_term.c, telnetd.c: Port to
5447         IRIX.
5448
5449 Tue Jul 11 1995
5450
5451         * admin/kdb_init.c (main): Use new random generator.  Dito in
5452         admin/kdb_edit.c. Use master key to initialize random sequence.
5453
5454 Mon Jul 10 1995
5455
5456         * kadmin/kadmin.c (get_password): Fix for random passwords.
5457         Dito for admin/kdb_edit.c
5458
5459         * appl/kauth/kauth.c (main): Updated for krb distribution, now
5460         uses new library libkafs.
5461
5462         * appl/telnet.beta/telnet/main.c (main): New telnet with
5463         encryption hacks from ftp.funet.fi:/pub/unix/security/esrasrc-1.0.
5464         Encryption does not currently work though.
5465
5466 Tue Jun 20 1995
5467
5468         * New library to support AFS. Routines:
5469
5470           int k_hasafs(void);
5471           int k_afsklog(...);
5472           int k_setpag(void);
5473           int k_unlog(void);
5474           int k_pioctl(char *, int, struct ViceIoctl *, int);
5475
5476           Modified it to support more than one single entry point AFS
5477           syscalls (needed by HPUX and OSF/1 when running DFS). Don't rely
5478           on transarc headers or library code.
5479
5480           This has not been tested and will most probably need some
5481           serious violence to get working under AIX. (AIX has since been
5482           fixed to. /bg)
5483
5484 Fri Jun 16 1995
5485
5486         * lib/krb/krb_equiv.c (krb_equiv): Compare IP adresses using
5487         krb_equiv() to allow for hosts with more than one address in files
5488         rd_priv.c rd_req.c and rd_safe.c.
5489
5490         * slave/kpropd.c (main): Fix uninitialized variables and rewind
5491         file in kprop.c.
5492
5493 Thu Jun 15 1995
5494
5495         * appl/bsd/rcp.c (allocbuf): Fix various bugs.
5496
5497         * slave/kpropd.c (main): Responder uses
5498         KPROP_SERVICE_NAME.`hostname' and requestor always uses
5499         KPROP_SERVICE_NAME.KRB_MASTER, i.e rcmd.kerberos in kprop/kpropd
5500         protocol.
5501
5502 Wed Jun 14 1995
5503
5504         * appl/bsd/rshd.c (doit): Encryption should now work both ways.
5505
5506 Tue Jun 13 1995
5507
5508         * appl/bsd/pathnames.h: Fixup paths.
5509
5510         * server/Makefile.in and friends (install): Install daemons in in
5511         libexec and administrator programs in sbin.
5512
5513
5514         * Makefile.in: Joda (d91-jda) added install target
5515
5516 Wed Jun 7 1995
5517
5518         * lib/krb/k_strerror.c: New function k_strerror() to use instead
5519         of the non portable sys_errlist[].