krb5.git
29 years agoRemove AC_CONFIG_FRAGMENTS call, since it's no longer needed. (The
Theodore Tso [Wed, 21 Jun 1995 22:18:09 +0000 (22:18 +0000)]
Remove AC_CONFIG_FRAGMENTS call, since it's no longer needed.  (The
aclocal.m4 V5_SET_TOPTREE handles it all automatically now.)

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

29 years agoReplace AC_CONFIG_FRAGMENTS, AC_CONFIG_FRAGMENTS_DEFUALT,
Theodore Tso [Wed, 21 Jun 1995 22:17:35 +0000 (22:17 +0000)]
Replace AC_CONFIG_FRAGMENTS, AC_CONFIG_FRAGMENTS_DEFUALT,
AC_SET_BUILDTOP, AC_CONFIG_AUX_DIR_DEFAULT with V5_SET_TOPDIR.  This
sets up the correct variables for the top of the source tree and the
top of the build tree.  It currently depends on AC_LOCALDIR being a
relative pathname, but that's a safe assumption to make.  (And we
could fix it to be more general if we really needed to.)

Removed AC__CONFIG_AUX since it doesn't seem to be used at all.

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

29 years ago * aclocal.m4: undefine AC_CONFIGF_AUX_DIR_DEFAULT before
Tom Yu [Wed, 21 Jun 1995 22:09:53 +0000 (22:09 +0000)]
* aclocal.m4: undefine AC_CONFIGF_AUX_DIR_DEFAULT before
redefining it to avoid diversion madness

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

29 years agologin.c: Change RETSIGTYPE to krb5_sigtype to be consistant
Ezra Peisach [Wed, 21 Jun 1995 22:00:21 +0000 (22:00 +0000)]
login.c: Change RETSIGTYPE to krb5_sigtype to be consistant

configure.in: Add KRB5_SIGTYPE to declare krb5_sigtype.

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

29 years agoAdd KRB5_SIGTYPE, replacing definition that was there for krb5_sigtype. This
Ezra Peisach [Wed, 21 Jun 1995 21:41:39 +0000 (21:41 +0000)]
Add KRB5_SIGTYPE, replacing definition that was there for krb5_sigtype. This
is so that other parts of the tree may use macro.

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

29 years agoAdd KRB5_SIGTYPE to define krb5_sigtype. Definition moved from
Ezra Peisach [Wed, 21 Jun 1995 21:40:48 +0000 (21:40 +0000)]
Add KRB5_SIGTYPE to define krb5_sigtype. Definition moved from
include/krb5/configure.in so that appl/bsd may use it.

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

29 years agoRemoved extra blank lines and added "dnl" to the end of some macro
Theodore Tso [Wed, 21 Jun 1995 18:58:59 +0000 (18:58 +0000)]
Removed extra blank lines and added "dnl" to the end of some macro
definitions to get rid of extra newlines added at the beginning of
configure scripts.

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

29 years agoInstalled autoconf 2.4 in the Kerberos V5 tree. This reverted a few
Theodore Tso [Wed, 21 Jun 1995 18:53:39 +0000 (18:53 +0000)]
Installed autoconf 2.4 in the Kerberos V5 tree.  This reverted a few
Krb5-specific changes: tytso Ultrix /bin/sh workarounds (which are
supposedly fixed in another way in autoconf 2.4), eichin's change to
autoreconf to allow it to work in symlink farms, jgilmore's change
acgeneral.m4 to report the update status of the cache better (???).

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

29 years agoRemove extra #else left over from previous cleanup
Paul Park [Wed, 21 Jun 1995 15:17:29 +0000 (15:17 +0000)]
Remove extra #else left over from previous cleanup

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

29 years agoRemove krb5_full_addr
Theodore Tso [Wed, 21 Jun 1995 15:06:46 +0000 (15:06 +0000)]
Remove krb5_full_addr

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

29 years agoChange PROTOTYPE -> KRB5_PROTOTYPE
Theodore Tso [Wed, 21 Jun 1995 15:04:11 +0000 (15:04 +0000)]
Change PROTOTYPE -> KRB5_PROTOTYPE

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

