krb5.git
30 years agoNeed to include krb5/config.h to get the wordsize information
Theodore Tso [Wed, 15 Jun 1994 05:29:54 +0000 (05:29 +0000)]
Need to include krb5/config.h to get the wordsize information

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

30 years agoAlways build GSSAPI --- with the prototypes removed, we don't need to
Theodore Tso [Wed, 15 Jun 1994 05:20:19 +0000 (05:20 +0000)]
Always build GSSAPI --- with the prototypes removed, we don't need to
skip it for the sake of the Ultrix C compiler.

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

30 years agoInclude the new gss-sample directory
Theodore Tso [Wed, 15 Jun 1994 05:18:02 +0000 (05:18 +0000)]
Include the new gss-sample directory

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

30 years agoIncluded fixes submitted by Ari/Cliff, including a security fix
Theodore Tso [Wed, 15 Jun 1994 05:00:32 +0000 (05:00 +0000)]
Included fixes submitted by Ari/Cliff, including a security fix

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

30 years agoAdded missing indirection. This was causing krb5_kt_next_entry to fail...
Theodore Tso [Wed, 15 Jun 1994 04:53:46 +0000 (04:53 +0000)]
Added missing indirection.  This was causing krb5_kt_next_entry to fail...
(Fortunately nothing except for the GSSAPI code used it!)

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

30 years agoAs submitted from Openvision --- a sample GSSAPI client/server application!
Theodore Tso [Wed, 15 Jun 1994 04:52:28 +0000 (04:52 +0000)]
As submitted from Openvision --- a sample GSSAPI client/server application!

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

30 years agoAs submitted by Barry
Theodore Tso [Wed, 15 Jun 1994 04:48:57 +0000 (04:48 +0000)]
As submitted by Barry

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

30 years agomore srcdir fixes
Mark Eichin [Wed, 15 Jun 1994 01:30:24 +0000 (01:30 +0000)]
more srcdir fixes

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

30 years agofixes for srcdir, LEX tests
Mark Eichin [Wed, 15 Jun 1994 01:08:24 +0000 (01:08 +0000)]
fixes for srcdir, LEX tests

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

30 years agofixing memory scribbling in find_alternate_tgs
Tom Yu [Wed, 15 Jun 1994 00:43:00 +0000 (00:43 +0000)]
fixing memory scribbling in find_alternate_tgs

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

30 years agoss_err.h is built, not src
Mark Eichin [Tue, 14 Jun 1994 21:31:19 +0000 (21:31 +0000)]
ss_err.h is built, not src

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

30 years agoactually reference LOCALINCLUDE
Mark Eichin [Tue, 14 Jun 1994 21:30:58 +0000 (21:30 +0000)]
actually reference LOCALINCLUDE

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

30 years agoget isode headers from the right place
Mark Eichin [Tue, 14 Jun 1994 21:30:35 +0000 (21:30 +0000)]
get isode headers from the right place

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

30 years agofix autoconf.h dependencies
Mark Eichin [Tue, 14 Jun 1994 21:29:11 +0000 (21:29 +0000)]
fix autoconf.h dependencies

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

30 years agocause srcdir to be set
Mark Eichin [Tue, 14 Jun 1994 21:28:41 +0000 (21:28 +0000)]
cause srcdir to be set

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

30 years agomake BACKWARD_COMPAT dtrt
Tom Yu [Tue, 14 Jun 1994 21:18:07 +0000 (21:18 +0000)]
make BACKWARD_COMPAT dtrt

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

30 years agodon't pick up v4server unless there is a --with-krb4
Tom Yu [Tue, 14 Jun 1994 21:17:08 +0000 (21:17 +0000)]
don't pick up v4server unless there is a --with-krb4

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

30 years agominor fixups for v4 libraries
Tom Yu [Tue, 14 Jun 1994 21:16:18 +0000 (21:16 +0000)]
minor fixups for v4 libraries

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

30 years agoexclude convert from build if krb4 is not set
Tom Yu [Tue, 14 Jun 1994 21:15:48 +0000 (21:15 +0000)]
exclude convert from build if krb4 is not set

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

30 years agoprint a warning if there is no --with-krb4=
Tom Yu [Tue, 14 Jun 1994 21:14:59 +0000 (21:14 +0000)]
print a warning if there is no --with-krb4=

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

30 years agofix argument stripping for recursion
Mark Eichin [Tue, 14 Jun 1994 21:01:40 +0000 (21:01 +0000)]
fix argument stripping for recursion
correct use of srcdir in CONFIG_RULES

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

