krb5.git
27 years agoBecause you cannot call malloc() during DLL initialization under win16,
Richard Basch [Tue, 18 Feb 1997 07:31:49 +0000 (07:31 +0000)]
Because you cannot call malloc() during DLL initialization under win16,
we must pre-allocate an array sufficiently large to hold several error
tables.

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

27 years agoFixed "rc" flags
Richard Basch [Tue, 18 Feb 1997 07:07:50 +0000 (07:07 +0000)]
Fixed "rc" flags

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

27 years agokrb4 library required llibcew (fscanf) under win16
Richard Basch [Tue, 18 Feb 1997 07:02:38 +0000 (07:02 +0000)]
krb4 library required llibcew (fscanf) under win16

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

27 years agoMakefile.in: Winsock library is still required (win16)
Richard Basch [Tue, 18 Feb 1997 06:57:33 +0000 (06:57 +0000)]
Makefile.in: Winsock library is still required (win16)
cns.c: Removed "#if 0" block relating to Winsock initialiation/cleanup

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

27 years agoFixed declaration (FAR keyword added)
Richard Basch [Tue, 18 Feb 1997 06:56:43 +0000 (06:56 +0000)]
Fixed declaration (FAR keyword added)

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

27 years agoFixed prototype (win16/win32)
Richard Basch [Tue, 18 Feb 1997 06:56:14 +0000 (06:56 +0000)]
Fixed prototype (win16/win32)

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

27 years agoFixed arg list to match prototype (error in last checkin)
Richard Basch [Tue, 18 Feb 1997 06:04:18 +0000 (06:04 +0000)]
Fixed arg list to match prototype (error in last checkin)

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

27 years agoExport profile_get_values() for krb4 library (win16/win32)
Richard Basch [Tue, 18 Feb 1997 05:49:56 +0000 (05:49 +0000)]
Export profile_get_values() for krb4 library (win16/win32)

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

27 years agoExport additional routines for krb4 library (win16/win32)
Richard Basch [Tue, 18 Feb 1997 05:48:59 +0000 (05:48 +0000)]
Export additional routines for krb4 library (win16/win32)

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

27 years agoBuild krb4 library under win16/win32
Richard Basch [Tue, 18 Feb 1997 05:47:43 +0000 (05:47 +0000)]
Build krb4 library under win16/win32

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

27 years agokrb4_16.def krb4_32.def: Export definitions for krb4 library (win16/win32)
Richard Basch [Tue, 18 Feb 1997 05:44:18 +0000 (05:44 +0000)]
krb4_16.def krb4_32.def: Export definitions for krb4 library (win16/win32)
krb5_16.def krb5_32.def: Additional exports needed by krb4 library.
win_glue.c: support krb4 library
Makefile.in: Build krb4 library (win16/win32)

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

27 years agoPrototypes for krb4 functions are in krb.h
Richard Basch [Tue, 18 Feb 1997 05:42:13 +0000 (05:42 +0000)]
Prototypes for krb4 functions are in krb.h

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

27 years agoBuild krb4 compatibility library for win16/win32
Richard Basch [Tue, 18 Feb 1997 05:41:33 +0000 (05:41 +0000)]
Build krb4 compatibility library for win16/win32
(including application server routines, such as krb_rd_req)

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

27 years agoFixed the microsecond adjustment for Windows
Richard Basch [Tue, 18 Feb 1997 05:40:06 +0000 (05:40 +0000)]
Fixed the microsecond adjustment for Windows

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

27 years agoRemove krbini.h (its contents are included in win-mac.h)
Richard Basch [Tue, 18 Feb 1997 05:39:36 +0000 (05:39 +0000)]
Remove krbini.h (its contents are included in win-mac.h)

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

27 years agoDefine K4LIB as the krb4 library (win16/win32)
Richard Basch [Tue, 18 Feb 1997 05:38:27 +0000 (05:38 +0000)]
Define K4LIB as the krb4 library (win16/win32)

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

