krb5.git
30 years agomore posix and linux fixes
Mark Eichin [Sun, 7 Aug 1994 04:58:52 +0000 (04:58 +0000)]
more posix and linux fixes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4059 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoFWRITE not needed for POSIX_TERMIOS
Mark Eichin [Sun, 7 Aug 1994 04:45:32 +0000 (04:45 +0000)]
FWRITE not needed for POSIX_TERMIOS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4058 dc483132-0cff-0310-8789-dd5450dbe970

30 years agouse __svr4__ temporarily..
Mark Eichin [Sat, 6 Aug 1994 18:09:22 +0000 (18:09 +0000)]
use __svr4__ temporarily..

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4057 dc483132-0cff-0310-8789-dd5450dbe970

30 years agounbreak linux use of in_systm.h
Mark Eichin [Sat, 6 Aug 1994 18:06:59 +0000 (18:06 +0000)]
unbreak linux use of in_systm.h

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4056 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoadd missing declaration of strsave
Mark Eichin [Sat, 6 Aug 1994 04:11:07 +0000 (04:11 +0000)]
add missing declaration of strsave

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4055 dc483132-0cff-0310-8789-dd5450dbe970

30 years agohack up utmp stuff
Mark Eichin [Sat, 6 Aug 1994 04:08:05 +0000 (04:08 +0000)]
hack up utmp stuff

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4054 dc483132-0cff-0310-8789-dd5450dbe970

30 years agorest of signal cleanups plus strsave
Mark Eichin [Fri, 5 Aug 1994 23:45:30 +0000 (23:45 +0000)]
rest of signal cleanups plus strsave

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4053 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: test for sigprocmask and sigset_t to set POSIX_SIGNALS.
Mark Eichin [Fri, 5 Aug 1994 22:49:46 +0000 (22:49 +0000)]
* configure.in: test for sigprocmask and sigset_t to set POSIX_SIGNALS.
* krlogin.c, kcmd.c: use POSIX_SIGNALS.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4052 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoultrix has wierd getutent, so check if utmp.ut_pid exists, and conditionalize
Mark Eichin [Fri, 5 Aug 1994 19:37:09 +0000 (19:37 +0000)]
ultrix has wierd getutent, so check if utmp.ut_pid exists, and conditionalize
on that too...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4051 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoalmost there. safety checkin
Mark Eichin [Thu, 4 Aug 1994 23:06:47 +0000 (23:06 +0000)]
almost there. safety checkin

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4050 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in:
Tom Yu [Thu, 4 Aug 1994 20:43:58 +0000 (20:43 +0000)]
* configure.in:
* kerberos_v4.c: don't include <sgtty.h> if POSIX_TERMIOS is
defined.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4049 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in:
Tom Yu [Thu, 4 Aug 1994 20:42:52 +0000 (20:42 +0000)]
* configure.in:
* kpropd.c: include <sgtty.h> only if POSIX_TERMIOS is not defined

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4048 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: pick up dbm libs
Tom Yu [Thu, 4 Aug 1994 18:54:08 +0000 (18:54 +0000)]
* configure.in: pick up dbm libs

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4047 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: fix make install
Tom Yu [Thu, 4 Aug 1994 17:25:06 +0000 (17:25 +0000)]
* configure.in: fix make install

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4046 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * asn1_decode_k.c (asn1_decode_sequence_of_enctype): fix typo
Tom Yu [Thu, 4 Aug 1994 17:23:18 +0000 (17:23 +0000)]
* asn1_decode_k.c (asn1_decode_sequence_of_enctype): fix typo

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4045 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: whoops install manpage as kadmin.8, not kadmin.1
Tom Yu [Thu, 4 Aug 1994 17:22:24 +0000 (17:22 +0000)]
* Makefile.in: whoops install manpage as kadmin.8, not kadmin.1

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4044 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * sys_term.h: fix linux lossage, i.e. <linux/tty.h>
Tom Yu [Thu, 4 Aug 1994 17:21:47 +0000 (17:21 +0000)]
* sys_term.h: fix linux lossage, i.e. <linux/tty.h>
* configure.in: check for STREAMSPTY (hopefully)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4043 dc483132-0cff-0310-8789-dd5450dbe970