30 years agoNancy L. Gilman's changes for Beta 4
Nancy Gilman [Tue, 14 Jun 1994 20:34:57 +0000 (20:34 +0000)]
Nancy L. Gilman's changes for Beta 4

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

30 years agoNancy L. Gilman's changes for Beta 4
Nancy Gilman [Tue, 14 Jun 1994 20:22:02 +0000 (20:22 +0000)]
Nancy L. Gilman's changes for Beta 4

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

30 years agoNancy L. Gilman's changes for Beta 4
Nancy Gilman [Tue, 14 Jun 1994 20:13:54 +0000 (20:13 +0000)]
Nancy L. Gilman's changes for Beta 4

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

30 years agoNancy L. Gilman's changes for Beta 4
Nancy Gilman [Tue, 14 Jun 1994 20:07:50 +0000 (20:07 +0000)]
Nancy L. Gilman's changes for Beta 4

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

30 years agoNancy Gilman's changes for beta 4
Nancy Gilman [Tue, 14 Jun 1994 19:56:31 +0000 (19:56 +0000)]
Nancy Gilman's changes for beta 4

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

30 years agoclean up recursion step to handle srcdir correctly
Mark Eichin [Tue, 14 Jun 1994 19:19:38 +0000 (19:19 +0000)]
clean up recursion step to handle srcdir correctly

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

30 years agoThe first revision after the creation of the
Nancy Gilman [Tue, 14 Jun 1994 19:09:21 +0000 (19:09 +0000)]
The first revision after the creation of the
implementor's guide

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

30 years agoThe first revision after the creation of the
Nancy Gilman [Tue, 14 Jun 1994 19:09:17 +0000 (19:09 +0000)]
The first revision after the creation of the
implementor's guide

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

30 years agopick up realm_dom.c (oops)
Tom Yu [Tue, 14 Jun 1994 14:18:21 +0000 (14:18 +0000)]
pick up realm_dom.c (oops)

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

30 years agoinstall krb_err.h during build
Tom Yu [Tue, 14 Jun 1994 14:17:48 +0000 (14:17 +0000)]
install krb_err.h during build

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

30 years agopicking up v4server
Tom Yu [Tue, 14 Jun 1994 14:16:55 +0000 (14:16 +0000)]
picking up v4server

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

30 years agokrb4 fixes
Tom Yu [Tue, 14 Jun 1994 14:16:21 +0000 (14:16 +0000)]
krb4 fixes

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

30 years agopick up convert
Tom Yu [Tue, 14 Jun 1994 14:16:00 +0000 (14:16 +0000)]
pick up convert

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

30 years agofixed recursion of configure (hopefully)
Tom Yu [Tue, 14 Jun 1994 14:15:06 +0000 (14:15 +0000)]
fixed recursion of configure (hopefully)

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

30 years agorewrite linux hack so it works (should autoconf it)
Mark Eichin [Mon, 13 Jun 1994 21:54:50 +0000 (21:54 +0000)]
rewrite linux hack so it works (should autoconf it)

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

30 years agoforce sh call so || works on ultrix
Mark Eichin [Mon, 13 Jun 1994 21:45:59 +0000 (21:45 +0000)]
force sh call so || works on ultrix

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

30 years agofix yylineno test to actually run lex
Mark Eichin [Mon, 13 Jun 1994 07:10:49 +0000 (07:10 +0000)]
fix yylineno test to actually run lex

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

30 years agouse sys/select.h under _AIX too
Mark Eichin [Mon, 13 Jun 1994 06:32:24 +0000 (06:32 +0000)]
use sys/select.h under _AIX too

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

30 years agoDon't do the convert directory until we figure out a clean way to handle
Theodore Tso [Mon, 13 Jun 1994 02:19:45 +0000 (02:19 +0000)]
Don't do the convert directory until we figure out a clean way to handle
the krb4 compatibility stuff.

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

30 years agoFix quoting problem which caused PEPSY to lose on Linux running bash
Theodore Tso [Mon, 13 Jun 1994 02:18:41 +0000 (02:18 +0000)]
Fix quoting problem which caused PEPSY to lose on Linux running bash

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

30 years agoLinux uses _STDARG_H instead of _STDARG_H_ --- we need a better way to
Theodore Tso [Sun, 12 Jun 1994 23:54:01 +0000 (23:54 +0000)]
Linux uses _STDARG_H instead of _STDARG_H_ --- we need a better way to
test of the presense of stdarg!!!  Should be done using autoconf, I
suspect.

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

30 years agoMove isode libraries to lib subdirectory and out of the top level directory
Theodore Tso [Sun, 12 Jun 1994 23:52:33 +0000 (23:52 +0000)]
Move isode libraries to lib subdirectory and out of the top level directory

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

