krb5.git
29 years agoNew file, unix_time, didn't work on the PC
Keith Vetter [Wed, 22 Mar 1995 22:28:10 +0000 (22:28 +0000)]
New file, unix_time, didn't work on the PC

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

29 years agoRepair some makefile changes which broke the PC build
Keith Vetter [Wed, 22 Mar 1995 22:27:01 +0000 (22:27 +0000)]
Repair some makefile changes which broke the PC build

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

29 years agoPC config changes due to changes in include sys/types.h
Keith Vetter [Wed, 22 Mar 1995 22:24:07 +0000 (22:24 +0000)]
PC config changes due to changes in include sys/types.h

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

29 years agoAdded all-mac target to the top level makefile
Keith Vetter [Wed, 22 Mar 1995 20:42:42 +0000 (20:42 +0000)]
Added all-mac target to the top level makefile

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

29 years agoMake -I options work when the build and source tree are different
Theodore Tso [Wed, 22 Mar 1995 20:27:00 +0000 (20:27 +0000)]
Make -I options work when the build and source tree are different

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

29 years agoFixed up zipping up PC source for uncleaned source trees
Keith Vetter [Wed, 22 Mar 1995 20:23:11 +0000 (20:23 +0000)]
Fixed up zipping up PC source for uncleaned source trees

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

29 years agoAdded files to the windows/cns directory
Keith Vetter [Wed, 22 Mar 1995 20:17:41 +0000 (20:17 +0000)]
Added files to the windows/cns directory

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

29 years agoAdding files to newley created windows directory
Keith Vetter [Wed, 22 Mar 1995 20:15:00 +0000 (20:15 +0000)]
Adding files to newley created windows directory

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

29 years agoOops. Missed a directory in zipping up for the PC
Keith Vetter [Wed, 22 Mar 1995 05:52:52 +0000 (05:52 +0000)]
Oops. Missed a directory in zipping up for the PC

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

29 years agoAdded zipping up source for the PC to the top-level makefile
Keith Vetter [Wed, 22 Mar 1995 05:37:11 +0000 (05:37 +0000)]
Added zipping up source for the PC to the top-level makefile

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

29 years agoAdded the GSSAPI routines to the windows dll
Keith Vetter [Wed, 22 Mar 1995 05:17:01 +0000 (05:17 +0000)]
Added the GSSAPI routines to the windows dll

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

29 years agoBug fixes in ccache/file for the PC: files need to be opened in binary mode,
Keith Vetter [Wed, 22 Mar 1995 05:12:02 +0000 (05:12 +0000)]
Bug fixes in ccache/file for the PC: files need to be opened in binary mode,
unitialized variable and changed some clever code that depends upon 32 bit
integers. Also, added hooks, ala k4, that notify the world when the cache changes.

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

29 years agoFixed signed/unsigned assignment mismatches
Keith Vetter [Wed, 22 Mar 1995 05:05:53 +0000 (05:05 +0000)]
Fixed signed/unsigned assignment mismatches

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

29 years agoChanged the name of the gssapi library created under Windows and a couple of
Keith Vetter [Wed, 22 Mar 1995 04:59:35 +0000 (04:59 +0000)]
Changed the name of the gssapi library created under Windows and a couple of
signed/unsigned assignment mismatches.

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

29 years agoPart of low-level open file PC bug and moved some prototypes into world
Keith Vetter [Wed, 22 Mar 1995 04:56:13 +0000 (04:56 +0000)]
Part of low-level open file PC bug and moved some prototypes into world
accessible files.

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

29 years agoFixed bugs in the com_err library so that it's callable from windows programs
Keith Vetter [Wed, 22 Mar 1995 04:50:28 +0000 (04:50 +0000)]
Fixed bugs in the com_err library so that it's callable from windows programs

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

29 years agoThe "includes" target is *not* obsolete; it's necessary to copy the
Theodore Tso [Wed, 22 Mar 1995 02:27:22 +0000 (02:27 +0000)]
The "includes" target is *not* obsolete; it's necessary to copy the
header files to the build tree.

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

29 years agoAdded function (unix_time_gmt_unixsec) needed for des425 to work with
Theodore Tso [Tue, 21 Mar 1995 02:19:24 +0000 (02:19 +0000)]
Added function (unix_time_gmt_unixsec) needed for des425 to work with
the Cygnus krb.a.

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