30 years agooops forgot to look for install program
Tom Yu [Thu, 4 Aug 1994 09:25:35 +0000 (09:25 +0000)]
oops forgot to look for install program

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4042 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * aclocal.m4: fixed up Krb5InstallHeaders to use INSTALL_DATA
Tom Yu [Thu, 4 Aug 1994 07:57:32 +0000 (07:57 +0000)]
* aclocal.m4: fixed up Krb5InstallHeaders to use INSTALL_DATA
properly
* Makefile.in: fix mkdir breakage for install target

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4041 dc483132-0cff-0310-8789-dd5450dbe970

30 years agofixing make install
Tom Yu [Thu, 4 Aug 1994 07:56:29 +0000 (07:56 +0000)]
fixing make install

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4040 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: make install fixes
Tom Yu [Thu, 4 Aug 1994 07:55:11 +0000 (07:55 +0000)]
* Makefile.in: make install fixes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4039 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * pre.in: strip installed programs by default
Tom Yu [Thu, 4 Aug 1994 07:54:14 +0000 (07:54 +0000)]
* pre.in: strip installed programs by default

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4038 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: install kadmind in the right place
Tom Yu [Thu, 4 Aug 1994 07:53:32 +0000 (07:53 +0000)]
* Makefile.in: install kadmind in the right place

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4037 dc483132-0cff-0310-8789-dd5450dbe970

30 years agomake install fixes
Tom Yu [Thu, 4 Aug 1994 07:48:24 +0000 (07:48 +0000)]
make install fixes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4036 dc483132-0cff-0310-8789-dd5450dbe970

30 years agochecking in Harry's ASN.1 encoder tests. Will fix up later
Tom Yu [Thu, 4 Aug 1994 06:14:21 +0000 (06:14 +0000)]
checking in Harry's ASN.1 encoder tests.  Will fix up later

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4035 dc483132-0cff-0310-8789-dd5450dbe970

30 years agokadmin CLI functional spec
Tom Yu [Thu, 4 Aug 1994 04:28:04 +0000 (04:28 +0000)]
kadmin CLI functional spec

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4034 dc483132-0cff-0310-8789-dd5450dbe970

30 years agosome things to think about
Tom Yu [Thu, 4 Aug 1994 04:25:15 +0000 (04:25 +0000)]
some things to think about

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4033 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * asn1_decode_k.c (asn1_decode_sequence_of_enctype): more fixing
Tom Yu [Tue, 2 Aug 1994 13:15:21 +0000 (13:15 +0000)]
* asn1_decode_k.c (asn1_decode_sequence_of_enctype): more fixing
of realloc(NULL) returning NULL

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4032 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * scc_maybe.c (krb5_scc_open_file): changed an #ifdef from
Tom Yu [Tue, 2 Aug 1994 09:43:11 +0000 (09:43 +0000)]
* scc_maybe.c (krb5_scc_open_file): changed an #ifdef from
ANSI_STDIO to HAS_SETVBUF

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4031 dc483132-0cff-0310-8789-dd5450dbe970

30 years agofixes to dtrt with ANSI_STDIO; previously there was gratuitous abuse of
Tom Yu [Tue, 2 Aug 1994 09:41:55 +0000 (09:41 +0000)]
fixes to dtrt with ANSI_STDIO; previously there was gratuitous abuse of
this particular definition, as it was really just detecting the presence
of setvbuf().  Now it does a compile-and-run to check for binary fopen()
availability, and the check for setvbuf() has been moved.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4030 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: add check for dbm libs
Tom Yu [Fri, 29 Jul 1994 17:16:10 +0000 (17:16 +0000)]
* configure.in: add check for dbm libs

* commands.c: linux in_system.h (note "e") is broken

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4028 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoroundup
Mark Eichin [Wed, 27 Jul 1994 20:43:14 +0000 (20:43 +0000)]
roundup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4027 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoactually *use* LIBOBJS
Mark Eichin [Wed, 27 Jul 1994 20:41:09 +0000 (20:41 +0000)]
actually *use* LIBOBJS

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4026 dc483132-0cff-0310-8789-dd5450dbe970