30 years agoTake out old linux specific hack which doesn't work anymore
Theodore Tso [Sun, 12 Jun 1994 23:52:02 +0000 (23:52 +0000)]
Take out old linux specific hack which doesn't work anymore

Move isode libraries to lib subdirectory and out of the top level directory.

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

30 years agoTest for YYLINENO so that pepsy will build cleanly on all platforms
Theodore Tso [Sun, 12 Jun 1994 23:49:17 +0000 (23:49 +0000)]
Test for YYLINENO so that pepsy will build cleanly on all platforms

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

30 years agoFix so that rc_dfl_resolve(id, name) works when name is NULL
Theodore Tso [Sun, 12 Jun 1994 17:46:09 +0000 (17:46 +0000)]
Fix so that rc_dfl_resolve(id, name) works when name is NULL

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

30 years agofixing for ss_wrapper.c
Tom Yu [Sun, 12 Jun 1994 08:54:51 +0000 (08:54 +0000)]
fixing for ss_wrapper.c

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

30 years agofixing krb_err.et problems
Tom Yu [Sun, 12 Jun 1994 08:38:31 +0000 (08:38 +0000)]
fixing krb_err.et problems

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

30 years agofix for nonexistence of config.h
Tom Yu [Sun, 12 Jun 1994 07:33:46 +0000 (07:33 +0000)]
fix for nonexistence of config.h

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

30 years agofor imake safety
Mark Eichin [Sun, 12 Jun 1994 06:23:44 +0000 (06:23 +0000)]
for imake safety

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

30 years agoget the splitting tags right
Mark Eichin [Sun, 12 Jun 1994 06:13:28 +0000 (06:13 +0000)]
get the splitting tags right

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

30 years agoavoid collision with imake
Mark Eichin [Sun, 12 Jun 1994 05:39:27 +0000 (05:39 +0000)]
avoid collision with imake

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

30 years agomips yylineno breakage
Tom Yu [Sat, 11 Jun 1994 08:05:55 +0000 (08:05 +0000)]
mips yylineno breakage

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

30 years agofixed yytext declaration problem
Tom Yu [Sat, 11 Jun 1994 07:42:43 +0000 (07:42 +0000)]
fixed yytext declaration problem

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

30 years agofix dependencies on X11 source tree (oops :-)
Tom Yu [Fri, 10 Jun 1994 23:12:45 +0000 (23:12 +0000)]
fix dependencies on X11 source tree (oops :-)

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

30 years agoJust to commit what has been entered so far. We're going to have
Theodore Tso [Fri, 10 Jun 1994 23:03:47 +0000 (23:03 +0000)]
Just to commit what has been entered so far.  We're going to have
start doing a Real Changelog system after Beta 4....

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

30 years agoDon't return success in check_padata if you can't extract the key!
Theodore Tso [Fri, 10 Jun 1994 23:02:32 +0000 (23:02 +0000)]
Don't return success in check_padata if you can't extract the key!

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

30 years agoUse the KRB5_TGS_NAME macro for "krbtgt"
Theodore Tso [Fri, 10 Jun 1994 23:01:37 +0000 (23:01 +0000)]
Use the KRB5_TGS_NAME macro for "krbtgt"

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

30 years agodo osconf in compatible way
Mark Eichin [Fri, 10 Jun 1994 22:41:12 +0000 (22:41 +0000)]
do osconf in compatible way

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

30 years agoFixed inter-realm handling; from OCSG/Cliff Neumann
Theodore Tso [Fri, 10 Jun 1994 22:37:30 +0000 (22:37 +0000)]
Fixed inter-realm handling; from OCSG/Cliff Neumann

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

30 years agoFix inter-realm handling in KDC so that an intermediate realm is returned
Theodore Tso [Fri, 10 Jun 1994 22:36:11 +0000 (22:36 +0000)]
Fix inter-realm handling in KDC so that an intermediate realm is returned
when appropriate.

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

30 years agoFix bug which caused get_default_realm to fail the second time it was called.
Theodore Tso [Fri, 10 Jun 1994 22:33:01 +0000 (22:33 +0000)]
Fix bug which caused get_default_realm to fail the second time it was called.
(typo).

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

30 years agoFix bugs I introduced into srv_rcache. The rcache name wasn't being
Theodore Tso [Fri, 10 Jun 1994 22:32:09 +0000 (22:32 +0000)]
Fix bugs I introduced into srv_rcache.  The rcache name wasn't being
formed correctly (not adding rc_ at the beginning) and we weren't trying
krb5_rc_recover() before trying krb5_rc_initialize().

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

