krb5.git
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

30 years agoFix memory leak caused by not freeing top-level structure
Theodore Tso [Fri, 23 Sep 1994 01:53:08 +0000 (01:53 +0000)]
Fix memory leak caused by not freeing top-level structure

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

30 years agoTighten up wording of krb5_cc_destroy and krb5_cc_close to make it clear
Theodore Tso [Fri, 23 Sep 1994 01:46:17 +0000 (01:46 +0000)]
Tighten up wording of krb5_cc_destroy and krb5_cc_close to make it clear
that the credentials cache object is freed.

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

30 years agoMake sure memory associated the credentials cache is freed after the
Theodore Tso [Fri, 23 Sep 1994 01:39:18 +0000 (01:39 +0000)]
Make sure memory associated the credentials cache is freed after the
cache is destroyed.

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

30 years agoFix silly spelling typo
Theodore Tso [Fri, 23 Sep 1994 01:30:17 +0000 (01:30 +0000)]
Fix silly spelling typo

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

30 years agoFix typo in comment. (Silly spelling mistake)
Theodore Tso [Fri, 23 Sep 1994 01:16:21 +0000 (01:16 +0000)]
Fix typo in comment.  (Silly spelling mistake)

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

30 years agoFix so that autoconf actually checks for bison/yacc/byacc, so that systems
Theodore Tso [Fri, 23 Sep 1994 01:14:35 +0000 (01:14 +0000)]
Fix so that autoconf actually checks for bison/yacc/byacc, so that systems
without yacc will win.  (Previously, the com_err and ss libraries assumed that
yacc existed.)

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

30 years agoFix order of autoconf macros so that the tests can find CC properly.
Theodore Tso [Fri, 23 Sep 1994 00:49:31 +0000 (00:49 +0000)]
Fix order of autoconf macros so that the tests can find CC properly.
(WITH_CCOPTS was too late in the file.  We need a standard order to be
documented and enforced!)

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

30 years agoApplied Cybersafe's changes to do transited realm path checking
Theodore Tso [Thu, 22 Sep 1994 16:39:53 +0000 (16:39 +0000)]
Applied Cybersafe's changes to do transited realm path checking

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

30 years agoFix memory leak in decode timestamp return
Theodore Tso [Wed, 21 Sep 1994 20:55:11 +0000 (20:55 +0000)]
Fix memory leak in decode timestamp return

Initialize return variable in decode_krb5_authdata()

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

30 years agoFix typo which was causing krb5_encode_test.c to fail due to trying to
Theodore Tso [Wed, 21 Sep 1994 04:03:06 +0000 (04:03 +0000)]
Fix typo which was causing krb5_encode_test.c to fail due to trying to
free the wrong thing.

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

30 years agoKbuild is a program which builds a Kerberos V5 distribution with a
Theodore Tso [Wed, 21 Sep 1994 02:45:20 +0000 (02:45 +0000)]
Kbuild is a program which builds a Kerberos V5 distribution with a
specific set of compilation programs and configuration options, in a
repeatable manner.

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

30 years agoindex() -> strchr()
Theodore Tso [Thu, 15 Sep 1994 22:41:12 +0000 (22:41 +0000)]
index() -> strchr()

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

30 years agoPut the tests directory under autoconf
Theodore Tso [Thu, 15 Sep 1994 22:34:43 +0000 (22:34 +0000)]
Put the tests directory under autoconf

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

30 years agoPut the tests directory under autoconf
Theodore Tso [Thu, 15 Sep 1994 22:34:11 +0000 (22:34 +0000)]
Put the tests directory under autoconf

Incorporate krb5_encode_test_body.c into krb5_encode_test.c (no longer
any need to keep them as separate files.)

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

30 years agoCreate database with key version number of 1
Theodore Tso [Thu, 15 Sep 1994 21:22:10 +0000 (21:22 +0000)]
Create database with key version number of 1

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

30 years agoInitialize key version numbers to be 1
Theodore Tso [Thu, 15 Sep 1994 21:16:07 +0000 (21:16 +0000)]
Initialize key version numbers to be 1

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

30 years agoDon't chop off last character of principal name if it is passed in to
Theodore Tso [Thu, 15 Sep 1994 20:57:54 +0000 (20:57 +0000)]
Don't chop off last character of principal name if it is passed in to
the add principal function.

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