30 years agogetdtablesize
Mark Eichin [Wed, 27 Jul 1994 20:35:54 +0000 (20:35 +0000)]
getdtablesize

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4025 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoHAVE_TTYENT_H, HAVE_SYS_LABEL_H
Mark Eichin [Wed, 27 Jul 1994 20:30:29 +0000 (20:30 +0000)]
HAVE_TTYENT_H, HAVE_SYS_LABEL_H

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4024 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoHAVE_SYS_LABEL_H
Mark Eichin [Wed, 27 Jul 1994 20:25:52 +0000 (20:25 +0000)]
HAVE_SYS_LABEL_H

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4023 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoUSE_DIRENT_H
Mark Eichin [Wed, 27 Jul 1994 20:23:21 +0000 (20:23 +0000)]
USE_DIRENT_H

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4022 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoneed HAVE_UNISTD_H
Mark Eichin [Wed, 27 Jul 1994 16:53:05 +0000 (16:53 +0000)]
need HAVE_UNISTD_H

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4021 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: fix missing $(srcdir)
Tom Yu [Wed, 27 Jul 1994 03:29:59 +0000 (03:29 +0000)]
* Makefile.in: fix missing $(srcdir)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4020 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: forgot some $(srcdir) stuff
Tom Yu [Wed, 27 Jul 1994 03:29:18 +0000 (03:29 +0000)]
* Makefile.in: forgot some $(srcdir) stuff

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4019 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: whoops left out some $(srcdir) stuff
Tom Yu [Wed, 27 Jul 1994 03:28:44 +0000 (03:28 +0000)]
* Makefile.in: whoops left out some $(srcdir) stuff

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4018 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoremove sys/ioctl since daemon() is now used
Mark Eichin [Tue, 26 Jul 1994 20:23:12 +0000 (20:23 +0000)]
remove sys/ioctl since daemon() is now used

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4017 dc483132-0cff-0310-8789-dd5450dbe970

30 years agosome more solaris cleanup
Mark Eichin [Tue, 26 Jul 1994 06:18:07 +0000 (06:18 +0000)]
some more solaris cleanup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4016 dc483132-0cff-0310-8789-dd5450dbe970

30 years agostrings.h is always wrong
Mark Eichin [Tue, 26 Jul 1994 04:33:35 +0000 (04:33 +0000)]
strings.h is always wrong

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4015 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: Added tests for HAVE_SETOWN, HAVE_SYS_FILIO_H.
Mark Eichin [Tue, 26 Jul 1994 04:32:06 +0000 (04:32 +0000)]
* configure.in: Added tests for HAVE_SETOWN, HAVE_SYS_FILIO_H.
* krlogin.c, krsh.c, krshd.c, krlogin.c, krlogind.c: use them.