30 years agoPass the correct arguments so that telnet works with login.krb5
Theodore Tso [Fri, 10 Jun 1994 22:30:44 +0000 (22:30 +0000)]
Pass the correct arguments so that telnet works with login.krb5

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

30 years agoAdd support for the -F flag --- allow logins by anyone, including root
Theodore Tso [Fri, 10 Jun 1994 22:28:32 +0000 (22:28 +0000)]
Add support for the -F flag --- allow logins by anyone, including root

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

30 years agouse LSBFIRST and MSBFIRST to detect which version of DES we're using.
Mark Eichin [Fri, 10 Jun 1994 21:01:17 +0000 (21:01 +0000)]
use LSBFIRST and MSBFIRST to detect which version of DES we're using.
This is the only "invasive" autoconf vs. imake change...

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

30 years agofall back on realm name as a default domain name
Tom Yu [Fri, 10 Jun 1994 20:06:43 +0000 (20:06 +0000)]
fall back on realm name as a default domain name

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

30 years agomoving stuff out of site.def that shouldn't be there
Tom Yu [Fri, 10 Jun 1994 20:06:05 +0000 (20:06 +0000)]
moving stuff out of site.def that shouldn't be there

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

30 years agonothing else needed LSBFIRST/MSBFIRST, so fix this too
Mark Eichin [Fri, 10 Jun 1994 20:01:10 +0000 (20:01 +0000)]
nothing else needed LSBFIRST/MSBFIRST, so fix this too

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

30 years agoreal Makefile.in, NO_YYLINENO
Mark Eichin [Fri, 10 Jun 1994 19:59:11 +0000 (19:59 +0000)]
real Makefile.in, NO_YYLINENO

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

30 years agoreal Makefile.in, aix tweeks for malloc decl, eliminate use of krb5.h
Mark Eichin [Fri, 10 Jun 1994 19:53:47 +0000 (19:53 +0000)]
real Makefile.in, aix tweeks for malloc decl, eliminate use of krb5.h

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

30 years agoImprove logging of failed logins
Theodore Tso [Fri, 10 Jun 1994 19:48:12 +0000 (19:48 +0000)]
Improve logging of failed logins

Fix conditional support of V4 backwards compatibility.  It was very broken!

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

30 years agoAllow default realm to be overriden by extern variable
Theodore Tso [Fri, 10 Jun 1994 19:45:50 +0000 (19:45 +0000)]
Allow default realm to be overriden by extern variable

Cache default realm so that we don't have to repeatedly open /etc/krb.conf.
(Also prevents possible security problems if /etc/krb.conf is over the network,
and an attacker spoofs /etc/krb.conf for some calls to get_default_realm,
but not all of them.)

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

30 years agoFix telnet operating system name
Theodore Tso [Fri, 10 Jun 1994 19:42:08 +0000 (19:42 +0000)]
Fix telnet operating system name

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

30 years agoAdded Telnet OS define
Theodore Tso [Fri, 10 Jun 1994 19:41:36 +0000 (19:41 +0000)]
Added Telnet OS define

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

30 years agomove isode/psap.h up top to avoid fd_set define confusion
Mark Eichin [Fri, 10 Jun 1994 19:33:24 +0000 (19:33 +0000)]
move isode/psap.h up top to avoid fd_set define confusion

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

30 years agouse osconf, not strings
Mark Eichin [Fri, 10 Jun 1994 19:32:38 +0000 (19:32 +0000)]
use osconf, not strings

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

30 years agouse SEEK_* not L_*
Mark Eichin [Fri, 10 Jun 1994 19:30:28 +0000 (19:30 +0000)]
use SEEK_* not L_*

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

30 years agosince we only need this on non BSD-4.4 systems, do not use BSD-4.4-specific headers
Mark Eichin [Fri, 10 Jun 1994 19:27:45 +0000 (19:27 +0000)]
since we only need this on non BSD-4.4 systems, do not use BSD-4.4-specific headers

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

30 years agoharmlessly add BSD_COMP for solaris
Mark Eichin [Fri, 10 Jun 1994 19:22:08 +0000 (19:22 +0000)]
harmlessly add BSD_COMP for solaris

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

30 years agooptionally add sys/fcntl.h
Mark Eichin [Fri, 10 Jun 1994 19:21:48 +0000 (19:21 +0000)]
optionally add sys/fcntl.h

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

30 years agouse SEEK_* not L_*
Mark Eichin [Fri, 10 Jun 1994 19:16:49 +0000 (19:16 +0000)]
use SEEK_* not L_*

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