29 years agoMakefile.in: Don't remove autoconf.h when doing a make clean; it's an
Theodore Tso [Wed, 21 Jun 1995 15:00:39 +0000 (15:00 +0000)]
Makefile.in: Don't remove autoconf.h when doing a make clean; it's an
autoconf generated file.

adm_proto.h, asn1.h, ext-proto.h, kdb.h, kdb_dbm.h, los-proto.h,
preauth.c: Change PROTOTYPE -> KRB5_PROTOTYPE

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

29 years agoMakefile.in, krb5.hin: Don't include autoconf.h anymore; have the
Theodore Tso [Wed, 21 Jun 1995 14:59:34 +0000 (14:59 +0000)]
Makefile.in, krb5.hin: Don't include autoconf.h anymore; have the
Makefile include the few configure symbols which krb5.h needs.

krb5.hin: Change PROTOTYPE -> KRB5_PROTOTYPE and NPROTOTYPE -> KRB5_NPROTOTYPE.

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

29 years ago * configure.in: switch obsolete AC_HAVE_HEADER to AC_CHECK_HEADERS
Mark Eichin [Tue, 20 Jun 1995 23:02:29 +0000 (23:02 +0000)]
* configure.in: switch obsolete AC_HAVE_HEADER to AC_CHECK_HEADERS

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

29 years ago * configure.in: fix typo
Tom Yu [Tue, 20 Jun 1995 19:53:48 +0000 (19:53 +0000)]
* configure.in: fix typo

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

29 years ago * configure.in: add tests for TIME_WITH_SYS_TIME and sys/time.h
Tom Yu [Tue, 20 Jun 1995 19:11:01 +0000 (19:11 +0000)]
* configure.in: add tests for TIME_WITH_SYS_TIME and sys/time.h

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

29 years ago * kpasswd.c: USE_STRING_H -> HAVE_STRING_H for consistency
Tom Yu [Tue, 20 Jun 1995 19:10:29 +0000 (19:10 +0000)]
* kpasswd.c: USE_STRING_H -> HAVE_STRING_H for consistency
* configure.in: added missing check for string.h

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

29 years ago * configure.in: add missing check for stdlib.h
Tom Yu [Tue, 20 Jun 1995 19:09:51 +0000 (19:09 +0000)]
* configure.in: add missing check for stdlib.h

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

29 years ago * Makefile.in - Change explicit library names to -l<lib> form, and
Tom Yu [Tue, 20 Jun 1995 19:09:15 +0000 (19:09 +0000)]
* Makefile.in - Change explicit library names to -l<lib> form, and
change target link line to use $(LD) and associated flags.
* configure.in - Add shared library usage check.

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

29 years ago * main.c: HAS_GETUSERSHELL -> HAVE_GETUSERSHELL
Tom Yu [Tue, 20 Jun 1995 19:08:46 +0000 (19:08 +0000)]
  * main.c: HAS_GETUSERSHELL -> HAVE_GETUSERSHELL

* configure.in: add test for getusershell()

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

29 years ago * defs.h: NO_STRING_H -> HAVE_STRING_H
Tom Yu [Tue, 20 Jun 1995 19:08:04 +0000 (19:08 +0000)]
* defs.h: NO_STRING_H -> HAVE_STRING_H

* configure.in: add test for string.h

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

29 years ago * externs.h: NO_STRING_H -> HAVE_STRING_H
Tom Yu [Tue, 20 Jun 1995 19:07:24 +0000 (19:07 +0000)]
* externs.h: NO_STRING_H -> HAVE_STRING_H

* configure.in: add test for string.h

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

29 years ago * strrchr.c: NO_STRING_H -> HAVE_STRING_H
Tom Yu [Tue, 20 Jun 1995 19:06:36 +0000 (19:06 +0000)]
* strrchr.c: NO_STRING_H -> HAVE_STRING_H

* strftime.c: NO_STRING_H -> HAVE_STRING_H

* strerror.c: NO_STRING_H -> HAVE_STRING_H

* strdup.c: NO_STRING_H -> HAVE_STRING_H

* strchr.c: NO_STRING_H -> HAVE_STRING_H

* strcasecmp.c: NO_STRING_H -> HAVE_STRING_H

* spx.c: NO_STRING_H -> HAVE_STRING_H

* rsaencpwd: NO_STRING_H -> HAVE_STRING_H