Still doesn't build on Solaris, but it's a start.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4014 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: check for ndbm/dbm
Tom Yu [Mon, 25 Jul 1994 06:40:35 +0000 (06:40 +0000)]
* configure.in: check for ndbm/dbm

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4013 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: check for utmpx
Tom Yu [Mon, 25 Jul 1994 06:40:06 +0000 (06:40 +0000)]
* configure.in: check for utmpx

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4012 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: remove reference to lorder (linux doesn't have
Tom Yu [Mon, 25 Jul 1994 06:39:35 +0000 (06:39 +0000)]
* Makefile.in: remove reference to lorder (linux doesn't have
lorder, it seems)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4011 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * asn1buf.h: include ext-proto.h now to avoid type warnings
Tom Yu [Sat, 23 Jul 1994 12:56:31 +0000 (12:56 +0000)]
* asn1buf.h: include ext-proto.h now to avoid type warnings

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4010 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * kcmd.c:
Tom Yu [Sat, 23 Jul 1994 12:55:37 +0000 (12:55 +0000)]
* kcmd.c:
* krshd.c: include ext-proto.h to avoid type warnings

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4009 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoautoconf'ing telnet
Tom Yu [Sat, 23 Jul 1994 12:27:40 +0000 (12:27 +0000)]
autoconf'ing telnet

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4008 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: fix infinite recursion in rules
Tom Yu [Thu, 21 Jul 1994 05:07:10 +0000 (05:07 +0000)]
* Makefile.in: fix infinite recursion in rules
* gss-client.c:
* gss-misc.c:
* gss-server.c: downgrade to K&R function definitions

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4007 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: add ksu
Tom Yu [Thu, 21 Jul 1994 05:05:34 +0000 (05:05 +0000)]
* configure.in: add ksu

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4006 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in:
Tom Yu [Thu, 21 Jul 1994 05:05:04 +0000 (05:05 +0000)]
* Makefile.in:
* configure.in: attempt to autoconf

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4005 dc483132-0cff-0310-8789-dd5450dbe970

30 years agomore make install fixes
Tom Yu [Wed, 20 Jul 1994 04:29:19 +0000 (04:29 +0000)]
more make install fixes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4004 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in:
Tom Yu [Wed, 20 Jul 1994 03:59:39 +0000 (03:59 +0000)]
* Makefile.in:
* configre.in: changes to make autoconf work

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4003 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * kdb5_create.c: start kvno and mkno at 1, not 0
Tom Yu [Wed, 20 Jul 1994 03:58:56 +0000 (03:58 +0000)]
* kdb5_create.c: start kvno and mkno at 1, not 0

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4002 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: remove spurious includes rules
Tom Yu [Wed, 20 Jul 1994 03:58:23 +0000 (03:58 +0000)]
* Makefile.in: remove spurious includes rules

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4001 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in (in all relevant subdirs): another try at making
Tom Yu [Sat, 16 Jul 1994 14:41:40 +0000 (14:41 +0000)]
* configure.in (in all relevant subdirs): another try at making
dbm libs dtrt

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4000 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: hopefully make dbm libs dtrt
Tom Yu [Sat, 16 Jul 1994 14:40:19 +0000 (14:40 +0000)]
* configure.in: hopefully make dbm libs dtrt

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3999 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: another attempt to make dbm libs dtrt
Tom Yu [Sat, 16 Jul 1994 14:39:36 +0000 (14:39 +0000)]
* configure.in: another attempt to make dbm libs dtrt

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3998 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * daemon.c: <fcntl.h>, not <sys/fcntl.h>
Tom Yu [Sat, 16 Jul 1994 10:08:30 +0000 (10:08 +0000)]
* daemon.c: <fcntl.h>, not <sys/fcntl.h>

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3997 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * krb5_err.et: missing space between comma and doublequote
Tom Yu [Sat, 16 Jul 1994 10:07:53 +0000 (10:07 +0000)]
* krb5_err.et: missing space between comma and doublequote

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3996 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * asn1_encode_k.c (asn1_encode_transited_encoding): whoops don't
Tom Yu [Sat, 16 Jul 1994 10:07:08 +0000 (10:07 +0000)]
* asn1_encode_k.c (asn1_encode_transited_encoding): whoops don't
bomb if val->tr_contents.dlength == 0

* asn1_decode_k.c (asn1_decode_encrypted_data): oops looks like
Harry made a brain fart here.... default value for kvno was 5, not
0.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3995 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * kpasswd.c (get_first_ticket): fix error codes
Tom Yu [Sat, 16 Jul 1994 10:06:16 +0000 (10:06 +0000)]
* kpasswd.c (get_first_ticket): fix error codes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3994 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * kadmin.c (get_first_ticket): change error code to match
Tom Yu [Sat, 16 Jul 1994 10:05:43 +0000 (10:05 +0000)]
* kadmin.c (get_first_ticket): change error code to match

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3993 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * ksu.c: frob error codes
Tom Yu [Sat, 16 Jul 1994 10:05:08 +0000 (10:05 +0000)]
* ksu.c: frob error codes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3992 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * kinit.c: frob error codes
Tom Yu [Sat, 16 Jul 1994 10:04:28 +0000 (10:04 +0000)]
* kinit.c: frob error codes

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3991 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoindex->strchr, rindex->strrchr, add (char *) cast to malloc, have
Theodore Tso [Sat, 16 Jul 1994 06:26:34 +0000 (06:26 +0000)]
index->strchr, rindex->strrchr, add (char *) cast to malloc, have
proper include for the string functions.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3990 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoUmulate utimes() only for systems that don't have it; this is because
Theodore Tso [Sat, 16 Jul 1994 06:11:37 +0000 (06:11 +0000)]
Umulate utimes() only for systems that don't have it; this is because
rcp tries to set the millisecond argument, which might be significant
some day....

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3989 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoFix error return codes for sanity's sake
Theodore Tso [Sat, 16 Jul 1994 06:00:59 +0000 (06:00 +0000)]
Fix error return codes for sanity's sake

Fix error handling for bugs TGS renew/forward/etc requests.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3988 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoRemoved internal routine detach_process(), and replaced it with a
Theodore Tso [Sat, 16 Jul 1994 04:03:56 +0000 (04:03 +0000)]
Removed internal routine detach_process(), and replaced it with a
standards replacing daemon() call.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3987 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoAdd BSD daemon library routine
Theodore Tso [Sat, 16 Jul 1994 03:59:22 +0000 (03:59 +0000)]
Add BSD daemon library routine

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3986 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoChange to use POSIX getcwd() instead of getwd()
Theodore Tso [Sat, 16 Jul 1994 03:47:03 +0000 (03:47 +0000)]
Change to use POSIX getcwd() instead of getwd()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3985 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoFix core dump caused by trying to free stack garbage. :-)
Theodore Tso [Sat, 16 Jul 1994 03:39:20 +0000 (03:39 +0000)]
Fix core dump caused by trying to free stack garbage.  :-)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3984 dc483132-0cff-0310-8789-dd5450dbe970