27 years agoAdded support for building krb4 library (win16/win32)
Richard Basch [Tue, 18 Feb 1997 05:37:41 +0000 (05:37 +0000)]
Added support for building krb4 library (win16/win32)
krb_err.h is a generated file.

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

27 years agoAdded support for building krb4 library
Richard Basch [Tue, 18 Feb 1997 05:36:41 +0000 (05:36 +0000)]
Added support for building krb4 library

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

27 years agoFixed variable name for Windows build
Richard Basch [Sun, 16 Feb 1997 03:58:09 +0000 (03:58 +0000)]
Fixed variable name for Windows build

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

27 years agoChecked in a debugging version, by accident.
Richard Basch [Sun, 16 Feb 1997 03:52:34 +0000 (03:52 +0000)]
Checked in a debugging version, by accident.
FormatMessage() is only available under Win32; some code needed rearranging

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

27 years agoMakefile.in: build comerr dll
Richard Basch [Sat, 15 Feb 1997 21:37:11 +0000 (21:37 +0000)]
Makefile.in: build comerr dll
comerr16.def comerr32.def: New definition files for Windows comerr library
krb5_16.def krb5_32.def: Removed comerr exports
win_glue.c: win32 dll entry/exit code added
gssapi32.def krb5_32.def: Removed obsolete WEP & LibMain exports

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

27 years agoNeed to link with $(CLIB) - comerr library (win32)
Richard Basch [Sat, 15 Feb 1997 21:33:53 +0000 (21:33 +0000)]
Need to link with $(CLIB) - comerr library (win32)

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

27 years agoNeed to link with $(CLIB) - comerr library (win32)
Richard Basch [Sat, 15 Feb 1997 21:33:43 +0000 (21:33 +0000)]
Need to link with $(CLIB) - comerr library (win32)
Removed winsock code from kinit.c (now handled by krb5 lib)

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

27 years agoNeed to link with $(CLIB)
Richard Basch [Sat, 15 Feb 1997 21:30:53 +0000 (21:30 +0000)]
Need to link with $(CLIB)

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

27 years agoNeed to link with $(CLIB).
Richard Basch [Sat, 15 Feb 1997 21:30:00 +0000 (21:30 +0000)]
Need to link with $(CLIB).
Explicit Winsock initialization & linking is no longer required (fixed krb5 lib)

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

27 years agoDeclare CLIB to the comerr library
Richard Basch [Sat, 15 Feb 1997 21:29:04 +0000 (21:29 +0000)]
Declare CLIB to the comerr library

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

27 years agoAdded declaration for krb5_finish_ets
Richard Basch [Sat, 15 Feb 1997 21:28:39 +0000 (21:28 +0000)]
Added declaration for krb5_finish_ets

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

27 years agoAdded routine krb5_finish_ets, to complement krb5_initialize_ets
Richard Basch [Sat, 15 Feb 1997 21:27:05 +0000 (21:27 +0000)]
Added routine krb5_finish_ets, to complement krb5_initialize_ets

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

27 years agoThe libhack merge lost all the windows build instructions... fixed..
Richard Basch [Sat, 15 Feb 1997 21:26:10 +0000 (21:26 +0000)]
The libhack merge lost all the windows build instructions... fixed..

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

27 years agoRemoved V2 experimental API previously checked-in.
Richard Basch [Sat, 15 Feb 1997 21:25:33 +0000 (21:25 +0000)]
Removed V2 experimental API previously checked-in.
Added new routines: add_error_table & remove_error_table for registering
error tables.
Except on Unix, the _et_list variable and com_err_hook routines/variables
are now private to the comerr library.

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

27 years ago * aclocal.m4: Add shared library support for Irix
Tom Yu [Fri, 14 Feb 1997 20:54:09 +0000 (20:54 +0000)]
* aclocal.m4: Add shared library support for Irix

* configure.in: inactivate the old case statement that determined
shared lib parameters; keep it around just for reference, though.

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