* read_password.c: NO_STRING_H -> HAVE_STRING_H

* mem.c: NO_STRING_H -> HAVE_STRING_H

* krb4encpwd.c: NO_STRING_H -> HAVE_STRING_H

* kerberos5.c: NO_STRING_H -> HAVE_STRING_H

* kerberos.c: NO_STRING_H -> HAVE_STRING_H

* encrypt.c: NO_STRING_H -> HAVE_STRING_H

* auth.c: NO_STRING_H -> HAVE_STRING_H for consistency

* configure.in: added missing tests for string.h, stdlib.h

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

29 years ago * configure.in: added missing check for stdlib.h
Tom Yu [Tue, 20 Jun 1995 19:05:03 +0000 (19:05 +0000)]
* configure.in: added missing check for stdlib.h

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

29 years ago * movemail.c: USE_STRING_H -> HAVE_STRING_H; fix HAVE_STLIB_H to
Tom Yu [Tue, 20 Jun 1995 19:04:30 +0000 (19:04 +0000)]
* movemail.c: USE_STRING_H -> HAVE_STRING_H; fix HAVE_STLIB_H to
dtrt.
* configure.in: added missing tests for string.h and stdlib.h

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

29 years ago * poplib.c: HAS_STDLIB_H -> HAVE_STDLIB_H
Tom Yu [Tue, 20 Jun 1995 19:03:52 +0000 (19:03 +0000)]
* poplib.c: HAS_STDLIB_H -> HAVE_STDLIB_H

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

29 years ago * krlogin.c: HAS_STDLIB_H -> HAVE_STDLIB_H
Tom Yu [Tue, 20 Jun 1995 19:03:02 +0000 (19:03 +0000)]
* krlogin.c: HAS_STDLIB_H -> HAVE_STDLIB_H

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

29 years ago * getsyms, getsyms.sed: fix a few random bugs
Tom Yu [Tue, 20 Jun 1995 16:34:51 +0000 (16:34 +0000)]
* getsyms, getsyms.sed: fix a few random bugs

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

29 years agoMust protect $(FOO) with a backslash, since $(FOO) is specially
Theodore Tso [Mon, 19 Jun 1995 21:15:33 +0000 (21:15 +0000)]
Must protect $(FOO) with a backslash, since $(FOO) is specially
interpreted by bash (and Korn shells).

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

29 years ago Make sure processes associated with the terminal are actually
Sam Hartman [Mon, 19 Jun 1995 18:23:26 +0000 (18:23 +0000)]
Make sure processes associated with the terminal are actually
dead before re-using the pty.  This is a temporary fix; the real fix
will make sure that the processes get a HUP when telnetd dies and will
be part of the libpty changes.

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

29 years agoFix LD_LIBRARY_PATH in setup_root_shell()
Paul Park [Mon, 19 Jun 1995 17:39:38 +0000 (17:39 +0000)]
Fix LD_LIBRARY_PATH in setup_root_shell()

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

29 years agoUse setluid() where appropriate (e.g. OSF/1)
Paul Park [Mon, 19 Jun 1995 17:37:55 +0000 (17:37 +0000)]
Use setluid() where appropriate (e.g. OSF/1)

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

29 years ago * BADSYMS: list of bad symbols found in various source files;
Tom Yu [Mon, 19 Jun 1995 15:24:52 +0000 (15:24 +0000)]
* BADSYMS: list of bad symbols found in various source files;
generated by util/getsyms

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

29 years ago * getsyms, getsyms.sed: simple scripts to find #ifdef's that
Tom Yu [Mon, 19 Jun 1995 05:00:40 +0000 (05:00 +0000)]
* getsyms, getsyms.sed: simple scripts to find #ifdef's that
aren't declared with configure.in

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

29 years agoAdded final change to allow for ASN.1 indefinite encoding; needed for
Theodore Tso [Sat, 17 Jun 1995 04:01:36 +0000 (04:01 +0000)]
Added final change to allow for ASN.1 indefinite encoding; needed for
DCE compatibility.

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

29 years agoAllow the credentials cache argument to be optional; allow it to be
Theodore Tso [Sat, 17 Jun 1995 02:12:54 +0000 (02:12 +0000)]
Allow the credentials cache argument to be optional; allow it to be
NULL, meaning that the credentials shouldn't be stored in a
credentials cache.

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