30 years agoOnly report errors to syslog if the debug flag is not set. (Otherwise
Theodore Tso [Thu, 15 Sep 1994 16:49:32 +0000 (16:49 +0000)]
Only report errors to syslog if the debug flag is not set.  (Otherwise
send them to stderr.)

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

30 years agoTODO file updated from tsx-11
Theodore Tso [Thu, 15 Sep 1994 16:17:13 +0000 (16:17 +0000)]
TODO file updated from tsx-11

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

30 years agoMoved CONFIG_RULES before AC_HAVE_LIBRARY() rules, so that they work
Theodore Tso [Thu, 15 Sep 1994 15:35:45 +0000 (15:35 +0000)]
Moved CONFIG_RULES before AC_HAVE_LIBRARY() rules, so that they work

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

30 years agoUse krb5_rd_req instead of krb5_rd_req_decode, to eliminate some code
Theodore Tso [Thu, 15 Sep 1994 15:11:02 +0000 (15:11 +0000)]
Use krb5_rd_req instead of krb5_rd_req_decode, to eliminate some code
duplication.

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

30 years agoFix error string ("for reading" -> "for writing")
Theodore Tso [Thu, 15 Sep 1994 15:03:00 +0000 (15:03 +0000)]
Fix error string ("for reading" -> "for writing")

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

30 years agoApply new copyright notice to the krb524 sources. (1993, GZA -> 1994 OV)
Theodore Tso [Thu, 15 Sep 1994 14:51:08 +0000 (14:51 +0000)]
Apply new copyright notice to the krb524 sources.  (1993, GZA -> 1994 OV)

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

30 years agoFix bug in V4 emulation where it was always assuming the master key
Theodore Tso [Thu, 15 Sep 1994 04:24:09 +0000 (04:24 +0000)]
Fix bug in V4 emulation where it was always assuming the master key
version number was zero.  Now it actually reads it in from the master
key database entry.

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

30 years agoFix a number of pointer aliasing bugs
Theodore Tso [Thu, 15 Sep 1994 04:22:13 +0000 (04:22 +0000)]
Fix a number of pointer aliasing bugs

Make sure the master key version number is propgated correctly for new keys.

Fixed bug where process_client tried to free an automatic variable.

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

30 years agoRemoved an excess free() call
Theodore Tso [Thu, 15 Sep 1994 04:20:26 +0000 (04:20 +0000)]
Removed an excess free() call

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

30 years agoFixed bug reported by Bill Sommerfeld where a missing byte-swap on a
Theodore Tso [Thu, 15 Sep 1994 01:58:33 +0000 (01:58 +0000)]
Fixed bug reported by Bill Sommerfeld where a missing byte-swap on a
little-endian machine causes the delete operation fail.

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

30 years agoFixed stupid type in make install target
Theodore Tso [Thu, 15 Sep 1994 01:49:54 +0000 (01:49 +0000)]
Fixed stupid type in make install target

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

30 years agoBack out the randkey changes (revision 1.11)
Jonathan Kamens [Tue, 13 Sep 1994 18:33:54 +0000 (18:33 +0000)]
Back out the randkey changes (revision 1.11)

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

30 years agoBack out randkey changes
Jonathan Kamens [Tue, 13 Sep 1994 18:33:17 +0000 (18:33 +0000)]
Back out randkey changes

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

30 years agoGet rid of periods in error table messages.
Jonathan Kamens [Mon, 12 Sep 1994 20:53:00 +0000 (20:53 +0000)]
Get rid of periods in error table messages.
Fix a typo in the API versioning messages.
Reword some of the API versioning messages so that they're in the same
syntax as the other messages.

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

30 years agoIncrement the current API version number, document the new behavior of
Jonathan Kamens [Mon, 12 Sep 1994 20:29:29 +0000 (20:29 +0000)]
Increment the current API version number, document the new behavior of
randkey_principal in API version 2 (return the new kvno as well as the
keyblock).

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

30 years agoMention that in randkey_principal, the new key version number is only
Jonathan Kamens [Mon, 12 Sep 1994 20:28:54 +0000 (20:28 +0000)]
Mention that in randkey_principal, the new key version number is only
returned for API versions greater than 1.

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

30 years agoTwo global variables didn't need to be global; changed to be static
Theodore Tso [Fri, 9 Sep 1994 03:36:01 +0000 (03:36 +0000)]
Two global variables didn't need to be global; changed to be static

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

30 years agoReversed order of \n\r to make jik happy
Theodore Tso [Fri, 9 Sep 1994 02:35:42 +0000 (02:35 +0000)]
Reversed order of \n\r to make jik happy

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

30 years agoAdded declaration for strdup() if HAS_STRDUP is not defined
Theodore Tso [Wed, 31 Aug 1994 01:35:49 +0000 (01:35 +0000)]
Added declaration for strdup() if HAS_STRDUP is not defined

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

30 years agoFix pointer aliasing problem between newkey and authent->subkey
Theodore Tso [Sat, 20 Aug 1994 05:48:18 +0000 (05:48 +0000)]
Fix pointer aliasing problem between newkey and authent->subkey

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

30 years agoFix wrong OID's!
Theodore Tso [Sat, 20 Aug 1994 05:37:33 +0000 (05:37 +0000)]
Fix wrong OID's!

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

30 years agoFix bug of trying to use freed memory
Theodore Tso [Sat, 20 Aug 1994 05:36:24 +0000 (05:36 +0000)]
Fix bug of trying to use freed memory

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

30 years agoproposed ovsec_kadm_init_* changes
Barry Jaspan [Fri, 19 Aug 1994 18:52:35 +0000 (18:52 +0000)]
proposed ovsec_kadm_init_* changes

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

30 years agoAdded #ifdef NEED_SYS_FCNTL_H around <sys/fcntl.h>
Theodore Tso [Thu, 18 Aug 1994 23:08:56 +0000 (23:08 +0000)]
Added #ifdef NEED_SYS_FCNTL_H around <sys/fcntl.h>

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

30 years agoFix KRB4 handling (was broken, just like kdc directory)
Theodore Tso [Thu, 18 Aug 1994 23:03:05 +0000 (23:03 +0000)]
Fix KRB4 handling (was broken, just like kdc directory)

Fix bug to allow cross-realm forwarded credentials to work.

Store the forwarded credentials in a pid-dependent file, so that
different rlogin sessions get different credentials caches.

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

30 years agoalways substitute
Mark Eichin [Thu, 18 Aug 1994 22:56:37 +0000 (22:56 +0000)]
always substitute

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

30 years agodocument previous stamping
Mark Eichin [Thu, 18 Aug 1994 22:37:33 +0000 (22:37 +0000)]
document previous stamping

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

30 years agostamp out rcs keywords
Mark Eichin [Thu, 18 Aug 1994 22:35:24 +0000 (22:35 +0000)]
stamp out rcs keywords

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

30 years agoFix broken $(KRB4)/lib/libdes.a inclusion in the Makefile --- should have
Theodore Tso [Thu, 18 Aug 1994 22:21:04 +0000 (22:21 +0000)]
Fix broken $(KRB4)/lib/libdes.a inclusion in the Makefile --- should have
been checked and done in configure.in only if KRB4 is defined.

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

30 years agostamp out rcs keywords
Mark Eichin [Thu, 18 Aug 1994 22:14:44 +0000 (22:14 +0000)]
stamp out rcs keywords

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

30 years agostamp out rcs keywords
Mark Eichin [Thu, 18 Aug 1994 22:08:45 +0000 (22:08 +0000)]
stamp out rcs keywords

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

30 years agostamp out rcs keywords
Mark Eichin [Thu, 18 Aug 1994 21:37:43 +0000 (21:37 +0000)]
stamp out rcs keywords

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

30 years agostamp out rcs keywords
Mark Eichin [Thu, 18 Aug 1994 21:20:03 +0000 (21:20 +0000)]
stamp out rcs keywords

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

30 years agostamp out rcs keywords
Mark Eichin [Thu, 18 Aug 1994 21:11:37 +0000 (21:11 +0000)]
stamp out rcs keywords

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

30 years agostamp out rcs keywords
Mark Eichin [Thu, 18 Aug 1994 20:56:02 +0000 (20:56 +0000)]
stamp out rcs keywords

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