krb5.git
27 years agoDefine SOCKET_INITIALIZE and SOCKET_CLEANUP as no-ops under Windows since
Richard Basch [Fri, 21 Feb 1997 04:37:08 +0000 (04:37 +0000)]
Define SOCKET_INITIALIZE and SOCKET_CLEANUP as no-ops under Windows since
the Winsock library initialization/cleanup is handled by the DLL
entry/exit routines.

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

27 years agoMakefile.in: krb_err.h is a generated file; fix build/install rules so
Richard Basch [Thu, 20 Feb 1997 22:44:28 +0000 (22:44 +0000)]
Makefile.in: krb_err.h is a generated file; fix build/install rules so
that they don't try installing it from the source directory
configure.in: Makefile requires 'awk' to build krb_err.h

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

27 years agoFixed krb5_build_principal_va prototype to match function
Richard Basch [Thu, 20 Feb 1997 08:49:50 +0000 (08:49 +0000)]
Fixed krb5_build_principal_va prototype to match function

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

27 years agoUnix bug: link.table was referencing an incompletely constructed variable
Richard Basch [Thu, 20 Feb 1997 08:19:25 +0000 (08:19 +0000)]
Unix bug: link.table was referencing an incompletely constructed variable

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

27 years agoZip up the kerberosIV include files, also
Richard Basch [Thu, 20 Feb 1997 07:00:36 +0000 (07:00 +0000)]
Zip up the kerberosIV include files, also

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

27 years agoRemove unnecessary calls to krb5_init_ets
Richard Basch [Thu, 20 Feb 1997 06:37:53 +0000 (06:37 +0000)]
Remove unnecessary calls to krb5_init_ets

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

27 years agoet_c.awk:
Richard Basch [Thu, 20 Feb 1997 06:36:20 +0000 (06:36 +0000)]
et_c.awk:
By default, the Unix version will still modify the _et_list
 variable (MIT com_err compatibility)
Also, because et_XXX_error_table (struct error_table) is a
 global variable, no initialization/cleanup routine needs to
 be declared.  The initialization routine is defined to be
 a no-op on all platforms but Unix to avoid compilation errors
 of a lot of the tree.

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

27 years agoRemove unneeded calls to krb5_init_ets
Richard Basch [Thu, 20 Feb 1997 06:32:14 +0000 (06:32 +0000)]
Remove unneeded calls to krb5_init_ets

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

27 years agoinit_ctx.c: krb5_free_context calls krb5_free_ets (currently a no-op)
Richard Basch [Thu, 20 Feb 1997 06:28:30 +0000 (06:28 +0000)]
init_ctx.c: krb5_free_context calls krb5_free_ets (currently a no-op)
t_kerb.c t_walk_rtree.c: Remove unneeded call to krb5_init_ets

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

27 years agof_data.c: Fixed comment
Richard Basch [Thu, 20 Feb 1997 06:24:31 +0000 (06:24 +0000)]
f_data.c: Fixed comment
f_unparse.c: Implements krb5_free_unparsed_name
krb5_free_unparsed_name(krb5_context, char FAR *) frees the string
allocated by krb5_unparse_name
Makefile.in: Compile f_unparse.c

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

27 years agoDo not DLL export krb5_init_ets/krb5_free_ets
Richard Basch [Thu, 20 Feb 1997 06:22:40 +0000 (06:22 +0000)]
Do not DLL export krb5_init_ets/krb5_free_ets

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

27 years agoRemoved unneeded call to krb5_init_ets
Richard Basch [Thu, 20 Feb 1997 06:21:46 +0000 (06:21 +0000)]
Removed unneeded call to krb5_init_ets

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

27 years agoRemoved unneeded call to krb5_init_ets
Richard Basch [Thu, 20 Feb 1997 06:21:15 +0000 (06:21 +0000)]
Removed unneeded call to krb5_init_ets
Check return value of krb5_init_context

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

27 years agokrb5_16.def krb5_32.def: Do not export krb5_init_ets/krb5_finish_ets
Richard Basch [Thu, 20 Feb 1997 06:18:05 +0000 (06:18 +0000)]
krb5_16.def krb5_32.def: Do not export krb5_init_ets/krb5_finish_ets
win_glue.c:
Re-arranged code to avoid duplication.
Initialize kadm and prof error tables for krb5.

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

