krb5.git
30 years agoGet the "getdate" routine working. Created suitable Makefile.in and
Theodore Tso [Fri, 7 Oct 1994 01:36:11 +0000 (01:36 +0000)]
Get the "getdate" routine working.  Created suitable Makefile.in and
configure.in scripts for this purpose.

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

30 years agoAdd default all target at the end of pre.in, thus ensuring that all
Theodore Tso [Thu, 6 Oct 1994 23:59:34 +0000 (23:59 +0000)]
Add default all target at the end of pre.in, thus ensuring that all
makefiles will do "make all" by default.

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

30 years agoReplace use of basename with sed --- it's more portable
Theodore Tso [Thu, 6 Oct 1994 23:59:01 +0000 (23:59 +0000)]
Replace use of basename with sed --- it's more portable

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

30 years agoTake out check that assures that long is 4 bytes. The DES
Theodore Tso [Thu, 6 Oct 1994 16:50:39 +0000 (16:50 +0000)]
Take out check that assures that long is 4 bytes.  The DES
implementation shouldn't be depending on this, and if it is, then
that's what the verify program should be discovering, yes?

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

30 years agoCheck to make sure key version number is 1, not 0
Theodore Tso [Thu, 6 Oct 1994 16:45:22 +0000 (16:45 +0000)]
Check to make sure key version number is 1, not 0

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

30 years agoInitialize all of the fields of the principal entry
Theodore Tso [Thu, 6 Oct 1994 16:44:46 +0000 (16:44 +0000)]
Initialize all of the fields of the principal entry

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

30 years agoUpdate for beta 4 patchlevel 3
Theodore Tso [Wed, 5 Oct 1994 03:49:38 +0000 (03:49 +0000)]
Update for beta 4 patchlevel 3

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

30 years agoDon't bomb out if the argument to krb5_free_principal() is NULL
Theodore Tso [Wed, 5 Oct 1994 02:11:58 +0000 (02:11 +0000)]
Don't bomb out if the argument to krb5_free_principal() is NULL

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

30 years agoOnly try to free the contents of the keytab_entry if it is non-NULL
Theodore Tso [Wed, 5 Oct 1994 02:11:23 +0000 (02:11 +0000)]
Only try to free the contents of the keytab_entry if it is non-NULL

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