29 years agoFix comment that referred to STDARG_PROTOTYPES
John Gilmore [Sun, 19 Mar 1995 20:52:53 +0000 (20:52 +0000)]
Fix comment that referred to STDARG_PROTOTYPES

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

29 years ago* aclocal.m4 (CHECK_STDARG): Remove; we're just using AC_HEADER_CHECK.
John Gilmore [Sun, 19 Mar 1995 20:51:13 +0000 (20:51 +0000)]
* aclocal.m4 (CHECK_STDARG):  Remove; we're just using AC_HEADER_CHECK.
(V5_AC_OUTPUT_MAKEFILE):  Reorder the Makefile output so that it can be
run through `sed' for the Macintosh.
* acconfig.h:  Remove STDARG_PROTOTYPES.

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

29 years ago* kerberos_v4.c: Replace STDARG_PROTOTYPES with HAVE_STDARG_H
John Gilmore [Sun, 19 Mar 1995 03:00:31 +0000 (03:00 +0000)]
* kerberos_v4.c:  Replace STDARG_PROTOTYPES with HAVE_STDARG_H

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

29 years ago* bld_pr_ext.c, bld_princ.c: Replace STDARG_PROTOTYPES with
John Gilmore [Sun, 19 Mar 1995 02:59:07 +0000 (02:59 +0000)]
* bld_pr_ext.c, bld_princ.c:  Replace STDARG_PROTOTYPES with
HAVE_STDARG_H for consistency.

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

29 years ago* configure.in: Use AC_CHECK_HEADERS(stdarg.h), not CHECK_STDARG.
John Gilmore [Sun, 19 Mar 1995 02:50:24 +0000 (02:50 +0000)]
* configure.in:  Use AC_CHECK_HEADERS(stdarg.h), not CHECK_STDARG.
* error.c:  Use HAVE_STDARG_H, not STDARG_PROTOTYPES.

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

29 years ago* com_err.c, com_err.h: Use HAVE_STDARG_H, not STDARG_PROTOTYPES.
John Gilmore [Sun, 19 Mar 1995 02:48:33 +0000 (02:48 +0000)]
* com_err.c, com_err.h:  Use HAVE_STDARG_H, not STDARG_PROTOTYPES.
* configure.in:  Use AC_CHECK_HEADERS(stdarg.h), not CHECK_STDARG.

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

29 years agoForgot to check this in earlier
John Gilmore [Sun, 19 Mar 1995 02:43:49 +0000 (02:43 +0000)]
Forgot to check this in earlier

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

29 years ago* acgeneral.m4: Report the update status of the cache better;
John Gilmore [Sat, 18 Mar 1995 04:42:05 +0000 (04:42 +0000)]
* acgeneral.m4:  Report the update status of the cache better;
show diffs if an unwriteable cache gets updated, for manually
configuring the Mac config.cache.
* configure:  Update with this acgeneral.m4.

[This change, or one very close to it, was submitted for autoconf 2.2.]

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

29 years ago* Makefile.in (LDFLAGS): Eliminate duplicate of config/pre.in
John Gilmore [Sat, 18 Mar 1995 04:29:14 +0000 (04:29 +0000)]
* Makefile.in (LDFLAGS):  Eliminate duplicate of config/pre.in

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

29 years ago* Makefile.in (LDFLAGS): Zap duplicate.
John Gilmore [Sat, 18 Mar 1995 04:25:42 +0000 (04:25 +0000)]
* Makefile.in (LDFLAGS):  Zap duplicate.
(all-mac):  Add.

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

29 years ago* Makefile.in (LDFLAGS): Eliminate, duplicates config/pre.in.
John Gilmore [Sat, 18 Mar 1995 04:24:01 +0000 (04:24 +0000)]
* Makefile.in (LDFLAGS):  Eliminate, duplicates config/pre.in.
* localaddr.c:  Remove socket include files now handled in k5-int.h.

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

29 years ago* Makefile.in (check-mac): Add.
John Gilmore [Sat, 18 Mar 1995 03:55:46 +0000 (03:55 +0000)]
* Makefile.in (check-mac):  Add.
* compat_recv.c, get_fcreds.c, recvauth.c:  Eliminate Unix socket
#includes, which are now handled by k5-int.h (via k5-config.h).
* conv_princ.c:  Rename variable "comp" to another name; "comp"
apparently bothers the MPW compiler...
* rd_cred.c:  Avoid (void) casts of void functions, for MPW.
* t_walk_rtree.c:  Put com_err.h after k5_int for <sys/types> stuff.
(main):  Declare and initialize the krb5_context that's being
passed to everything.

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

29 years ago* Makefile.in (LDFLAGS): Zap duplicate defn.
John Gilmore [Sat, 18 Mar 1995 03:47:23 +0000 (03:47 +0000)]
* Makefile.in (LDFLAGS):  Zap duplicate defn.
(all-mac, clean-mac):  Add.

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

29 years ago* Makefile.in (LDFLAGS): Elim duplicate
John Gilmore [Sat, 18 Mar 1995 03:45:41 +0000 (03:45 +0000)]
* Makefile.in (LDFLAGS):  Elim duplicate

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

29 years ago* Makefile.in (LDFLAGS): Eliminate, duplicate.
John Gilmore [Sat, 18 Mar 1995 03:44:45 +0000 (03:44 +0000)]
* Makefile.in (LDFLAGS):  Eliminate, duplicate.
(SRCS):  Eliminate $(srcdir) which causes mac problems.
(all-unix):  Eliminate obsolete "includes".
(all-mac):  Add.
(unixmac):  Add $(SRCS) so that the .c source files will be created
here in the original "configure tree on Unix" stage of the build.

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

29 years agoFix rules for localdr.c, ustime.c, and memmove.c so that they
Theodore Tso [Sat, 18 Mar 1995 03:44:09 +0000 (03:44 +0000)]
Fix rules for localdr.c, ustime.c, and memmove.c so that they
reference $(srcdir) where appropriate.  (The conversion to use the
$(S)$(U) hacks screwed this up.)

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

29 years ago* scc_errs.c: Mac doesn't have EISDIR error.
John Gilmore [Sat, 18 Mar 1995 03:34:17 +0000 (03:34 +0000)]
* scc_errs.c:  Mac doesn't have EISDIR error.
* scc_gennew.c, scc_maybe.c:  Eliminate the use of htons and ntohs
for byte order handling; just do it by hand.
* scc_read.c (krb5_scc_read_authdatum):  Zap unused variable "ret".
* Makefile.in (LDFLAGS):  Eliminate, duplicates config/pre.in.

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

29 years ago* Makefile.in (LDFLAGS): Eliminate, duplicates config/pre.in
John Gilmore [Sat, 18 Mar 1995 03:24:01 +0000 (03:24 +0000)]
* Makefile.in (LDFLAGS):  Eliminate, duplicates config/pre.in

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

29 years ago* Makefile.in (LDFLAGS): Remove, duplicates config/pre.in.
John Gilmore [Sat, 18 Mar 1995 03:23:02 +0000 (03:23 +0000)]
* Makefile.in (LDFLAGS):  Remove, duplicates config/pre.in.
(CFLAGS):  Add -I options for file and stdio, to avoid paths in
#include statements.
(all-mac, clean-mac):  Add.
* ccdefops.c:  Avoid includes with pathnames, since they don't work
on the Mac.  Configure the default cache based on whether the
system has <sys/types.h> (which defines types for low-level file
operations, among other things).
* configure.in (CONFIG_DIRS):  Build stdio before file, for Mac
convenience (where file doesn't build).

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

29 years ago* krb5.h: Move <sys/types> and u_long (etc) code to krb5/k5-config.h.
John Gilmore [Sat, 18 Mar 1995 03:15:52 +0000 (03:15 +0000)]
* krb5.h:  Move <sys/types> and u_long (etc) code to krb5/k5-config.h.
It is needed there when NEED_SOCKETS is defined.
* Makefile.in (all-mac, clean-mac):  Add.

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

29 years ago* k5-config.h: Move <sys/types.h> handling from ../krb5.h to
John Gilmore [Sat, 18 Mar 1995 03:15:26 +0000 (03:15 +0000)]
* k5-config.h:  Move <sys/types.h> handling from ../krb5.h to
here, because we need <sys/types.h> or the u_* types to be defined
before we include the Unix socket include files a little later in
k5-config.h.  We actually add this code twice, once in the MSDOS
section and once in the Unix/Mac section.
(NEED_SOCKETS):  Also include <net/if.h>, for localaddr.c.
* Makefile.in (clean-mac):  Add.

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

29 years ago* Makefile.in: Remove redundant definitions from config/pre.in
John Gilmore [Sat, 18 Mar 1995 03:08:48 +0000 (03:08 +0000)]
* Makefile.in:  Remove redundant definitions from config/pre.in
(clean-mac):  Add.
* asn1_misc.c:  Avoid <malloc.h> and <memory.h> includes, for Mac.
(asn1_krb5_realm_copy):  Use malloc, not calloc, since we're
about to clobber the storage anyway.
* configure.in (WITH_KRB5ROOT):  Remove, not needed.
* krbasn1.h:  Document that <limits.h> is needed for INT_MAX.

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

29 years agoDelete redundant definitions defined in pre/config.in
Theodore Tso [Fri, 17 Mar 1995 21:07:32 +0000 (21:07 +0000)]
Delete redundant definitions defined in pre/config.in

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

29 years agoSet the return code from ss_execute_line(), so that appropriate error
Theodore Tso [Fri, 17 Mar 1995 20:59:25 +0000 (20:59 +0000)]
Set the return code from ss_execute_line(), so that appropriate error
checking is done.

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

29 years agoMakefile.in, configure.in: Use the libdes425 library so that the DES
Theodore Tso [Fri, 17 Mar 1995 20:58:31 +0000 (20:58 +0000)]
Makefile.in, configure.in: Use the libdes425 library so that the DES
code doesn't get dragged in twice.

krlogind.c: Include <sys/time.h> so that Linux can get the FD_SET macros.

kcmd.c (kcmd): Close the credentials cache when you're done with it.

krlogind.c (doit): Always initialize the Krb5 error table.

krlogind.c (main, doit): Minor type fixes to gethostbyname(), accept().

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

29 years agoDelete redundant definitions defined in pre/config.in
Theodore Tso [Fri, 17 Mar 1995 20:56:54 +0000 (20:56 +0000)]
Delete redundant definitions defined in pre/config.in

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

29 years agoDelete redundant definitions that already defined in pre/config.in
Theodore Tso [Fri, 17 Mar 1995 20:56:25 +0000 (20:56 +0000)]
Delete redundant definitions that already defined in pre/config.in

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

29 years agoconfigure.in, Makefile.in: Use the libdes425 library so that the DES
Theodore Tso [Fri, 17 Mar 1995 20:33:48 +0000 (20:33 +0000)]
configure.in, Makefile.in: Use the libdes425 library so that the DES
code doesn't get dragged in twice.

kdc_util.c (validate_as_request): Allow a client to obtain a password
changing ticket, even if the client's key is expired.

main.c (usage, process_args, main): The KDC will disassociate itself
from the terminal by default, unless the -n option is given.

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

29 years ago* Makefile.in (LDFLAGS): Eliminate, comes in from pre.in.
John Gilmore [Fri, 17 Mar 1995 05:26:21 +0000 (05:26 +0000)]
* Makefile.in (LDFLAGS):  Eliminate, comes in from pre.in.
(all-mac):  Add.
(localaddr.c, ustime.c, memmove.c):  Fix paths to work on Mac.

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

29 years ago* Makefile.in (LDFLAGS): Remove, conflicts with pre.in.
John Gilmore [Fri, 17 Mar 1995 05:24:32 +0000 (05:24 +0000)]
* Makefile.in (LDFLAGS):  Remove, conflicts with pre.in.
(all):  Remove all-$(WHAT) stuff.
(t_mddriver):  Make it build on Mac.
(check):  Use $(EXEEXT).

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

29 years ago* Makefile.in (CFLAGS): Tweak for Unix->MPW converter.
John Gilmore [Fri, 17 Mar 1995 05:22:21 +0000 (05:22 +0000)]
* Makefile.in (CFLAGS):  Tweak for Unix->MPW converter.
(LDFLAGS):  Remove, conflicts with pre.in.
(all):  Remove all-$(WHAT) stuff, generalize for all platforms.
(t_mddriver):  Remove t_mddriver-$(WHAT) stuff, ditto.
(check):  Use $(EXEEXT).

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

29 years ago* Makefile.in (LDFLAGS): Remove, conflicts with pre.in.
John Gilmore [Fri, 17 Mar 1995 05:19:53 +0000 (05:19 +0000)]
* Makefile.in (LDFLAGS):  Remove, conflicts with pre.in.
(clean):  Insert FIXME.
(verify$(EXEEXT), destest$(EXEEXT)):  Make them work on Mac.
(check-mac):  Add, identical to Unix.
(clean):  Use $(EXEEXT).
* des_int.h (mit_des_cbc_cksum):  Fix prototype from void to long,
to match the actual function.

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

29 years ago* Makefile.in (crctest, crctest.exe): Replace crctest-unix and
John Gilmore [Fri, 17 Mar 1995 05:16:22 +0000 (05:16 +0000)]
* Makefile.in (crctest, crctest.exe):  Replace crctest-unix and
crctest-windows with versions that work for Mac too.
(check):  Build and run crctest$(EXEEXT).  This runs on MPW now.

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

29 years ago* Makefile.in (CFLAGS): Avoid continuation line that starts with
John Gilmore [Fri, 17 Mar 1995 05:14:11 +0000 (05:14 +0000)]
* Makefile.in (CFLAGS):  Avoid continuation line that starts with
dash; it confuses the Unix->MPW makefile converter.
(##DOSLIBNAME):  No longer needed since DLL built one level up.
(all-mac):  Add.
(libcrypto.a):  Use explicit "./" on paths to DONE files, to
help Unix->MPW makefile converter with rotten Mac pathname conventions.

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

29 years ago* configure.in: Replace nonstandard CHECK_STDARG with
John Gilmore [Fri, 17 Mar 1995 05:03:27 +0000 (05:03 +0000)]
* configure.in:  Replace nonstandard CHECK_STDARG with
AC_CHECK_HEADERS.  Also check for header file macsock.h, which
is a dummy test -- it's false on Unix and PC's, but on the Mac
we hand-configure it to be true, to indicate that we want Mac
socket support rather than Unix socket support.
* base-defs.h, k5-config.h:  Use HAVE_STDARG_H, not STDARG_PROTOTYPES.
* k5-config.h (NEED_SOCKETS):  Add new section which brings in
socket include files for the appropriate compilation environment
(Mac or Unix; Windows already did this).
* macsock.h:  New include file, derived from Cygnus Network Security
Mac K4 release, for simulating sockets under MacTCP.

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

29 years agoFirst cut at Macintosh configuration support
John Gilmore [Fri, 17 Mar 1995 04:57:34 +0000 (04:57 +0000)]
First cut at Macintosh configuration support

* mac-config.cache:  New file, a hand-built autoconf `config.cache'
file with the right values for building under MPW.
* mac-config.README:  Documentation for mac-config.cache.
* mac-pre.in, mac-post.in:  Versions of pre.in and post.in for
configuring on MPW.
* mac-mf.sed:  A `sed' script which will turn carefully constructed
Unix Makefiles into carefully constructed Macintosh MPW Makefiles.

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

29 years ago* configure.in: Replace CHECK_STDARG with AC_CHECK_HEADERS.
John Gilmore [Fri, 17 Mar 1995 04:53:15 +0000 (04:53 +0000)]
* configure.in:  Replace CHECK_STDARG with AC_CHECK_HEADERS.
* main.c (print_status):  Use HAVE_STDARG_H to control whether to
declare with ", ..."; not STDARG_PROTOTYPES.
* ksu.h:  Don't include <stdarg.h> or <varargs.h>, since they
are already included by "com_err.h".

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

29 years agoProblem with the error routines and windows definitions
Keith Vetter [Fri, 17 Mar 1995 01:35:41 +0000 (01:35 +0000)]
Problem with the error routines and windows definitions

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

29 years agoTop level makefile changes for the PC--now builds the whole world
Keith Vetter [Fri, 17 Mar 1995 00:36:43 +0000 (00:36 +0000)]
Top level makefile changes for the PC--now builds the whole world

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

29 years agoPorted the error table stuff to the PC
Keith Vetter [Fri, 17 Mar 1995 00:30:47 +0000 (00:30 +0000)]
Ported the error table stuff to the PC

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

29 years agoFixed up typo in the Makefile
Keith Vetter [Thu, 16 Mar 1995 23:11:15 +0000 (23:11 +0000)]
Fixed up typo in the Makefile

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

29 years agoInclude file changes needed for error table stuff
Keith Vetter [Thu, 16 Mar 1995 20:35:37 +0000 (20:35 +0000)]
Include file changes needed for error table stuff

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

29 years agoMissed some dependencies on the PC build in src/lib
Keith Vetter [Thu, 16 Mar 1995 06:55:13 +0000 (06:55 +0000)]
Missed some dependencies on the PC build in src/lib

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

29 years agoMakefile now recurses into krb5 directory on the PC
Keith Vetter [Thu, 16 Mar 1995 05:43:56 +0000 (05:43 +0000)]
Makefile now recurses into krb5 directory on the PC

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

29 years agoAdded 3 new files and changed the makefile in lib to be able to make a DLL
Keith Vetter [Thu, 16 Mar 1995 05:05:34 +0000 (05:05 +0000)]
Added 3 new files and changed the makefile in lib to be able to make a DLL
on the PC out of the source in crypto, krb5 and util\et.

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

29 years agoChanges in des425 due to adding prototypes for called functions
Keith Vetter [Wed, 15 Mar 1995 22:21:50 +0000 (22:21 +0000)]
Changes in des425 due to adding prototypes for called functions

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

29 years agoWindows changes in krb5: makefile cleanup and some small code changes
Keith Vetter [Wed, 15 Mar 1995 20:58:06 +0000 (20:58 +0000)]
Windows changes in krb5: makefile cleanup and some small code changes

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

29 years agoSome windows i/o stuff and moved 2 prototypes to func-proto.h
Keith Vetter [Wed, 15 Mar 1995 19:55:31 +0000 (19:55 +0000)]
Some windows i/o stuff and moved 2 prototypes to func-proto.h

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

29 years agoTwo changes in the crypto directory: 1) 16 vs 32 bit errors in DES and 2)
Keith Vetter [Wed, 15 Mar 1995 01:57:23 +0000 (01:57 +0000)]
Two changes in the crypto directory: 1) 16 vs 32 bit errors in DES and 2)
removed crud for making a DLL (will be done at a higher level.)

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

29 years agoLots of changes made based on feedback
Theodore Tso [Mon, 13 Mar 1995 19:00:27 +0000 (19:00 +0000)]
Lots of changes made based on feedback

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

29 years agoInitialize ret_cred to zero so that in case of an error, we don't try
Theodore Tso [Fri, 10 Mar 1995 23:35:21 +0000 (23:35 +0000)]
Initialize ret_cred to zero so that in case of an error, we don't try
to free stack garbage.

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

29 years agoMake the second argument of asn1buf_insert_octet be an int, instead of
Theodore Tso [Fri, 10 Mar 1995 20:47:39 +0000 (20:47 +0000)]
Make the second argument of asn1buf_insert_octet be an int, instead of
asn1_octet.  ANSI C narrow types screws us again....

(The RS/6000 compiler blew out until this was fixed....)

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

29 years agoRemoved definition of FD_SETSIZE, FD_SET, FD_CLR, FD_ISSET, and
Theodore Tso [Fri, 10 Mar 1995 19:24:26 +0000 (19:24 +0000)]
Removed definition of FD_SETSIZE, FD_SET, FD_CLR, FD_ISSET, and
FD_ZERO.  Defining them in favor of using the system include files is
almost always wrong.

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

29 years ago * kerberos5.c Use new calling convention for krb5_mk_req_extended()
Chris Provenzano [Fri, 10 Mar 1995 17:32:44 +0000 (17:32 +0000)]
    * kerberos5.c Use new calling convention for krb5_mk_req_extended()

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

29 years ago * sim_client.c Use new calling convention for krb5_mk_req(),
Chris Provenzano [Fri, 10 Mar 1995 17:30:24 +0000 (17:30 +0000)]
    * sim_client.c Use new calling convention for krb5_mk_req(),
krb5_mk_priv(), and krb5_mk_safe().

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

29 years ago * sclient.c Use new calling convention for krb5_sendauth()
Chris Provenzano [Fri, 10 Mar 1995 17:29:43 +0000 (17:29 +0000)]
    * sclient.c Use new calling convention for krb5_sendauth()

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

29 years ago * kcmd.c (kcmd()) Use new calling convention for krb5_sendauth().
Chris Provenzano [Fri, 10 Mar 1995 17:28:38 +0000 (17:28 +0000)]
    * kcmd.c (kcmd()) Use new calling convention for krb5_sendauth().
* krcp.c () Use new calling convention for krb5_mk_req_extended().

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

29 years ago * kpasswd.c Use new calling convention for krb5_sendauth(),
Chris Provenzano [Fri, 10 Mar 1995 17:27:45 +0000 (17:27 +0000)]
    * kpasswd.c Use new calling convention for krb5_sendauth(),
                krb5_mk_priv(), and krb5_rd_priv().

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

29 years ago * kadmin.c, kadmin_adr.c, kadmin_cpw.c, kadmin_done.c, kadmin_mod.c
Chris Provenzano [Fri, 10 Mar 1995 17:27:20 +0000 (17:27 +0000)]
* kadmin.c, kadmin_adr.c, kadmin_cpw.c, kadmin_done.c, kadmin_mod.c
* kadmin_add.c, kadmin_cpr.c, kadmin_del.c, kadmin_inq.c, kadmin_msnd.c
Use new calling convention for krb5_sendauth(), krb5_mk_priv(),
krb5_rd_priv(), krb5_mk_safe(), and krb5_rd_safe().

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

29 years ago * auth_con.h auth_con.c Added for krb5_auth_con definition and
Chris Provenzano [Fri, 10 Mar 1995 17:26:04 +0000 (17:26 +0000)]
* auth_con.h auth_con.c Added for krb5_auth_con definition and
support routines.

* mk_req.c (krb5_mk_req())
* mk_req_ext.c (krb5_mk_req_extended())
* rd_rep.c (krb5_rd_rep())
* sendauth.c (krb5_sendauth())
* mk_priv.c (krb5_mk_priv())
* mk_safe.c (krb5_mk_safe())
* rd_priv.c (krb5_rd_priv())
* rd_safe.c (krb5_rd_safe())
Added a krb5_auth_context argument and eliminated many of
the other arguments because they are included in the
krb5_auth_context structure.

* send_tgs.c (krb5_send_tgs()) Eliminate call to krb5_mk_req_extended(),
which does far more than krb5_send_tgs() needs.

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

29 years ago * fcc_destry.c (krb5_fcc_destroy())
Chris Provenzano [Fri, 10 Mar 1995 17:25:03 +0000 (17:25 +0000)]
* fcc_destry.c (krb5_fcc_destroy())
* fcc_init.c   (krb5_fcc_initialize())
Initialize kret before returning it.

* fcc_maybe.c (fcc_lock_file()) Initialize st before returning it.

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

29 years ago * init_sec_context.c (krb5_gss_init_sec_context())
Chris Provenzano [Fri, 10 Mar 1995 17:24:24 +0000 (17:24 +0000)]
* init_sec_context.c (krb5_gss_init_sec_context())
Use new calling convention for krb5_mk_req_ext() and
krb5_rd_rep().

* gssapiP_krb5.h Added a krb5_auth_context pointer to the
krb5_gss_ctx_id_rec structure to store the auth_context
between multiple calls to krb5_gss_init_sec_context().

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

29 years ago * krb5.h Added empty structure declaration of krb5_auth_context
Chris Provenzano [Fri, 10 Mar 1995 17:18:02 +0000 (17:18 +0000)]
* krb5.h Added empty structure declaration of krb5_auth_context

* k5-int.h Moved #include "adm_defs.h" to krb5.h

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

29 years ago * func-proto.h (krb5_mk_req(), krb5_mk_req_extended(), krb5_rd_rep(),
Chris Provenzano [Fri, 10 Mar 1995 17:12:29 +0000 (17:12 +0000)]
* func-proto.h (krb5_mk_req(), krb5_mk_req_extended(), krb5_rd_rep(),
krb5_sendauth(), krb5_mk_priv(), krb5_rd_priv(), krb5_mk_safe(),
and krb5_rd_safe()). Added a krb5_auth_context argument and
eliminated many of the other arguments because they are
included in the krb5_auth_context structure.

* fieldbits.h Added #define AP_OPTS_USE_SUBKEY 0x00000001 for a
new option to an ap req message. This is mainly a clean way
to inform krb5_mk_req() and krb5_mk_req_extended() to
create the subkey without adding an extra argument.

* safepriv.h Replace safe/priv flags with flags for krb5_auth_context
and add krb5_replay_data structure for when the appilication
want to do it's own replay detection for safe and priv calls.

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

29 years ago * Makefile.in (all-windows): tabs, not spaces.
Mark Eichin [Thu, 9 Mar 1995 23:30:27 +0000 (23:30 +0000)]
* Makefile.in (all-windows): tabs, not spaces.
from ezra.

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

29 years agoSome int/long, signed/unsigned conversions
Keith Vetter [Thu, 9 Mar 1995 03:29:21 +0000 (03:29 +0000)]
Some int/long, signed/unsigned conversions

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

29 years agoRemove verify.o when doing a make clean
Theodore Tso [Wed, 8 Mar 1995 22:14:44 +0000 (22:14 +0000)]
Remove verify.o when doing a make clean

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

29 years agoStubbed an OS routine to satisfy the linker until we can really port it to the PC
Keith Vetter [Wed, 8 Mar 1995 06:19:08 +0000 (06:19 +0000)]
Stubbed an OS routine to satisfy the linker until we can really port it to the PC

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

29 years agoChanged krb5 library name on the PC since the DLL will take that name instead
Keith Vetter [Wed, 8 Mar 1995 06:08:51 +0000 (06:08 +0000)]
Changed krb5 library name on the PC since the DLL will take that name instead

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

29 years agoMisc typographical changes
Theodore Tso [Wed, 8 Mar 1995 05:17:15 +0000 (05:17 +0000)]
Misc typographical changes

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

29 years agoMade explicit the signed to unsigned conversions in the gssapi/krb5
Keith Vetter [Wed, 8 Mar 1995 05:09:18 +0000 (05:09 +0000)]
Made explicit the signed to unsigned conversions in the gssapi/krb5
directory.

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

29 years agoREADME file describes imake configuration standards; imake is long gone
Theodore Tso [Wed, 8 Mar 1995 05:05:04 +0000 (05:05 +0000)]
README file describes imake configuration standards; imake is long gone

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

29 years agoFixed up some missing protocols and unchecked casts
Keith Vetter [Wed, 8 Mar 1995 04:44:54 +0000 (04:44 +0000)]
Fixed up some missing protocols and unchecked casts

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

29 years agoAdded syntactic sugar for Windows segmented architecture
Keith Vetter [Wed, 8 Mar 1995 01:27:50 +0000 (01:27 +0000)]
Added syntactic sugar for Windows segmented architecture

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

29 years ago * aclocal.m4 (UsePepsy, PepsyTarget): removed, not referenced
Mark Eichin [Wed, 8 Mar 1995 01:21:10 +0000 (01:21 +0000)]
* aclocal.m4 (UsePepsy, PepsyTarget): removed, not referenced
anywhere in the tree.
(ISODE_INCLUDE, ISODE_DEFS): removed along with remaining
references in the tree. --enable-isode is dead.

* configure.in (most directories): removed last remaining
ISODE_INCLUDE and ISODE_DEFS.

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

29 years agoPorted the ccache directory to the PC. This is temporary--eventually we'll
Keith Vetter [Wed, 8 Mar 1995 01:04:08 +0000 (01:04 +0000)]
Ported the ccache directory to the PC. This is temporary--eventually we'll
use the in-memory solution from k4.

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

29 years agoPC porting: more prototyping, defines for overflow checking on the PC and
Keith Vetter [Tue, 7 Mar 1995 23:32:30 +0000 (23:32 +0000)]
PC porting: more prototyping, defines for overflow checking on the PC and
numerous PC additions to k5-config.h.

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

29 years agoPort of most of the OS directory to the PC
Keith Vetter [Tue, 7 Mar 1995 23:13:03 +0000 (23:13 +0000)]
Port of most of the OS directory to the PC

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

29 years agoSmall changes in krb: 1 signed/unsigned, 1 disabling stderr, and changed LIB name
Keith Vetter [Tue, 7 Mar 1995 21:28:10 +0000 (21:28 +0000)]
Small changes in krb: 1 signed/unsigned, 1 disabling stderr, and changed LIB name

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

29 years agoPorted the posix directory for the PC--one file
Keith Vetter [Tue, 7 Mar 1995 20:50:46 +0000 (20:50 +0000)]
Ported the posix directory for the PC--one file

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

29 years agoMoved PC low-level i/o crud out of source files and into k5-config.h
Keith Vetter [Tue, 7 Mar 1995 20:47:28 +0000 (20:47 +0000)]
Moved PC low-level i/o crud out of source files and into k5-config.h

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

29 years agoFixed incompatibilities section for OSF/1 V1.3 and 2.0
Theodore Tso [Tue, 7 Mar 1995 02:44:50 +0000 (02:44 +0000)]
Fixed incompatibilities section for OSF/1 V1.3 and 2.0

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