27 years agoRemoved unneeded call to krb5_init_ets
Richard Basch [Thu, 20 Feb 1997 06:15:20 +0000 (06:15 +0000)]
Removed unneeded call to krb5_init_ets
Check the return value of krb5_init_context.
Re-arranged some of the code so that all resources are freed if there
is an error.

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

27 years agoCall krb5_db_fini to cleanup the db_context
Richard Basch [Thu, 20 Feb 1997 06:13:56 +0000 (06:13 +0000)]
Call krb5_db_fini to cleanup the db_context

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

27 years agokpasswd.c: Removed unneeded call to krb5_init_ets and unused #define
Richard Basch [Thu, 20 Feb 1997 06:13:01 +0000 (06:13 +0000)]
kpasswd.c: Removed unneeded call to krb5_init_ets and unused #define
tty_kpasswd.c: Don't add a meaningless local abstraction

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

27 years agodump.c kdb5_destroy.c kdb5_stash.c kdb5_util.c:
Richard Basch [Thu, 20 Feb 1997 06:10:37 +0000 (06:10 +0000)]
dump.c kdb5_destroy.c kdb5_stash.c kdb5_util.c:
Removed unneeded call to krb5_init_ets
load_v4.c:
Removed unneeded call to krb5_init_ets
Check return value of krb5_init_context
Call krb5_free_context prior to returning (error returns)

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

27 years agoRemoved unneeded call to krb5_init_ets
Richard Basch [Thu, 20 Feb 1997 06:07:58 +0000 (06:07 +0000)]
Removed unneeded call to krb5_init_ets

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

27 years agoDo not export krb5_init_ets/krb5_free_ets (win16/win32)
Richard Basch [Thu, 20 Feb 1997 06:07:18 +0000 (06:07 +0000)]
Do not export krb5_init_ets/krb5_free_ets (win16/win32)
Declare/export krb5_free_unparsed_name (NEW)

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

27 years agoAdded set_realm.c, which implements krb5_set_principal_realm()
Theodore Tso [Wed, 19 Feb 1997 21:59:22 +0000 (21:59 +0000)]
Added set_realm.c, which implements krb5_set_principal_realm()

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

27 years agoAdded function prototype for krb5_set_principal_realm()
Theodore Tso [Wed, 19 Feb 1997 19:27:20 +0000 (19:27 +0000)]
Added function prototype for krb5_set_principal_realm()

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

27 years agoAdded new function krb5_set_principal_realm(), which is used to
Theodore Tso [Wed, 19 Feb 1997 19:23:14 +0000 (19:23 +0000)]
Added new function krb5_set_principal_realm(), which is used to
mutate the realm of a principal.  This avoids a really heinous abstraction
boundary violation by the appl/bsd and appl/telnet code.

A test case for this function was added to t_kerb, and a test new test acse to
t_ref_kerb.out

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

27 years agoRemoved $(KRBOPT) from RFLAGS definition since it broke the Win16 build
Richard Basch [Wed, 19 Feb 1997 03:32:21 +0000 (03:32 +0000)]
Removed $(KRBOPT) from RFLAGS definition since it broke the Win16 build
and is not needed.

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

27 years agoFixed one more instance of the wrong variable name (context variable)
Richard Basch [Wed, 19 Feb 1997 02:13:19 +0000 (02:13 +0000)]
Fixed one more instance of the wrong variable name (context variable)

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

27 years agoFixed "context" name
Richard Basch [Wed, 19 Feb 1997 02:10:08 +0000 (02:10 +0000)]
Fixed "context" name

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

27 years agoRenamed getst() to getstr() to avoid conflicts with krb4.h definition
Richard Basch [Wed, 19 Feb 1997 02:06:04 +0000 (02:06 +0000)]
Renamed getst() to getstr() to avoid conflicts with krb4.h definition

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

27 years agoFixed missing ;
Richard Basch [Wed, 19 Feb 1997 02:00:39 +0000 (02:00 +0000)]
Fixed missing ;

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