29 years ago Change kadm_cleanup so that it returns a defined value
Sam Hartman [Sat, 17 Jun 1995 00:34:19 +0000 (00:34 +0000)]
Change kadm_cleanup so that it returns a defined value
(success currently; nothing it calls returns failure indications)
instead of returning whatever was left over in a register.  This
caused intermittent problems with regression tests.

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

29 years agoInline code from krb_save_credentials since there is none in some K4
Paul Park [Fri, 16 Jun 1995 21:10:43 +0000 (21:10 +0000)]
Inline code from krb_save_credentials since there is none in some K4

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

29 years agoAdd glue for old versions of K4
Paul Park [Fri, 16 Jun 1995 21:05:11 +0000 (21:05 +0000)]
Add glue for old versions of K4

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

29 years agoFix run.test to run under Ultrix
Paul Park [Fri, 16 Jun 1995 20:58:33 +0000 (20:58 +0000)]
Fix run.test to run under Ultrix

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

29 years ago * libupdate.sh: oops they were right to begin with; hack
Tom Yu [Fri, 16 Jun 1995 18:18:37 +0000 (18:18 +0000)]
* libupdate.sh: oops they were right to begin with; hack
aclocal.m4 instead.

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

29 years ago * aclocal.m4: ARCHIVE gets a "cqv" to shut it up about the warning
Tom Yu [Fri, 16 Jun 1995 18:17:58 +0000 (18:17 +0000)]
* aclocal.m4: ARCHIVE gets a "cqv" to shut it up about the warning

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

29 years ago * libupdate.sh: ARADD and ARCHIVE were backwards
Tom Yu [Fri, 16 Jun 1995 18:06:21 +0000 (18:06 +0000)]
* libupdate.sh: ARADD and ARCHIVE were backwards

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

29 years agoFix install logic for krb5.h and k5-int.h
Paul Park [Fri, 16 Jun 1995 15:40:33 +0000 (15:40 +0000)]
Fix install logic for krb5.h and k5-int.h

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

29 years agoExplicitly handle default cases when neither --enable-shared or
Paul Park [Fri, 16 Jun 1995 15:28:24 +0000 (15:28 +0000)]
Explicitly handle default cases when neither --enable-shared or
--with-shared is specified.

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

29 years agoRemove status message from OSF/1 shared library build
Paul Park [Fri, 16 Jun 1995 15:25:37 +0000 (15:25 +0000)]
Remove status message from OSF/1 shared library build

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

29 years agoAdd install target for shared libraries
Paul Park [Fri, 16 Jun 1995 15:25:12 +0000 (15:25 +0000)]
Add install target for shared libraries

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

29 years agoChange ./DONE to DONE
Paul Park [Fri, 16 Jun 1995 15:24:43 +0000 (15:24 +0000)]
Change ./DONE to DONE

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

29 years ago * Makefile.in: "install::" to shut up gmake
Tom Yu [Fri, 16 Jun 1995 13:19:59 +0000 (13:19 +0000)]
* Makefile.in: "install::" to shut up gmake

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

29 years ago * aclocal.m4: Fix new append.out stuff to work with config.status
Tom Yu [Fri, 16 Jun 1995 09:08:15 +0000 (09:08 +0000)]
* aclocal.m4: Fix new append.out stuff to work with config.status
properly; previously append.out was not getting sucked
into the body of config.status.  The EXTRA_RULES macros
are deprecated and should not be used anymore.

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

29 years ago * aclocal.m4: people were using AC_DIVERSION_MAKEFILE inside
Tom Yu [Fri, 16 Jun 1995 05:41:39 +0000 (05:41 +0000)]
* aclocal.m4: people were using AC_DIVERSION_MAKEFILE inside
conditionals, not realizing that it would not end up
conditionalized.  Define a new macro AC_PUSH_MAKEFILE,
along with AC_POP_MAKEFILE, to stuff things into a tmp
file (append.out) to unconfuse things.

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

29 years ago(V5_USE_SHARED_LIB): Quote arguments to test in case the values are blank
Ezra Peisach [Fri, 16 Jun 1995 02:16:16 +0000 (02:16 +0000)]
(V5_USE_SHARED_LIB): Quote arguments to test in case the values are blank

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