30 years ago"downgrade" to classic C, tweak headers a bit, stamp out widen/narrow
Mark Eichin [Fri, 10 Jun 1994 19:13:21 +0000 (19:13 +0000)]
"downgrade" to classic C, tweak headers a bit, stamp out widen/narrow

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

30 years ago"downgrade" to classic C, tweak headers a bit
Mark Eichin [Fri, 10 Jun 1994 19:02:23 +0000 (19:02 +0000)]
"downgrade" to classic C, tweak headers a bit

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

30 years agoUse #define in osconf.h to determine the name of the KRB5_CCNAME environment
Theodore Tso [Fri, 10 Jun 1994 18:58:12 +0000 (18:58 +0000)]
Use #define in osconf.h to determine the name of the KRB5_CCNAME environment
variable.

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

30 years agoUse the precompile ports as the default if the proper ones aren't in
Theodore Tso [Fri, 10 Jun 1994 18:57:09 +0000 (18:57 +0000)]
Use the precompile ports as the default if the proper ones aren't in
/etc/services.

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

30 years agoChange the ports kerberos and kerberos-sec to kerberos5 and kerberos4
Theodore Tso [Fri, 10 Jun 1994 18:55:55 +0000 (18:55 +0000)]
Change the ports kerberos and kerberos-sec to kerberos5 and kerberos4

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

30 years agoChange the official Kerberos portname to be kerberos5, with the backup
Theodore Tso [Fri, 10 Jun 1994 18:54:46 +0000 (18:54 +0000)]
Change the official Kerberos portname to be kerberos5, with the backup
being kerberos4.  Use backup numeric ports if the proper ones aren't
listed in /etc/services.

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

30 years agouse SEEK_* not L_*; check NEED_SYS_FCNTL_H as well
Mark Eichin [Fri, 10 Jun 1994 18:54:31 +0000 (18:54 +0000)]
use SEEK_* not L_*; check NEED_SYS_FCNTL_H as well

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

30 years agoFix the type of fetchfrom in krb5_rd_req and krb5_rd_req_decoded
Theodore Tso [Fri, 10 Jun 1994 18:53:02 +0000 (18:53 +0000)]
Fix the type of fetchfrom in krb5_rd_req and krb5_rd_req_decoded

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

30 years agoAdd the ksu program as a new directory to be built
Theodore Tso [Fri, 10 Jun 1994 18:52:13 +0000 (18:52 +0000)]
Add the ksu program as a new directory to be built

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

30 years agoAdded the -q option which disables the bell in the case of an error
Theodore Tso [Fri, 10 Jun 1994 18:51:37 +0000 (18:51 +0000)]
Added the -q option which disables the bell in the case of an error

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

30 years agoDon't bomb out if the secondary port cannot be initialized
Theodore Tso [Fri, 10 Jun 1994 18:49:46 +0000 (18:49 +0000)]
Don't bomb out if the secondary port cannot be initialized

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

30 years agoFix type of fetchfrom --- it refers to a keytab name, so it should
Theodore Tso [Fri, 10 Jun 1994 18:36:37 +0000 (18:36 +0000)]
Fix type of fetchfrom --- it refers to a keytab name, so it should
be a char *, not a void *!

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

30 years agoUpdated telnet to be the 94.02.07 version, with some bugfixes
Theodore Tso [Fri, 10 Jun 1994 18:33:58 +0000 (18:33 +0000)]
Updated telnet to be the 94.02.07 version, with some bugfixes

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

30 years agoClean up memory handling, and improve the randomness of the sequence number
Theodore Tso [Fri, 10 Jun 1994 18:33:51 +0000 (18:33 +0000)]
Clean up memory handling, and improve the randomness of the sequence number
by encrypting the time and date, instead of all zeros.

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

30 years agoAdded missing all target
Theodore Tso [Fri, 10 Jun 1994 15:55:24 +0000 (15:55 +0000)]
Added missing all target

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

30 years agoAdded ifdefs for getusershell() --- doesn't exist on all platforms
Theodore Tso [Fri, 10 Jun 1994 15:54:56 +0000 (15:54 +0000)]
Added ifdefs for getusershell() --- doesn't exist on all platforms

Change the environment variable #define to KRB5_ENV_CCNAME

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

30 years agohelper scripts for autoconfing
Mark Eichin [Fri, 10 Jun 1994 14:16:12 +0000 (14:16 +0000)]
helper scripts for autoconfing

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

30 years agoautoconfed isode for kerberos work
Mark Eichin [Fri, 10 Jun 1994 03:36:08 +0000 (03:36 +0000)]
autoconfed isode for kerberos work

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