27 years agocom_err.c: Only check if stderr is a tty under Win32; Win16 does not
Richard Basch [Fri, 14 Feb 1997 17:29:25 +0000 (17:29 +0000)]
com_err.c: Only check if stderr is a tty under Win32; Win16 does not
even declare stderr. (win16/win32)

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

27 years agoRemoving extraneous \
Richard Basch [Fri, 14 Feb 1997 17:13:11 +0000 (17:13 +0000)]
Removing extraneous \

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

27 years agoMakefile.in: Link wsock32.lib (win32)
Richard Basch [Thu, 13 Feb 1997 20:39:42 +0000 (20:39 +0000)]
Makefile.in: Link wsock32.lib (win32)
kinit.c: Initialize winsock library (win32)
Removed unused variables; declared internal routines as static.

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

27 years agoget_in_tkt.c: Initialize as_reply so that an error in one of the early
Richard Basch [Thu, 13 Feb 1997 19:35:39 +0000 (19:35 +0000)]
get_in_tkt.c: Initialize as_reply so that an error in one of the early
calls (ie. krb5_os_localaddr) will not cause the cleanup procedure
to try to free a garbage pointer.

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

27 years agokinit.c: Added krb5_read_password implementation for win32 console app
Richard Basch [Thu, 13 Feb 1997 19:34:42 +0000 (19:34 +0000)]
kinit.c: Added krb5_read_password implementation for win32 console app

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

27 years agoMakefile.in: re-enabled the building of kinit under win32
Richard Basch [Thu, 13 Feb 1997 19:34:13 +0000 (19:34 +0000)]
Makefile.in: re-enabled the building of kinit under win32

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

27 years ago * fwd_tgt.c (krb5_fwd_tgt_creds): Use the client's realm rather
Tom Yu [Thu, 13 Feb 1997 01:51:51 +0000 (01:51 +0000)]
* fwd_tgt.c (krb5_fwd_tgt_creds): Use the client's realm rather
than the server's realm for constructing the tgs principal.
Remove TC_MATCH_SRV_NAMEONLY from call to retrieve_cred() because
we want to get an exact match.

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

27 years ago * aclocal.m4: Remove INSTALL_VARIABLE_HACK, as it's no longer
Tom Yu [Wed, 12 Feb 1997 23:11:55 +0000 (23:11 +0000)]
* aclocal.m4: Remove INSTALL_VARIABLE_HACK, as it's no longer
needed in autoconf 2.12.

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

27 years ago * configure.in: Fix DES425_DEPLIB
Tom Yu [Wed, 12 Feb 1997 20:28:21 +0000 (20:28 +0000)]
* configure.in: Fix DES425_DEPLIB

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

27 years ago * configure.in: Fix DES425_LIB... missed this in libhack_branch;
Tom Yu [Wed, 12 Feb 1997 20:27:54 +0000 (20:27 +0000)]
* configure.in: Fix DES425_LIB... missed this in libhack_branch;
prevents --without-krb4 from working for some odd reason, though
comments says "fix post beta-6".

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

27 years agocom_err.c: display the error via stderr if it is a character device
Richard Basch [Tue, 11 Feb 1997 19:19:10 +0000 (19:19 +0000)]
com_err.c: display the error via stderr if it is a character device
(win32 console apps)

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

27 years agogss.c: initialize/shutdown winsock library
Richard Basch [Tue, 11 Feb 1997 19:18:28 +0000 (19:18 +0000)]
gss.c: initialize/shutdown winsock library
gss.rc: more descriptive window, with an example

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

27 years agoComment out kinit build until it works (win32)
Richard Basch [Tue, 11 Feb 1997 16:00:41 +0000 (16:00 +0000)]
Comment out kinit build until it works (win32)

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

27 years ago*** empty log message ***
Richard Basch [Tue, 11 Feb 1997 15:39:07 +0000 (15:39 +0000)]
*** empty log message ***

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

27 years agowindows.in: declare WLIB (winsock library)
Richard Basch [Tue, 11 Feb 1997 05:04:35 +0000 (05:04 +0000)]
windows.in: declare WLIB (winsock library)

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