29 years agoRemove extraneous debugging definition from previous checkin
Paul Park [Thu, 15 Jun 1995 22:36:58 +0000 (22:36 +0000)]
Remove extraneous debugging definition from previous checkin

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

29 years agoShared library Makefile/configure changes and cleanup
Paul Park [Thu, 15 Jun 1995 22:34:56 +0000 (22:34 +0000)]
Shared library Makefile/configure changes and cleanup

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

29 years agoAdd #ifdef around switch statement for ETXTBUSY
Theodore Tso [Thu, 15 Jun 1995 03:56:04 +0000 (03:56 +0000)]
Add #ifdef around switch statement for ETXTBUSY

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

29 years ago * Makefile.in: added install rules
Tom Yu [Wed, 14 Jun 1995 23:44:02 +0000 (23:44 +0000)]
* Makefile.in: added install rules

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

29 years ago * pre.in: DO_SUBDIRS causes make {install,clean,check,etc.} to get
Tom Yu [Wed, 14 Jun 1995 23:43:18 +0000 (23:43 +0000)]
* pre.in: DO_SUBDIRS causes make {install,clean,check,etc.} to get
run in subdirectories where they haven't been before.
Added some blank dependencies to keep things from breaking
too badly.

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

29 years ago * aclocal.m4(_MAKE_SUBDIRS): revert yet again; no workaround since
Tom Yu [Wed, 14 Jun 1995 23:42:26 +0000 (23:42 +0000)]
* aclocal.m4(_MAKE_SUBDIRS): revert yet again; no workaround since
subshells inherit "-e" flag.  Ultrix sucks.

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

29 years ago Fixed ACL routines to work on systems with unsigned char.
Sam Hartman [Wed, 14 Jun 1995 22:27:37 +0000 (22:27 +0000)]
Fixed ACL routines to work on systems with unsigned char.
Also fixed minor ordering problem in error checks.

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

29 years ago Fix up places in tests where return type of getopt demoted to
Sam Hartman [Wed, 14 Jun 1995 18:51:11 +0000 (18:51 +0000)]
Fix up places in tests where return type of getopt demoted to
char; doesn't work when char is unsigned.

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

29 years agoWed Jun 14 12:37:51 1995 Sam Hartman <hartmans@tardis.MIT.EDU>
Sam Hartman [Wed, 14 Jun 1995 18:05:37 +0000 (18:05 +0000)]
Wed Jun 14 12:37:51 1995  Sam Hartman  <hartmans@tardis.MIT.EDU>

* configure.in: Check for umask being defined.

* store_mkey.c (krb5_db_store_mkey): Use HAVE_UMASK instead of
unix as a preprocessor define for setting the umask.  AIX doesn't
define unix.

* t_kdb.c (main): Declare option as int, not char.  When char is
unsigned, the comparison to EOF fails and it loops forever.

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

29 years agoFor shared library support create symlinks to the .so images in the
Ezra Peisach [Wed, 14 Jun 1995 14:20:33 +0000 (14:20 +0000)]
For shared library support create symlinks to the .so images in the
subdirs.

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

29 years agoDon't copy library up a level. Let above Makefile create symlink for
Ezra Peisach [Wed, 14 Jun 1995 14:19:34 +0000 (14:19 +0000)]
Don't copy library up a level. Let above Makefile create symlink for
this library and the .so

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

29 years ago Instead of special casing _AIX in network.c, look for
Sam Hartman [Tue, 13 Jun 1995 22:22:32 +0000 (22:22 +0000)]
Instead of special casing _AIX in network.c, look for
SYS_SELECT_H in configure.in and check this symbol to include
sys/select.h in network.c.

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

29 years ago Only defining DEVICE_OPEN et al when unix was defined breaks
Sam Hartman [Tue, 13 Jun 1995 22:20:59 +0000 (22:20 +0000)]
Only defining DEVICE_OPEN et al when unix was defined breaks
AIX.  Instead, assume POSIX behavior (just open the devices), and
special case anything that differs (PC, Mac).  Currently, there
weren't any special cases anyway.

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

29 years agoReally check for /bin/sh5
Paul Park [Tue, 13 Jun 1995 20:15:56 +0000 (20:15 +0000)]
Really check for /bin/sh5

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