30 years agoFix to compare using new_entry instead of cur_entry. (Bug made in
Theodore Tso [Wed, 5 Oct 1994 02:10:35 +0000 (02:10 +0000)]
Fix to compare using new_entry instead of cur_entry.  (Bug made in
previous modification. )  Don't free cur_entry twice on errors.

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

30 years agoDon't build the unifdef directory --- we don't need it any more
Theodore Tso [Tue, 4 Oct 1994 21:54:21 +0000 (21:54 +0000)]
Don't build the unifdef directory --- we don't need it any more

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

30 years agoAdd widen.h and narrow.h around declaration so that argument types are
Theodore Tso [Tue, 4 Oct 1994 21:52:49 +0000 (21:52 +0000)]
Add widen.h and narrow.h around declaration so that argument types are
widened.

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

30 years agoresolve's first argument is now a const char *
Theodore Tso [Tue, 4 Oct 1994 21:51:59 +0000 (21:51 +0000)]
resolve's first argument is now a const char *

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

30 years agoAdded missing * to function pointer deference
Theodore Tso [Tue, 4 Oct 1994 21:51:26 +0000 (21:51 +0000)]
Added missing * to function pointer deference

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

30 years agoDon't assume that krb5_timestamp and time_t are the same type
Theodore Tso [Tue, 4 Oct 1994 21:47:18 +0000 (21:47 +0000)]
Don't assume that krb5_timestamp and time_t are the same type

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

30 years agoAdd widen.h and narrow.h around declaration so that argument types are
Theodore Tso [Tue, 4 Oct 1994 21:46:48 +0000 (21:46 +0000)]
Add widen.h and narrow.h around declaration so that argument types are
widened.

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

30 years agoAdded placeholder for magic number
Theodore Tso [Tue, 4 Oct 1994 21:46:22 +0000 (21:46 +0000)]
Added placeholder for magic number

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

30 years agoDon't build the krb425 library. It is deprecated
Theodore Tso [Tue, 4 Oct 1994 21:44:20 +0000 (21:44 +0000)]
Don't build the krb425 library.  It is deprecated

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

30 years agoAdd magic numbers to encryption strctures
Theodore Tso [Tue, 4 Oct 1994 21:42:39 +0000 (21:42 +0000)]
Add magic numbers to encryption strctures

Make first argument to keytab.resolve be a const char *.

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

30 years agoAdd structure magic numbers
Theodore Tso [Tue, 4 Oct 1994 21:41:31 +0000 (21:41 +0000)]
Add structure magic numbers

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

30 years agoRearrange declarations so it will actually compile
Theodore Tso [Tue, 4 Oct 1994 21:35:31 +0000 (21:35 +0000)]
Rearrange declarations so it will actually compile

Added copyright notice.

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

30 years agoAdd krb_err.h for the V4 error tables. We should generate this properly
Theodore Tso [Tue, 4 Oct 1994 21:12:12 +0000 (21:12 +0000)]
Add krb_err.h for the V4 error tables.  We should generate this properly
later on.

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

30 years agoCommited wrong version of kdb_compat.h
Theodore Tso [Tue, 4 Oct 1994 19:39:38 +0000 (19:39 +0000)]
Commited wrong version of kdb_compat.h

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

30 years agoYou can't use strcat to modify constant strings!
Theodore Tso [Tue, 4 Oct 1994 19:35:43 +0000 (19:35 +0000)]
You can't use strcat to modify constant strings!

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

30 years agoDon't build unifdef. We don't need it anymore
Theodore Tso [Tue, 4 Oct 1994 19:33:40 +0000 (19:33 +0000)]
Don't build unifdef.  We don't need it anymore

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

30 years agoDon't build the krb425 library. It is deprecated
Theodore Tso [Tue, 4 Oct 1994 19:28:55 +0000 (19:28 +0000)]
Don't build the krb425 library.  It is deprecated

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

30 years agoAdd structure magic numbers
Theodore Tso [Tue, 4 Oct 1994 19:14:06 +0000 (19:14 +0000)]
Add structure magic numbers

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

30 years agoReserve space for the structure magic numbers
Theodore Tso [Tue, 4 Oct 1994 19:13:31 +0000 (19:13 +0000)]
Reserve space for the structure magic numbers

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

30 years agoAdd backwards compatibility for version numbers 1.0 and 2.0 of the
Theodore Tso [Tue, 4 Oct 1994 19:11:51 +0000 (19:11 +0000)]
Add backwards compatibility for version numbers 1.0 and 2.0 of the
database entry.

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

30 years agoDatabase records now must be version 2.0 (instead of versions 1.0 or
Theodore Tso [Tue, 4 Oct 1994 03:21:18 +0000 (03:21 +0000)]
Database records now must be version 2.0 (instead of versions 1.0 or
0.0).  The structure magic numbers force us to do an incompatible
version number change.

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

30 years agoAdd a magic number to krb5_db_entry. The other magic number changes to
Theodore Tso [Tue, 4 Oct 1994 03:20:13 +0000 (03:20 +0000)]
Add a magic number to krb5_db_entry.  The other magic number changes to
the other structures end up forcing an database format change anyway.

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

30 years agomake install obey $(DESTDIR)
Theodore Tso [Tue, 4 Oct 1994 02:51:53 +0000 (02:51 +0000)]
make install obey $(DESTDIR)

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

30 years agoMake install obey $(DESTDIR)
Theodore Tso [Tue, 4 Oct 1994 01:14:53 +0000 (01:14 +0000)]
Make install obey $(DESTDIR)

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

30 years agomake install obey $(DESTDIR)
Theodore Tso [Tue, 4 Oct 1994 01:13:41 +0000 (01:13 +0000)]
make install obey $(DESTDIR)

copy config.h and osconf.h from build directory.

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

30 years agoFix type used to call krb5_rc_io_size (one last time)
Theodore Tso [Mon, 3 Oct 1994 23:34:23 +0000 (23:34 +0000)]
Fix type used to call krb5_rc_io_size (one last time)

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

30 years agoUse $(srcdir) to find manual page for make install
Theodore Tso [Mon, 3 Oct 1994 23:22:38 +0000 (23:22 +0000)]
Use $(srcdir) to find manual page for make install

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

30 years agoFix "make install" to use $(srcdir) when copying in header files
Theodore Tso [Mon, 3 Oct 1994 22:51:14 +0000 (22:51 +0000)]
Fix "make install" to use $(srcdir) when copying in header files

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

30 years agoFix "make install" so that it uses $(srcdir) for header files
Theodore Tso [Mon, 3 Oct 1994 22:48:48 +0000 (22:48 +0000)]
Fix "make install" so that it uses $(srcdir) for header files

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

30 years agoDon't try to compile comple_et. Use awk/sed shell script version instead.
Theodore Tso [Mon, 3 Oct 1994 21:28:44 +0000 (21:28 +0000)]
Don't try to compile comple_et.  Use awk/sed shell script version instead.
It's more apt to be portable, since it doesn't use yacc or lex.  :-(

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

30 years agoDon't try to compile mk_cmds. Use awk/sed shell script replacement instead.
Theodore Tso [Mon, 3 Oct 1994 21:27:24 +0000 (21:27 +0000)]
Don't try to compile mk_cmds.  Use awk/sed shell script replacement instead.
It's more apt to be portable, since it doesn't use lex or yacc.  :-(

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

30 years agoLook for termios.h in <termios.h>, not <sys/termios.h>. The latter is what's
Theodore Tso [Mon, 3 Oct 1994 17:29:14 +0000 (17:29 +0000)]
Look for termios.h in <termios.h>, not <sys/termios.h>.  The latter is what's
specified in the POSIX standard.

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

30 years agoRemove declaration for strncpy()
Theodore Tso [Mon, 3 Oct 1994 17:22:44 +0000 (17:22 +0000)]
Remove declaration for strncpy()

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

30 years agokrb5kdc now removed with make clean
Theodore Tso [Mon, 3 Oct 1994 17:19:48 +0000 (17:19 +0000)]
krb5kdc now removed with make clean

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

30 years agoAdd magic number placeholder to statically initialized structures
Theodore Tso [Sat, 1 Oct 1994 02:31:23 +0000 (02:31 +0000)]
Add magic number placeholder to statically initialized structures

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

30 years agoAdd placeholders for structure magic numbers
Theodore Tso [Sat, 1 Oct 1994 02:30:49 +0000 (02:30 +0000)]
Add placeholders for structure magic numbers

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

30 years agoAdd magic number placeholder to statically initialized structures
Theodore Tso [Sat, 1 Oct 1994 02:19:49 +0000 (02:19 +0000)]
Add magic number placeholder to statically initialized structures

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

30 years agoindex()->strchr()
Theodore Tso [Sat, 1 Oct 1994 02:17:55 +0000 (02:17 +0000)]
index()->strchr()

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

30 years agoAdd magic number placeholder to statically initialized files
Theodore Tso [Sat, 1 Oct 1994 02:11:06 +0000 (02:11 +0000)]
Add magic number placeholder to statically initialized files

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

30 years ago * kbuild: log arguments to THISCONF, RECONF files
Mark Eichin [Sat, 1 Oct 1994 00:25:01 +0000 (00:25 +0000)]
* kbuild: log arguments to THISCONF, RECONF files

should now be able to "source ./kbuild.reconf" to re run... and easier to
tell what result actually worked...

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

30 years ago * kbuild: set SRCDIR by default from program name
Mark Eichin [Sat, 1 Oct 1994 00:06:35 +0000 (00:06 +0000)]
* kbuild: set SRCDIR by default from program name

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

30 years agoold style kbuild file
Mark Eichin [Sat, 1 Oct 1994 00:05:08 +0000 (00:05 +0000)]
old style kbuild file

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

30 years ago * aclocal.m4 (CONFIG_RULES): set SHELL=/bin/sh explicitly, as per
Mark Eichin [Fri, 30 Sep 1994 22:50:51 +0000 (22:50 +0000)]
* aclocal.m4 (CONFIG_RULES): set SHELL=/bin/sh explicitly, as per
GCS and to deal with SGI and OSF makes. This should cover all
Makefiles.

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

30 years agoAdd field for structure magic numbers
Theodore Tso [Fri, 30 Sep 1994 21:52:02 +0000 (21:52 +0000)]
Add field for structure magic numbers

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

30 years agoLet configure take care of removing const with AC_CONST
Theodore Tso [Fri, 30 Sep 1994 21:36:56 +0000 (21:36 +0000)]
Let configure take care of removing const with AC_CONST

internal.h: Use autoconf to determin whether or not declare perror()

compile_et.c: Add declaration of error_message manully.

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

30 years agoMore autoconf portability fixes --- for Solaris Suncc. SETPGRP_TWOARG,
Theodore Tso [Fri, 30 Sep 1994 21:07:15 +0000 (21:07 +0000)]
More autoconf portability fixes --- for Solaris Suncc.  SETPGRP_TWOARG,
HAVE_KILLPG, HAVE_SYS_TTY_H and HAVE_SYS_PTYVAR_H.

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

30 years agoRemove libkdb5.a on make clean
Theodore Tso [Fri, 30 Sep 1994 20:40:19 +0000 (20:40 +0000)]
Remove libkdb5.a on make clean

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

30 years agoconfigure now generates the makefile
Theodore Tso [Fri, 30 Sep 1994 17:17:16 +0000 (17:17 +0000)]
configure now generates the makefile

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

30 years agoRemoved MIT DES files
Theodore Tso [Fri, 30 Sep 1994 03:56:56 +0000 (03:56 +0000)]
Removed MIT DES files

Removed usage of the exern for mit_des_debug

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

30 years agoMake clean will remove executables
Theodore Tso [Fri, 30 Sep 1994 03:47:06 +0000 (03:47 +0000)]
Make clean will remove executables

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

30 years agoIf the prefix "FILE:" is not given, assume the default operations list
Theodore Tso [Fri, 30 Sep 1994 03:20:44 +0000 (03:20 +0000)]
If the prefix "FILE:" is not given, assume the default operations list
(whcih is krb5_kt_dfl_ops).

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

30 years agoRelink executable if libraries change
Theodore Tso [Fri, 30 Sep 1994 03:05:55 +0000 (03:05 +0000)]
Relink executable if libraries change

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

30 years agoRelink executable if libraries change
Theodore Tso [Fri, 30 Sep 1994 02:57:06 +0000 (02:57 +0000)]
Relink executable if libraries change

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

30 years agoRelink executable if libraries change
Theodore Tso [Fri, 30 Sep 1994 02:47:33 +0000 (02:47 +0000)]
Relink executable if libraries change

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

30 years agoRelink executable if libraries change
Theodore Tso [Fri, 30 Sep 1994 02:26:20 +0000 (02:26 +0000)]
Relink executable if libraries change

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

30 years agoRelink executables if libraries change
Theodore Tso [Fri, 30 Sep 1994 02:18:48 +0000 (02:18 +0000)]
Relink executables if libraries change

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

30 years agoFix declaration of usage()
Theodore Tso [Fri, 30 Sep 1994 02:17:40 +0000 (02:17 +0000)]
Fix declaration of usage()

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

30 years agoUse getsockname instead of getpeername in order to get the sender address!
Theodore Tso [Fri, 30 Sep 1994 02:16:44 +0000 (02:16 +0000)]
Use getsockname instead of getpeername in order to get the sender address!

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

30 years agoIn krb5_rc_dfl_recover, krb5_rc_io_size was being called with
Theodore Tso [Fri, 30 Sep 1994 02:12:46 +0000 (02:12 +0000)]
In krb5_rc_dfl_recover, krb5_rc_io_size was being called with
completely bogus arguments.   It's amazing it worked at all...

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

30 years agoRemoved MIT DES implementation; only use Fergeson DES
Theodore Tso [Fri, 30 Sep 1994 02:05:40 +0000 (02:05 +0000)]
Removed MIT DES implementation; only use Fergeson DES

Fix destest and verify so that they work with the new DES libraries.

"make check" will run the DES test suite.  (Note that all of the krb5 libraries
have to be built, since they depend on them.)

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

30 years agoMore will be added..
Mark Eichin [Fri, 30 Sep 1994 00:01:43 +0000 (00:01 +0000)]
More will be added..

* base.conf: simplest path, lists all executables.
* ucb.conf: add /usr/ucb to the base path.
* svr4.conf: add /usr/ccs/bin instead.
* athena.conf: sets KRB4 to /usr/athena.
* cns.conf: sets KRB4 to /usr/kerberos.
* gcc.conf: overrids CC and CC_OPTS for gcc -g -O -Wall.

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

30 years ago * util/kbuild: complete rewrite.
Mark Eichin [Fri, 30 Sep 1994 00:00:42 +0000 (00:00 +0000)]
* util/kbuild: complete rewrite.
* util/kfrags: fragments of input to kbuild.

See top of util/kbuild for instructions.

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

30 years ago * krlogin.c (mode): ifdef VLNEXT instead of svr4 for ^V fixing.
Mark Eichin [Thu, 29 Sep 1994 21:57:40 +0000 (21:57 +0000)]
* krlogin.c (mode): ifdef VLNEXT instead of svr4 for ^V fixing.
(doit): ditto.
krlogin.c, configure.in: include sys/tty.h and sys/ttold.h only if
they're both there.

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

30 years agocache name was not being properly null-terminated
Theodore Tso [Thu, 29 Sep 1994 21:04:42 +0000 (21:04 +0000)]
cache name was not being properly null-terminated

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

30 years agoMake sure mod time on the dump_ok file is updated. (Some systems
Theodore Tso [Thu, 29 Sep 1994 20:54:22 +0000 (20:54 +0000)]
Make sure mod time on the dump_ok file is updated.  (Some systems
don't update the mod-time when a file is opened for writing.)

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

30 years agoRelink executable when libraries change
Theodore Tso [Thu, 29 Sep 1994 20:50:48 +0000 (20:50 +0000)]
Relink executable when libraries change

Apply suggested change from Openvision so that principals with spaces
in their names can be read in.

Pass variable with correct type to ctime().

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

30 years agoOops.. Missing close brace
Theodore Tso [Thu, 29 Sep 1994 20:33:59 +0000 (20:33 +0000)]
Oops..  Missing close brace

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

30 years agoExit with a non-zero status if there was an error in an executed command.
Theodore Tso [Thu, 29 Sep 1994 20:27:35 +0000 (20:27 +0000)]
Exit with a non-zero status if there was an error in an executed command.
(Useful when the -R option is used in a shell-script.)

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

30 years agoAdd support for KRB5_KDCREP_SKEW error code
Theodore Tso [Thu, 29 Sep 1994 19:46:22 +0000 (19:46 +0000)]
Add support for KRB5_KDCREP_SKEW error code

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

30 years agoAdded new error codes (from suggested changes from Openvision)
Theodore Tso [Thu, 29 Sep 1994 19:43:18 +0000 (19:43 +0000)]
Added new error codes (from suggested changes from Openvision)

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

30 years agoReturn new error codes KRB5_IN_TKT_REALM_MISTCH and KRB5_KDCREP_SKEW
Theodore Tso [Thu, 29 Sep 1994 19:39:52 +0000 (19:39 +0000)]
Return new error codes KRB5_IN_TKT_REALM_MISTCH and KRB5_KDCREP_SKEW
instead of more generic error codes.

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

30 years agoAdded realm compare function
Theodore Tso [Thu, 29 Sep 1994 19:29:34 +0000 (19:29 +0000)]
Added realm compare function

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

30 years agoAlways fill in a NULL for a zero-length char string or octet string in
Theodore Tso [Thu, 29 Sep 1994 18:44:51 +0000 (18:44 +0000)]
Always fill in a NULL for a zero-length char string or octet string in
asn1_remove_charstring or asn1_remove_octetstring.  This means we do
the same thing no matter whether the system returns NULL for malloc(0) or not.

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

30 years agoReturn the most recent key (with the greatest kvno) instead of the
Theodore Tso [Thu, 29 Sep 1994 18:40:00 +0000 (18:40 +0000)]
Return the most recent key (with the greatest kvno) instead of the
first key found in the keytab file.

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

30 years agonot quite first cut "safety" checkin
Tom Yu [Thu, 29 Sep 1994 04:39:35 +0000 (04:39 +0000)]
not quite first cut "safety" checkin

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

30 years agoRelink executable when library changes
Theodore Tso [Thu, 29 Sep 1994 04:04:56 +0000 (04:04 +0000)]
Relink executable when library changes

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

30 years ago (K4LIB): add libdes.a, needed for des_pcbc_encrypt
Mark Eichin [Thu, 29 Sep 1994 03:41:48 +0000 (03:41 +0000)]
(K4LIB): add libdes.a, needed for des_pcbc_encrypt

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

30 years agoupdated as pre Barr3y's comments (forgot to check in earlier)
Tom Yu [Thu, 29 Sep 1994 02:33:50 +0000 (02:33 +0000)]
updated as pre Barr3y's comments (forgot to check in earlier)

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

30 years ago * configure.in (srand48): check for srand48, and if it exists,
Mark Eichin [Thu, 29 Sep 1994 01:04:59 +0000 (01:04 +0000)]
* configure.in (srand48): check for srand48, and if it exists,
substitute it for srandom (and lrand48 for random.)

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

30 years agoWed Sep 28 14:36:29 1994 Mark Eichin (eichin@rtl.cygnus.com)
Mark Eichin [Wed, 28 Sep 1994 21:44:18 +0000 (21:44 +0000)]
Wed Sep 28 14:36:29 1994  Mark Eichin  (eichin@rtl.cygnus.com)

* Makefile.in: always put $(K4LIB) before $(KLIB) so that
references to libcrypto.a get resolved.

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

30 years agoget NULL from stdio for sunos
Mark Eichin [Wed, 28 Sep 1994 20:36:26 +0000 (20:36 +0000)]
get NULL from stdio for sunos

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

30 years ago= should have been == in commented out code
Theodore Tso [Wed, 28 Sep 1994 03:33:29 +0000 (03:33 +0000)]
= should have been == in commented out code

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

30 years agoFix to reflect fact that krb5_rc_dfl_close() now frees the rcache structure
Theodore Tso [Wed, 28 Sep 1994 03:32:08 +0000 (03:32 +0000)]
Fix to reflect fact that krb5_rc_dfl_close() now frees the rcache structure

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

30 years agofix initial test/square-bracket bug
Mark Eichin [Wed, 28 Sep 1994 00:17:46 +0000 (00:17 +0000)]
fix initial test/square-bracket bug

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

30 years agoMark this as OV confidential. It's ugly but it'll do for now
Jon Rochlis [Fri, 23 Sep 1994 20:22:58 +0000 (20:22 +0000)]
Mark this as OV confidential. It's ugly but it'll do for now

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

30 years agoChange the interface of krb5_ktfile_read_entry and
Theodore Tso [Fri, 23 Sep 1994 02:55:29 +0000 (02:55 +0000)]
Change the interface of krb5_ktfile_read_entry and
krb5_ktfile_internal_read_entry so that they don't allocate memory for
the top-level structure.  All of their callers didn't need it and were
freeing it anyway.

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

30 years agoAdd dependencies for the libraries (so the executables are automatically
Theodore Tso [Fri, 23 Sep 1994 02:48:49 +0000 (02:48 +0000)]
Add dependencies for the libraries (so the executables are automatically
relinked when the libraries change)

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

30 years agoMake sure all object files are removed in a make clean operation
Theodore Tso [Fri, 23 Sep 1994 02:47:21 +0000 (02:47 +0000)]
Make sure all object files are removed in a make clean operation

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

30 years agoFix memory leak in klist --- the returned credentials should be freed before
Theodore Tso [Fri, 23 Sep 1994 02:42:51 +0000 (02:42 +0000)]
Fix memory leak in klist --- the returned credentials should be freed before
the next set is fetched.

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

30 years agoxfree() should have been krb5_xfree()
Theodore Tso [Fri, 23 Sep 1994 02:31:58 +0000 (02:31 +0000)]
xfree() should have been krb5_xfree()

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

30 years agoOops. One more free needed to be inserted
Theodore Tso [Fri, 23 Sep 1994 01:54:30 +0000 (01:54 +0000)]
Oops.  One more free needed to be inserted

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