27 years agokrb5.hin: export krb5_get_credenitals_{renew,validate} (win32)
Richard Basch [Tue, 11 Feb 1997 05:03:05 +0000 (05:03 +0000)]
krb5.hin: export krb5_get_credenitals_{renew,validate} (win32)

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

27 years agoBuild kinit/klist/kdestroy under win32
Richard Basch [Tue, 11 Feb 1997 05:02:33 +0000 (05:02 +0000)]
Build kinit/klist/kdestroy under win32

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

27 years agologin.c: set ccache name consistently with other login apps
Richard Basch [Tue, 11 Feb 1997 04:54:29 +0000 (04:54 +0000)]
login.c: set ccache name consistently with other login apps

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

27 years agoUse WLIB definition in config/windows.in
Richard Basch [Tue, 11 Feb 1997 04:53:31 +0000 (04:53 +0000)]
Use WLIB definition in config/windows.in

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

27 years agogetopt functionality for win32 console apps
Richard Basch [Tue, 11 Feb 1997 04:52:10 +0000 (04:52 +0000)]
getopt functionality for win32 console apps
(based on appl/telnet/libtelnet/getopt.c)

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

27 years agoBuild getopt.obj (getopt functionality for win32 console apps)
Richard Basch [Tue, 11 Feb 1997 04:51:01 +0000 (04:51 +0000)]
Build getopt.obj (getopt functionality for win32 console apps)

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

27 years agoget_creds.c: export krb5_get_credentials_renew, krb5_get_credentials_validate
Richard Basch [Tue, 11 Feb 1997 04:50:23 +0000 (04:50 +0000)]
get_creds.c: export krb5_get_credentials_renew, krb5_get_credentials_validate

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

27 years agogssapi32.def: removed obsolete keywords (RESIDENTNAME, EXETYPE)
Richard Basch [Tue, 11 Feb 1997 04:49:35 +0000 (04:49 +0000)]
gssapi32.def: removed obsolete keywords (RESIDENTNAME, EXETYPE)
krb5_16.def krb5_32.def: export additional functions needed by kinit
Makefile.in: attempt at making a functional SAP library

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

27 years agoCompile clients/{kinit,klist,kdestroy} on Win32
Richard Basch [Tue, 11 Feb 1997 04:47:51 +0000 (04:47 +0000)]
Compile clients/{kinit,klist,kdestroy} on Win32
Several minor Windows fixes (mostly cosmetic)

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

27 years ago * post.in: Fix recursion rules to deal with Ultrix sh lossage
Tom Yu [Tue, 11 Feb 1997 03:15:27 +0000 (03:15 +0000)]
* post.in: Fix recursion rules to deal with Ultrix sh lossage

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