30 years agolndir --- used to be autotools; used for making symlink trees
Theodore Tso [Sat, 16 Jul 1994 03:11:44 +0000 (03:11 +0000)]
lndir --- used to be autotools; used for making symlink trees

reconf --- quickie shell script which runs autoconf and autoheader
with the right arguments.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3983 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoUpdated protocol error messages to be in line with latest official
Theodore Tso [Fri, 15 Jul 1994 20:59:07 +0000 (20:59 +0000)]
Updated protocol error messages to be in line with latest official
assigned number document.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3982 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoUpdated protocol constants in line with latest official assigned numbers
Theodore Tso [Fri, 15 Jul 1994 20:58:16 +0000 (20:58 +0000)]
Updated protocol constants in line with latest official assigned numbers

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3981 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoAdded reserved port for the krb524 daemon
Theodore Tso [Fri, 15 Jul 1994 20:39:13 +0000 (20:39 +0000)]
Added reserved port for the krb524 daemon

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3980 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoUse POSIX utime() instead of non-posix utimes()
Theodore Tso [Fri, 15 Jul 1994 20:05:57 +0000 (20:05 +0000)]
Use POSIX utime() instead of non-posix utimes()

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3979 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoAdded MIT Copyright notices
Theodore Tso [Thu, 14 Jul 1994 15:44:15 +0000 (15:44 +0000)]
Added MIT Copyright notices

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3973 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoattempt at autoconf'ing
Tom Yu [Thu, 14 Jul 1994 07:42:49 +0000 (07:42 +0000)]
attempt at autoconf'ing

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3972 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in: suck in bsd now
Tom Yu [Thu, 14 Jul 1994 07:42:21 +0000 (07:42 +0000)]
* configure.in: suck in bsd now

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3971 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * asn1_encode_k.c (asn1_encode_pa_data): oops still check NULL if
Tom Yu [Thu, 14 Jul 1994 07:40:07 +0000 (07:40 +0000)]
* asn1_encode_k.c (asn1_encode_pa_data): oops still check NULL if
length != 0

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3970 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: remove spurious mkdir
Tom Yu [Thu, 14 Jul 1994 07:36:11 +0000 (07:36 +0000)]
* Makefile.in: remove spurious mkdir

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3969 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: some cleanup to not echo cruft
Tom Yu [Thu, 14 Jul 1994 07:35:30 +0000 (07:35 +0000)]
* Makefile.in: some cleanup to not echo cruft

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3968 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: nuke libss.a.bak crud
Tom Yu [Thu, 14 Jul 1994 07:34:30 +0000 (07:34 +0000)]
* Makefile.in: nuke libss.a.bak crud

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3967 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * Makefile.in: nuke the libcom_err.a.bak stuff
Tom Yu [Thu, 14 Jul 1994 07:33:56 +0000 (07:33 +0000)]
* Makefile.in: nuke the libcom_err.a.bak stuff

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3966 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoRemove no longer used files...
Theodore Tso [Wed, 13 Jul 1994 01:04:39 +0000 (01:04 +0000)]
Remove no longer used files...

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3965 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * aclocal.m4: cleaning up stuff to not echo things like "if
Tom Yu [Tue, 12 Jul 1994 03:34:23 +0000 (03:34 +0000)]
* aclocal.m4: cleaning up stuff to not echo things like "if
foo..."

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3964 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * asn1_encode_k.c (asn1_encode_pa_data): the contents field of a
Tom Yu [Sat, 9 Jul 1994 04:29:43 +0000 (04:29 +0000)]
* asn1_encode_k.c (asn1_encode_pa_data): the contents field of a
krb5_pa_data structure can be NULL (e.g.
salt_type==KRB5_KDB_SALTTYPE_V4), and the encoder was treating
this as a missing required field

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3962 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * asn1_decode_k.c: yet another instance of the SunOS realloc bug
Tom Yu [Sat, 9 Jul 1994 02:29:00 +0000 (02:29 +0000)]
* asn1_decode_k.c: yet another instance of the SunOS realloc bug