29 years agoFix test for Ultrix and Solaris
Paul Park [Tue, 13 Jun 1995 20:02:23 +0000 (20:02 +0000)]
Fix test for Ultrix and Solaris

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

29 years ago Check for sys/select.h and include if found. Required to
Sam Hartman [Tue, 13 Jun 1995 16:42:44 +0000 (16:42 +0000)]
Check for sys/select.h and include if found.  Required to
compile under AIX.

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

29 years ago * Makefile.in: don't install libss.a
Tom Yu [Tue, 13 Jun 1995 05:49:42 +0000 (05:49 +0000)]
* Makefile.in: don't install libss.a

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

29 years ago * aclocal.m4 (CopySrcHeader): do a set -x before mkdir
Tom Yu [Tue, 13 Jun 1995 05:47:12 +0000 (05:47 +0000)]
* aclocal.m4 (CopySrcHeader): do a set -x before mkdir
_MAKE_SUBDIRS: inserted a "-@" rather than a "@" at the
beginning of the rule; Ultrix make does /bin/sh -e
ruleline if it's not there, and set +e doesn't work.

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

29 years ago(kdc_process_tgs_req): Set the auth_context rcache to null before
Ezra Peisach [Tue, 13 Jun 1995 00:08:35 +0000 (00:08 +0000)]
(kdc_process_tgs_req): Set the auth_context rcache to null before
freeing auth_context. This keeps the rcache valid (to be close elsewhere)

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

29 years ago A couple bug reports/patches from Ed Phillips (flaregun@udel.edu)
Chris Provenzano [Mon, 12 Jun 1995 21:41:23 +0000 (21:41 +0000)]
A couple bug reports/patches from Ed Phillips (flaregun@udel.edu)
* in_tkt_ktb.c (keytab_keyproc()): Fix memory leak.
* recvauth.c (krb5_recvauth()): Don't open a new rcache if
the auth_context already has one.
* auth_con.c (krb5_auth_con_free()): Close rcache is the
auth_context has one set.
* auth_con.c (krb5_auth_con_getrcache()): Return pointer
to the rcache set in the auth_context.

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

29 years agodefinition of krb5_auth_context to a pointer, sizeof(krb5_auth_context)
Ezra Peisach [Sun, 11 Jun 1995 17:00:02 +0000 (17:00 +0000)]
definition of krb5_auth_context to a pointer, sizeof(krb5_auth_context)
is only the size of the pointer - not the structure size!

auth_con_init: Zero the entire auth_context... With the change in

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

29 years agokrb5.tex: Update krb5_auth_context usage. Add krb5_get_cred_via_tkt
Ezra Peisach [Sun, 11 Jun 1995 13:34:00 +0000 (13:34 +0000)]
krb5.tex: Update krb5_auth_context usage. Add krb5_get_cred_via_tkt

ccache.tex: Add krb5_get_notification_message.

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

29 years ago(clean): Remove t_kdb and t_kdb.o
Ezra Peisach [Sun, 11 Jun 1995 13:27:22 +0000 (13:27 +0000)]
(clean): Remove t_kdb and t_kdb.o

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

29 years ago(clean-unix): Remove $(UNIX_OBJS)
Ezra Peisach [Sun, 11 Jun 1995 13:25:09 +0000 (13:25 +0000)]
(clean-unix): Remove $(UNIX_OBJS)

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

29 years agoAdd missing declaration of krb5_auth_con_initivector
Ezra Peisach [Sun, 11 Jun 1995 13:21:51 +0000 (13:21 +0000)]
Add missing declaration of krb5_auth_con_initivector

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

29 years ago * configure.in: fix intial value of CDEFS_INCLUDE so that make
Tom Yu [Sun, 11 Jun 1995 06:53:02 +0000 (06:53 +0000)]
* configure.in: fix intial value of CDEFS_INCLUDE so that make
check doesn't end up with a "-I "

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

29 years agochanges to accomodate redefinition of krb5_auth_context
Tom Yu [Sun, 11 Jun 1995 06:31:30 +0000 (06:31 +0000)]
changes to accomodate redefinition of krb5_auth_context

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