27 years agoFix broken Windows 16 declaration. (Should be KRB5_CALLCONV, and
Theodore Tso [Tue, 11 Feb 1997 02:32:35 +0000 (02:32 +0000)]
Fix broken Windows 16 declaration.  (Should be KRB5_CALLCONV, and
using ET_P)

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

27 years ago * libobj.in: Remove instances of STAMP.*, since they aren't
Tom Yu [Mon, 10 Feb 1997 22:04:40 +0000 (22:04 +0000)]
* libobj.in: Remove instances of STAMP.*, since they aren't
actually necessary.

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

27 years ago * aclocal.m4 (KRB5_LIB_PARAMS): Set CC_LINK_STATIC for platforms
Ezra Peisach [Mon, 10 Feb 1997 16:33:39 +0000 (16:33 +0000)]
* aclocal.m4 (KRB5_LIB_PARAMS): Set CC_LINK_STATIC for platforms
w/o shared library support.
     (KRB5_LIB_AUX); Set CC_LINK if --enable-shared is not
specified.

(The second fix was to utilize the action-if-false stanza of AC_ARG_ENABLE.

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

27 years ago * configure.in: Check for sys/uio.h
Ezra Peisach [Mon, 10 Feb 1997 16:11:41 +0000 (16:11 +0000)]
* configure.in: Check for sys/uio.h

* svc_udp.c: Include sys/uio.h is available for struct iovec.

Needed for Irix 5.3

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

27 years ago * crypto_glue.c (krb5_calculate_checksum): Add krb5_const to
Ezra Peisach [Mon, 10 Feb 1997 15:45:04 +0000 (15:45 +0000)]
* crypto_glue.c (krb5_calculate_checksum): Add krb5_const to
        krb5_pointer of in data to match prototype.

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

27 years ago * svc_udp.c (svcudp_recv): Avoid coredumps under Solaris (and
Tom Yu [Mon, 10 Feb 1997 05:05:54 +0000 (05:05 +0000)]
* svc_udp.c (svcudp_recv): Avoid coredumps under Solaris (and
possibly other systems) by passing in a non-NULL iovec to
recvmsg().

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

27 years ago * libobj.in (OBJS.*): Work around a gmake optimization where the
Tom Yu [Sun, 9 Feb 1997 18:44:56 +0000 (18:44 +0000)]
* libobj.in (OBJS.*): Work around a gmake optimization where the
timestamps of OBJS.* would not get checked after STAMP.* get
updated, even though OBJS.* get updated as a side effect.

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

27 years agoMerge of libhack_branch
Tom Yu [Sun, 9 Feb 1997 17:43:52 +0000 (17:43 +0000)]
Merge of libhack_branch

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

27 years agocompile_et.c: Change the emitted name of the struct error_table
Theodore Tso [Sat, 8 Feb 1997 03:16:25 +0000 (03:16 +0000)]
compile_et.c: Change the emitted name of the struct error_table
to be et_XXX_error_table, instead of it being a static
variable named "et".  (This change has already been made
in the awk versions of compile_et.)

com_err.h, com_err.c: Remove the void *priv argument from
com_err_va() and et_com_err() experimental API's.  (That
was a braino; the private data pointer should come from
the hook_func_data field.)

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

27 years agoprof_int.h: Include "com_err.h" instead of redeclaring errcode_t
Richard Basch [Sat, 8 Feb 1997 00:22:17 +0000 (00:22 +0000)]
prof_int.h: Include "com_err.h" instead of redeclaring errcode_t

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

27 years agocom_err.[ch]: Define old com_err_va interface
Richard Basch [Sat, 8 Feb 1997 00:21:52 +0000 (00:21 +0000)]
com_err.[ch]: Define old com_err_va interface

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

27 years agoCorrected last ChangeLog entry
Richard Basch [Fri, 7 Feb 1997 20:57:18 +0000 (20:57 +0000)]
Corrected last ChangeLog entry

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

27 years agomk_faddr.c: Added FAR declaration
Richard Basch [Fri, 7 Feb 1997 19:27:47 +0000 (19:27 +0000)]
mk_faddr.c: Added FAR declaration

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

27 years agocopy_addrs.c fwd_tgt.c mk_cred.c sendauth.c: Added FAR declarations
Richard Basch [Fri, 7 Feb 1997 19:27:28 +0000 (19:27 +0000)]
copy_addrs.c fwd_tgt.c mk_cred.c sendauth.c: Added FAR declarations
mk_cred.c: Declare ncreds as krb5_int32 so that the right type will be
passed to krb5_mk_ncred_basic (win16 fix)

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

27 years agowindows.in: compile win16 apps with /GA to generate the appropriate
Richard Basch [Fri, 7 Feb 1997 13:56:51 +0000 (13:56 +0000)]
windows.in: compile win16 apps with /GA to generate the appropriate
prolog code for protected-mode.

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

27 years agocns.c:
Richard Basch [Fri, 7 Feb 1997 13:55:01 +0000 (13:55 +0000)]
cns.c:
Declare blocking_hook_proc with __export keyword so that it
  works with Win16.  Win32 will only generate a warning message.
Reworked timeout logic to accomodate the 49.7 day wraparound
  of GetTickCount()

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

27 years agoMakefile.in: Create shared directory before building object files
Richard Basch [Fri, 7 Feb 1997 13:53:09 +0000 (13:53 +0000)]
Makefile.in: Create shared directory before building object files

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

27 years agot_cksum: Link against libkrb5.a as it depends upon krb5_use_enctype
Ezra Peisach [Thu, 6 Feb 1997 17:54:53 +0000 (17:54 +0000)]
t_cksum: Link against libkrb5.a as it depends upon krb5_use_enctype

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

27 years ago * configure.in: Remove the CopyHeader and CopySrcHeader rules as
Ezra Peisach [Thu, 6 Feb 1997 16:15:06 +0000 (16:15 +0000)]
* configure.in: Remove the CopyHeader and CopySrcHeader rules as
they are handled in Makefile.in

* Makefile.in: Create include/gssapi on unix. Make clean removes
built gssapi.h

These were broken on the unix side.
Make complained about too many rules for building the
../../../include/gssapi/.... files - because they were defined
twice.

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

27 years agoadm_conn.c adm_rw.c: Replace INTERFACE keyword with KRB5_CALLCONV
Richard Basch [Thu, 6 Feb 1997 05:33:47 +0000 (05:33 +0000)]
adm_conn.c adm_rw.c: Replace INTERFACE keyword with KRB5_CALLCONV

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

27 years agokerberos5.c: The first arg to krb5_verify_checksum is a krb5_context!!!
Richard Basch [Thu, 6 Feb 1997 05:27:10 +0000 (05:27 +0000)]
kerberos5.c: The first arg to krb5_verify_checksum is a krb5_context!!!

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

27 years agokrb.h: Make sure KRB5_EXPORTVAR is defined
Richard Basch [Thu, 6 Feb 1997 05:26:46 +0000 (05:26 +0000)]
krb.h: Make sure KRB5_EXPORTVAR is defined

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

27 years agoMakefile.in: Remove logger.c target before copying over it to avoid
Richard Basch [Thu, 6 Feb 1997 05:26:23 +0000 (05:26 +0000)]
Makefile.in: Remove logger.c target before copying over it to avoid
permission problems.

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

27 years agok5-int.h: Make sure KRB5_EXPORTVAR is defined
Richard Basch [Thu, 6 Feb 1997 04:43:21 +0000 (04:43 +0000)]
k5-int.h: Make sure KRB5_EXPORTVAR is defined

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

27 years agoutil_crypt.c: Include k5-int.h because we need to access the private
Richard Basch [Thu, 6 Feb 1997 04:42:57 +0000 (04:42 +0000)]
util_crypt.c: Include k5-int.h because we need to access the private
cryptosystem structures of the krb5_encrypt_block structure

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

27 years agogssapi.hin: Make sure KRB5_EXPORTVAR is defined
Richard Basch [Thu, 6 Feb 1997 04:42:18 +0000 (04:42 +0000)]
gssapi.hin: Make sure KRB5_EXPORTVAR is defined

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

27 years agoMakefile.in: Remove target before copying over it (avoids perm. errors)
Richard Basch [Thu, 6 Feb 1997 04:12:20 +0000 (04:12 +0000)]
Makefile.in: Remove target before copying over it (avoids perm. errors)

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

27 years agoprofile.hin: Do not multiply process the contents of this file
Richard Basch [Thu, 6 Feb 1997 04:11:41 +0000 (04:11 +0000)]
profile.hin: Do not multiply process the contents of this file
test_parse.c: Do not include "com_err.h" (typedef conflict)

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

27 years agoFixed bad ChangeLog entry during last commit
Richard Basch [Thu, 6 Feb 1997 03:39:41 +0000 (03:39 +0000)]
Fixed bad ChangeLog entry during last commit

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

27 years agoMakefile.in: Fixed linking of telnet.exe (win16)
Richard Basch [Thu, 6 Feb 1997 03:29:00 +0000 (03:29 +0000)]
Makefile.in: Fixed linking of telnet.exe (win16)
encrypt.c: Replace printf with MessageBox and OutputDebugString
encrypt.h: Fixed prototyping of des425 functions (win16)
telnet.c: Removed ^M at end of every line

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

27 years agoWindows/NT integration (V1_0_WIN32_BRANCH merge)
Richard Basch [Thu, 6 Feb 1997 02:31:41 +0000 (02:31 +0000)]
Windows/NT integration (V1_0_WIN32_BRANCH merge)

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

27 years agoWindows/NT integration (V1_0_WIN32_BRANCH merge)
Richard Basch [Thu, 6 Feb 1997 02:21:18 +0000 (02:21 +0000)]
Windows/NT integration (V1_0_WIN32_BRANCH merge)
des3_sha.c: Confounder size should be 8, not 24

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

27 years agoINTERFACE is no longer defined in krb5.h, so we must define it here
Richard Basch [Thu, 6 Feb 1997 02:20:05 +0000 (02:20 +0000)]
INTERFACE is no longer defined in krb5.h, so we must define it here

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

27 years agoWindows/NT integration
Richard Basch [Thu, 6 Feb 1997 02:19:29 +0000 (02:19 +0000)]
Windows/NT integration
krb5.hin k5-int.h: Functionalized the crypto layer and made the crypto
structures private

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

27 years agoWindows/NT integration
Richard Basch [Thu, 6 Feb 1997 02:18:46 +0000 (02:18 +0000)]
Windows/NT integration

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

27 years agoWindows/NT integration
Richard Basch [Thu, 6 Feb 1997 02:18:27 +0000 (02:18 +0000)]
Windows/NT integration
Only rebuild changed files (win16/win32)

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

27 years agoNew V2 API + Win16/Win32 support
Richard Basch [Thu, 6 Feb 1997 02:13:14 +0000 (02:13 +0000)]
New V2 API + Win16/Win32 support

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

27 years ago * kdc_preauth.c (get_sam_edata): Use proper interface to
Ezra Peisach [Thu, 2 Jan 1997 04:07:31 +0000 (04:07 +0000)]
* kdc_preauth.c (get_sam_edata): Use proper interface to
krb5_db_get_principal. Also if SAM is not an option, do
not return as a possible type to client. [krb5-kdc/310]

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

27 years ago * aclocal.m4: Add AC_PREREQ(2.12) as we now require autoconf 2.12.
Ezra Peisach [Mon, 30 Dec 1996 18:46:11 +0000 (18:46 +0000)]
* aclocal.m4: Add AC_PREREQ(2.12) as we now require autoconf 2.12.
[krb5-build/289]

This will prevent future screwups of people using their own installed version
of autoconf with our tree... (we are now using stock autoconf-2.12...

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

27 years agoOveride important environment variables. Preliiminary fix; include
Sam Hartman [Sun, 29 Dec 1996 02:20:34 +0000 (02:20 +0000)]
Overide important environment variables.  Preliiminary fix; include
in patch release.

[326]

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

27 years ago * config.guess:
Tom Yu [Tue, 24 Dec 1996 21:44:18 +0000 (21:44 +0000)]
* config.guess:
* config.sub: Update from autoconf-2.12.

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

27 years agoupdate to autoconf-2.12
Tom Yu [Tue, 24 Dec 1996 21:16:42 +0000 (21:16 +0000)]
update to autoconf-2.12

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

27 years ago * aclocal.m4 (V5_AC_OUTPUT_MAKEFILE): Fix to deal with the
Tom Yu [Tue, 24 Dec 1996 21:11:39 +0000 (21:11 +0000)]
* aclocal.m4 (V5_AC_OUTPUT_MAKEFILE): Fix to deal with the
autoconf-2.12 syntax for file concatenation.

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

27 years ago * configure.in: Fix up "test $ac_cv_c_cross" to deal with
Tom Yu [Tue, 24 Dec 1996 21:09:58 +0000 (21:09 +0000)]
* configure.in: Fix up "test $ac_cv_c_cross" to deal with
autoconf-2.12, since that variable can be set to a null string.

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