* asn1buf.c: whee SunOS realloc of a NULL pointer returns NULL.
sigh.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3961 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in (in all relevant subdirs):
Tom Yu [Fri, 8 Jul 1994 04:49:18 +0000 (04:49 +0000)]
* configure.in (in all relevant subdirs):
* Makefile.in (in all relevant subdirs): back out changes because
they were causing breakage under Ultrix

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3960 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in:
Tom Yu [Fri, 8 Jul 1994 04:42:59 +0000 (04:42 +0000)]
* configure.in:
* Makefile.in: back out changes because of possible breakage under
Ultrix, among other things

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3959 dc483132-0cff-0310-8789-dd5450dbe970

30 years agofixes to suck in -lndbm or -ldbm as needed
Tom Yu [Thu, 7 Jul 1994 03:07:30 +0000 (03:07 +0000)]
fixes to suck in -lndbm or -ldbm as needed

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3958 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * configure.in (in all relevant subdirs):
Tom Yu [Thu, 7 Jul 1994 03:05:46 +0000 (03:05 +0000)]
* configure.in (in all relevant subdirs):
* Makefile.in (in all relevant subdirs): fixes to suck in -lndbm
or -ldbm as needed

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3957 dc483132-0cff-0310-8789-dd5450dbe970

30 years ago * an1buf.c: Harry saves vs. Unix again. Making sure that anything
Tom Yu [Thu, 7 Jul 1994 00:36:33 +0000 (00:36 +0000)]
* an1buf.c: Harry saves vs. Unix again.  Making sure that anything
that can call calloc with a zero argument won't return ENOMEM if
calloc retuns NULL in this case.  This was prompted by breakage
under linux.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3956 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoupdated the spec to represent the current state of tests (chpass and randkey)
Michael Shanzer [Wed, 6 Jul 1994 19:01:55 +0000 (19:01 +0000)]
updated the spec to represent the current state of tests (chpass and randkey)

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3955 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoGet rid of strftime (since it breaks when used this way, at least under
Mark Eichin [Wed, 6 Jul 1994 17:38:49 +0000 (17:38 +0000)]
Get rid of strftime (since it breaks when used this way, at least under
Solaris, and many systems don't even have it) in generaltime encoder.

Use gmt_mktime in generaltime decoder.

With these changes, kinit works again under Solaris 2.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3953 dc483132-0cff-0310-8789-dd5450dbe970

30 years agoadd gmt_mktime to support new asn1 code
Mark Eichin [Wed, 6 Jul 1994 17:28:54 +0000 (17:28 +0000)]
add gmt_mktime to support new asn1 code

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3952 dc483132-0cff-0310-8789-dd5450dbe970