29 years agorecv_tocken: Initialize stack variable to 0 before using
Ezra Peisach [Sat, 10 Jun 1995 23:19:43 +0000 (23:19 +0000)]
recv_tocken: Initialize stack variable to 0 before using

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

29 years agoRemoved HAS_ANSI_CONST, HAS_ANSI_VOLATILE, HAS_SYS_FILE,
Ezra Peisach [Sat, 10 Jun 1995 12:29:39 +0000 (12:29 +0000)]
Removed HAS_ANSI_CONST, HAS_ANSI_VOLATILE, HAS_SYS_FILE,
HAS_SYS_PARAM_H, TM_IN_SYS_TIME. include/krb5/configure does not check
for these and are therefore these are never set.

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

29 years agoAllow for partial reads while reading the token
Theodore Tso [Sat, 10 Jun 1995 04:29:38 +0000 (04:29 +0000)]
Allow for partial reads while reading the token

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

29 years agoMake sure the status return from krb5_scc_store_principal is reflected
Theodore Tso [Sat, 10 Jun 1995 04:05:32 +0000 (04:05 +0000)]
Make sure the status return from krb5_scc_store_principal is reflected
in the return status of krb5_scc_initialize().

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

29 years agoMake sure the status return from krb5_fcc_store_principal is reflected
Theodore Tso [Sat, 10 Jun 1995 04:04:41 +0000 (04:04 +0000)]
Make sure the status return from krb5_fcc_store_principal is reflected
in the return status of krb5_fcc_initialize().

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

29 years agoChange assertion to check to make sure that the day of the month is >=
Theodore Tso [Sat, 10 Jun 1995 03:47:44 +0000 (03:47 +0000)]
Change assertion to check to make sure that the day of the month is >=
1, not 0.

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

29 years agoChange the default kadmin instance to be "admin"
Theodore Tso [Sat, 10 Jun 1995 03:47:18 +0000 (03:47 +0000)]
Change the default kadmin instance to be "admin"

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

29 years agoUse the principal "krbtest/admin@KRBTEST.COM" for kadmin
Theodore Tso [Sat, 10 Jun 1995 03:46:49 +0000 (03:46 +0000)]
Use the principal "krbtest/admin@KRBTEST.COM" for kadmin

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

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:44:39 +0000 (23:44 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

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

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:37:12 +0000 (23:37 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

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

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:33:58 +0000 (23:33 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.  Use DO_SUBDIRS to recurse down
subdirectories.

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

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:32:16 +0000 (23:32 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

scc_maybe.c: Fix -Wall nits

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

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:32:07 +0000 (23:32 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

fcc_maybe.c: Fix -Wall nits

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

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:29:13 +0000 (23:29 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

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

29 years agomd5crypto.c: Fix -Wall nits
Theodore Tso [Fri, 9 Jun 1995 23:22:40 +0000 (23:22 +0000)]
md5crypto.c: Fix -Wall nits

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

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

29 years agomd4crypto.c: Fix -Wall nits
Theodore Tso [Fri, 9 Jun 1995 23:21:24 +0000 (23:21 +0000)]
md4crypto.c: Fix -Wall nits

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

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

29 years agoFix -Wall nits
Theodore Tso [Fri, 9 Jun 1995 23:20:47 +0000 (23:20 +0000)]
Fix -Wall nits

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

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:17:10 +0000 (23:17 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

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

29 years agodispatch.c, kdc_util.h, kerberos_v4.c: Use KRB5_KRB4_COMPAT instead of
Theodore Tso [Fri, 9 Jun 1995 23:16:14 +0000 (23:16 +0000)]
dispatch.c, kdc_util.h, kerberos_v4.c: Use KRB5_KRB4_COMPAT instead of
KRB4 for determining whether to compile in Kerberos V4 backwards
compatibility

configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

do_as_req.c, do_tgs_req.c, kdc_util.c, kerberos_v4.c, main.c,
network.c: Fix -Wall nits.

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

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:10:30 +0000 (23:10 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.

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

29 years agoconfigure.in: Remove standardized set of autoconf macros, which are
Theodore Tso [Fri, 9 Jun 1995 23:10:15 +0000 (23:10 +0000)]
configure.in: Remove standardized set of autoconf macros, which are
now handled by CONFIG_RULES.  Use DO_SUBDIRS to recurse down
subdirectories.

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