27 years agoReplace instances of krb5_xfree..
Richard Basch [Wed, 19 Feb 1997 01:51:01 +0000 (01:51 +0000)]
Replace instances of krb5_xfree..

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

27 years agoExport krb5_free_data, krb5_free_data_contents
Richard Basch [Wed, 19 Feb 1997 01:50:31 +0000 (01:50 +0000)]
Export krb5_free_data, krb5_free_data_contents

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

27 years agokcmd.c (getport): Let the OS pick the best port rather than scanning.
Richard Basch [Wed, 19 Feb 1997 01:35:26 +0000 (01:35 +0000)]
kcmd.c (getport): Let the OS pick the best port rather than scanning.
krlogin.c: Fixed 8bit flow control (Solaris)
krlogind.c: Whitespace cleanup
krshd.c: No need to set lport before calling getport(&lport)
Also, changed all occurrences of krb5_xfree to use something else.
[kcmd.c still needs one free() fixed when a routine exists to replace the
realm component]

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

27 years agoUse free() to free realm component, until a replacement function is added
Richard Basch [Wed, 19 Feb 1997 01:02:09 +0000 (01:02 +0000)]
Use free() to free realm component, until a replacement function is added

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

27 years agokrb5_xfree cleanup
Richard Basch [Wed, 19 Feb 1997 01:00:22 +0000 (01:00 +0000)]
krb5_xfree cleanup

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

27 years agoReplace krb5_xfree with appropriate free routine
Richard Basch [Tue, 18 Feb 1997 23:55:39 +0000 (23:55 +0000)]
Replace krb5_xfree with appropriate free routine

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

27 years agoRemove krb5_xfree from the public interface
Richard Basch [Tue, 18 Feb 1997 23:35:19 +0000 (23:35 +0000)]
Remove krb5_xfree from the public interface
Implement krb5_free_data & krb5_free_data_contents to cleanup krb5_data
structures and data contents allocated by the krb5 library.

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

27 years agoNeed the Winsock initialization/cleanup to setup the blocking hook
Richard Basch [Tue, 18 Feb 1997 19:08:16 +0000 (19:08 +0000)]
Need the Winsock initialization/cleanup to setup the blocking hook
Removed the crufty DEBUG logic in Makefile.in (it doesn't work)

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

27 years agoMake sure KRB5_DLLIMP/KRB5_CALLCONV are defined
Richard Basch [Tue, 18 Feb 1997 18:16:19 +0000 (18:16 +0000)]
Make sure KRB5_DLLIMP/KRB5_CALLCONV are defined

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

27 years agoDo not free unallocated memory (win16)
Richard Basch [Tue, 18 Feb 1997 17:31:44 +0000 (17:31 +0000)]
Do not free unallocated memory (win16)

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

27 years ago * acl_files.c: Do not declare malloc() or calloc() if stdlib.h exists
Ezra Peisach [Tue, 18 Feb 1997 15:00:54 +0000 (15:00 +0000)]
* acl_files.c: Do not declare malloc() or calloc() if stdlib.h exists

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

27 years ago * kerberos_v4.c: Remove include of krb4-proto.h
Ezra Peisach [Tue, 18 Feb 1997 14:57:12 +0000 (14:57 +0000)]
* kerberos_v4.c: Remove include of krb4-proto.h

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

27 years ago * k524init.c, test.c, cnv_tkt_skey.c: Remove include of krb4-proto.h
Ezra Peisach [Tue, 18 Feb 1997 14:55:27 +0000 (14:55 +0000)]
* k524init.c, test.c, cnv_tkt_skey.c: Remove include of krb4-proto.h

krb4-proto.h has been merged with krb.h

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

27 years ago * compat_recv.c: Remove include of kerberosIV/krb4-proto.h
Ezra Peisach [Tue, 18 Feb 1997 14:49:07 +0000 (14:49 +0000)]
* compat_recv.c: Remove include of kerberosIV/krb4-proto.h

Prototypes have been merged with krb.h

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

27 years agoWin16 fixes
Richard Basch [Tue, 18 Feb 1997 08:25:28 +0000 (08:25 +0000)]
Win16 fixes

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

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