krb5.git
27 years agoThis commit was generated by cvs2svn to compensate for changes in r10013,
Tom Yu [Thu, 20 Mar 1997 00:13:59 +0000 (00:13 +0000)]
This commit was generated by cvs2svn to compensate for changes in r10013,
which included commits to RCS files with non-trunk default branches.

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

27 years agoInitial revision
Tom Yu [Thu, 20 Mar 1997 00:13:57 +0000 (00:13 +0000)]
Initial revision

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

27 years agoFix up name of the SAP Kerberos glue library to be platform dependent
Theodore Tso [Wed, 19 Mar 1997 19:18:45 +0000 (19:18 +0000)]
Fix up name of the SAP Kerberos glue library to be platform dependent
(sapkrb16.dll, sapkrb32.dll).  Fix makefile rules to work correctly
after NT port.

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

27 years agoAdd 'extern "C"' for C++ compatibility; also check for __cplusplus
Theodore Tso [Tue, 18 Mar 1997 20:08:48 +0000 (20:08 +0000)]
Add 'extern "C"' for C++ compatibility; also check for __cplusplus
since some C++ compilers don't set __STDC__

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

27 years agoAdd 'extern "C"' for C++ compatibility; also check for __cplusplus
Theodore Tso [Tue, 18 Mar 1997 18:52:55 +0000 (18:52 +0000)]
Add 'extern "C"' for C++ compatibility; also check for __cplusplus
since some C++ compilers don't set __STDC__

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

27 years agoAdd 'extern "C"' for C++ compatibility; also check for __cplusplus
Theodore Tso [Tue, 18 Mar 1997 18:50:14 +0000 (18:50 +0000)]
Add 'extern "C"' for C++ compatibility; also check for __cplusplus
since some C++ compilers don't set __STDC__.

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

27 years agoAdd double quotes to prevent Mac filenames with spaces from losing
Theodore Tso [Mon, 17 Mar 1997 20:07:03 +0000 (20:07 +0000)]
Add double quotes to prevent Mac filenames with spaces from losing

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

27 years agoFix header file so that winmac.h is #included when commpiling on the
Theodore Tso [Mon, 17 Mar 1997 19:43:17 +0000 (19:43 +0000)]
Fix header file so that winmac.h is #included when commpiling on the
Macintosh.

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

27 years ago * keytab.c: Don't assume dbm_db_get_mkey() and dbe_find_enctype
Tom Yu [Mon, 17 Mar 1997 02:22:52 +0000 (02:22 +0000)]
* keytab.c: Don't assume dbm_db_get_mkey() and dbe_find_enctype
won't error out.  Also, some gcc -Wall warning
cleanups. [krb5-kdc/361]

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

27 years agoThis file really doesn't need to exist anymore. [krb5-build/382]
Tom Yu [Sun, 16 Mar 1997 07:16:16 +0000 (07:16 +0000)]
This file really doesn't need to exist anymore. [krb5-build/382]

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

27 years ago * Makefile.in (unit-test-server-body): depend on test-randkey, not
Barry Jaspan [Wed, 12 Mar 1997 20:50:56 +0000 (20:50 +0000)]
* Makefile.in (unit-test-server-body): depend on test-randkey, not
  randkey-test, so the test gets run

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

27 years agoCheck to see if the global_param's stash file is non-NULL before
Theodore Tso [Wed, 12 Mar 1997 06:25:34 +0000 (06:25 +0000)]
Check to see if the global_param's stash file is non-NULL before
trying to strdup() it.  [PR#341, PR#394]

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

27 years ago * aclocal.m4: Add provisions to make major version number
Tom Yu [Mon, 10 Mar 1997 03:30:01 +0000 (03:30 +0000)]
* aclocal.m4: Add provisions to make major version number
compatibility work for shared libaries.

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

27 years ago * lib.in: Add provisions for making shared libraries of the same
Tom Yu [Mon, 10 Mar 1997 03:29:20 +0000 (03:29 +0000)]
* lib.in: Add provisions for making shared libraries of the same
major version number compatible.

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

27 years ago * svr_principal.c (add_to_history): Don't call realloc() on a NULL
Tom Yu [Sun, 9 Mar 1997 23:05:31 +0000 (23:05 +0000)]
* svr_principal.c (add_to_history): Don't call realloc() on a NULL
pointer, lest non-ANSI compliant systems like SunOS fail.

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

27 years ago * kconfig.c (main): Move krb5_init_context earlier in order to
Ezra Peisach [Mon, 3 Mar 1997 20:16:55 +0000 (20:16 +0000)]
* kconfig.c (main): Move krb5_init_context earlier in order to
initialize kcontext before use.

This allows for more graceful handling of scenario where krb5.ini is
missing - we now get an error box.

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

27 years ago * error_message.c: Don't declare sys_nerr on Macintosh
Ezra Peisach [Mon, 3 Mar 1997 19:59:36 +0000 (19:59 +0000)]
* error_message.c: Don't declare sys_nerr on Macintosh

* com_err.c: Fix MacMessageBox prototype.

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

27 years ago * Makefile.in (MAC_SUBDIRS): Change KRB5 to krb5 for Mac subdirs
Ezra Peisach [Mon, 3 Mar 1997 19:54:45 +0000 (19:54 +0000)]
* Makefile.in (MAC_SUBDIRS): Change KRB5 to krb5 for Mac subdirs

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

27 years ago * pre.in (KRB4COMPAT_DEPLIBS): Depends on KRB5_BASE_DEPLIBS (not
Ezra Peisach [Mon, 3 Mar 1997 00:56:28 +0000 (00:56 +0000)]
* pre.in (KRB4COMPAT_DEPLIBS): Depends on KRB5_BASE_DEPLIBS (not
        KRB5_BASE_DEPLBS)

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

27 years ago * libobj.in: Change .c.so and .c.po rules to work better with
Tom Yu [Sat, 1 Mar 1997 19:35:32 +0000 (19:35 +0000)]
* libobj.in: Change .c.so and .c.po rules to work better with
compilers that insist that $(CC) -fpic -c foo.c -o foo.so is
wrong; basically, cheat and do -o foo.so.o, etc.

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

27 years ago* com_err.c: Back out last change; it's not needed. Also, remove
Sam Hartman [Sat, 1 Mar 1997 17:28:23 +0000 (17:28 +0000)]
* com_err.c: Back out last change; it's not needed.  Also, remove
  debugging cruft.

* com_err.h:  Do not declare com_err_hook extern if you declare it static in the source. [383]

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

27 years agoRemove static from declaration of com_err_hook
Sam Hartman [Sat, 1 Mar 1997 16:57:36 +0000 (16:57 +0000)]
Remove static from declaration of com_err_hook
to work around NetBSD/Gcc bug. [383]

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

27 years agoIf RegKRB5CCNAME is set in kerberos.ini, use that value to determine the
Richard Basch [Fri, 28 Feb 1997 23:11:37 +0000 (23:11 +0000)]
If RegKRB5CCNAME is set in kerberos.ini, use that value to determine the
registry key that contains the credential cache name to use.  This indirection
provides a means of interoperating with Gradent's PC-DCE product.
[deengert@anl.gov]

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

27 years agoMakefile.in: Link krb5_32.lib (win32) with advapi32.lib to resolve the
Richard Basch [Fri, 28 Feb 1997 23:10:16 +0000 (23:10 +0000)]
Makefile.in: Link krb5_32.lib (win32) with advapi32.lib to resolve the
registry functions.

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

27 years agokrshd should not require a user to have a valid home directory. [krb5-appl/167]
Sam Hartman [Fri, 28 Feb 1997 03:01:58 +0000 (03:01 +0000)]
krshd should not require a user to have a valid home directory. [krb5-appl/167]

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

27 years ago * pre.in: Add recursion hooks for distclean
Tom Yu [Thu, 27 Feb 1997 22:41:58 +0000 (22:41 +0000)]
* pre.in: Add recursion hooks for distclean

* post.in: Change recursion rules to skip recursion if NORECURSE
is non-null; add distclean support; don't remove config.log,
etc. if not doing distclean.

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

27 years ago * Makefile.in: Add $(LIBS) so that compile doesn't blow out under
Tom Yu [Thu, 27 Feb 1997 04:13:04 +0000 (04:13 +0000)]
* Makefile.in: Add $(LIBS) so that compile doesn't blow out under
Solaris due to lack of -lnsl -lsocket.

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

27 years agoinclude/asn.1 no longer exists; don't try to reference it
Richard Basch [Tue, 25 Feb 1997 23:50:35 +0000 (23:50 +0000)]
include/asn.1 no longer exists; don't try to reference it

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

27 years agoBuild krb5.rc with -D_MSDOS -DRES_ONLY under win16
Richard Basch [Tue, 25 Feb 1997 23:35:39 +0000 (23:35 +0000)]
Build krb5.rc with -D_MSDOS -DRES_ONLY under win16

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

27 years agoDon't do all the setup if RES_ONLY is defined; only get the resource
Richard Basch [Tue, 25 Feb 1997 23:34:26 +0000 (23:34 +0000)]
Don't do all the setup if RES_ONLY is defined; only get the resource
definitions, since Win16's 'rc' can't handle much more.

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

27 years agoHandle Windows binary files better (hopefully)
Richard Basch [Tue, 25 Feb 1997 21:08:15 +0000 (21:08 +0000)]
Handle Windows binary files better (hopefully)

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

27 years agowin-mac.h: Contents of lib/krb5/os/win-pwd.h (resource definitions for
Richard Basch [Tue, 25 Feb 1997 17:22:29 +0000 (17:22 +0000)]
win-mac.h: Contents of lib/krb5/os/win-pwd.h (resource definitions for
Windows password dialog) have been included

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

27 years agoread_pwd.c: Improperly applied Doug Engert's windows dialog patch last time.
Richard Basch [Tue, 25 Feb 1997 17:21:35 +0000 (17:21 +0000)]
read_pwd.c: Improperly applied Doug Engert's windows dialog patch last time.
win-pwd.h: contents have been subsumed into win-mac.h
win-pwd.rc: Moved to lib/krb5.rc
Makefile.in: Reverted back to pre win-pwd version.

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

27 years agokrb5.rc: Replaced Windows password dialog resource file (krb5/os/win-pwd.rc)
Richard Basch [Tue, 25 Feb 1997 17:19:39 +0000 (17:19 +0000)]
krb5.rc: Replaced Windows password dialog resource file (krb5/os/win-pwd.rc)
Makefile.in: Link in krb5.rc (win16/win32)

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

27 years agoFixed bad variable reference
Richard Basch [Tue, 25 Feb 1997 06:36:14 +0000 (06:36 +0000)]
Fixed bad variable reference

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

27 years agoExport krb5_read_password
Richard Basch [Tue, 25 Feb 1997 06:36:02 +0000 (06:36 +0000)]
Export krb5_read_password

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

27 years agoFixed bad variable reference
Richard Basch [Tue, 25 Feb 1997 06:17:44 +0000 (06:17 +0000)]
Fixed bad variable reference

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

27 years agowin-pwd.rc: Windows dialog information for password prompting
Richard Basch [Tue, 25 Feb 1997 06:16:30 +0000 (06:16 +0000)]
win-pwd.rc: Windows dialog information for password prompting
win-pwd.h: supporting definitions for Windows dialog
read_pwd.c: Support Windows dialog & console-mode input for krb5_read_password
Makefile.in: Link in win-pwd.obj (win32)

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

27 years agokrb5_32.lib now also depends on gdi32.lib
Richard Basch [Tue, 25 Feb 1997 06:13:15 +0000 (06:13 +0000)]
krb5_32.lib now also depends on gdi32.lib

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

27 years agokrb5.hin: Export krb5_read_password (Win16/32)
Richard Basch [Tue, 25 Feb 1997 06:12:52 +0000 (06:12 +0000)]
krb5.hin: Export krb5_read_password (Win16/32)
win-mac.h: Declare get_lib_instance (win_glue.c)

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

27 years agoMoved krb5_read_password back into the library (Win32)
Richard Basch [Tue, 25 Feb 1997 06:11:51 +0000 (06:11 +0000)]
Moved krb5_read_password back into the library (Win32)

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

27 years agoresolve.c (main): Make the test for a FQDN be a bit more stringent
Theodore Tso [Mon, 24 Feb 1997 23:45:17 +0000 (23:45 +0000)]
resolve.c (main): Make the test for a FQDN be a bit more stringent

Makefile.in (resolve): The resolve program doesn't need to be linked
against the Kerberos library.

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

27 years agoBuild using KDB5_LIBS, not KDB5_LIB
Theodore Tso [Mon, 24 Feb 1997 23:44:24 +0000 (23:44 +0000)]
Build using KDB5_LIBS, not KDB5_LIB

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

27 years agoAdded RUN_ENV line for Linux
Theodore Tso [Mon, 24 Feb 1997 23:40:44 +0000 (23:40 +0000)]
Added RUN_ENV line for Linux

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

27 years agoMoved some of the library list file build logic from the individual Makefiles
Richard Basch [Sun, 23 Feb 1997 07:29:48 +0000 (07:29 +0000)]
Moved some of the library list file build logic from the individual Makefiles
to config/win-post.in

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

27 years agoRebuild the Makefile in the current directory, as needed
Richard Basch [Sun, 23 Feb 1997 07:27:59 +0000 (07:27 +0000)]
Rebuild the Makefile in the current directory, as needed
Moved some of the library list file build logic from the individual Makefiles
to config/win-post.in

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

27 years agoDefine BUILDTOP for Win16/Win32; needed by config/win-post.in
Richard Basch [Sun, 23 Feb 1997 06:40:28 +0000 (06:40 +0000)]
Define BUILDTOP for Win16/Win32; needed by config/win-post.in

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

27 years ago * configure.in: Do not run test suite unless Athena compatibility
Ezra Peisach [Sat, 22 Feb 1997 20:15:13 +0000 (20:15 +0000)]
* configure.in: Do not run test suite unless Athena compatibility
is specified as well as tcl, Perl, runtest.

* Makefile.in (check): Do not run tests unless really setup to do so.

We probably will need to add more logic into this - such as
checking that /usr/athena/bin/kadmin exists and that we are running as root.

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

27 years agoFix terminal handling with regard to ^@ and ^o
Sam Hartman [Sat, 22 Feb 1997 19:44:45 +0000 (19:44 +0000)]
Fix terminal handling with regard to ^@ and ^o

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

27 years agoDescribed the replacement of #ifdef unix
Richard Basch [Sat, 22 Feb 1997 15:49:33 +0000 (15:49 +0000)]
Described the replacement of #ifdef unix

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

27 years agoAIX should also have the compatibility interface
Richard Basch [Sat, 22 Feb 1997 15:37:15 +0000 (15:37 +0000)]
AIX should also have the compatibility interface

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

27 years agoI really did mean #ifdef unix... I added AIX for compatibility.
Richard Basch [Sat, 22 Feb 1997 15:28:44 +0000 (15:28 +0000)]
I really did mean #ifdef unix... I added AIX for compatibility.
Basically, only old Unix comerr will have the backwards compatibility.
New systems, such as MVS/OpenEdition, MacOS, VMS, etc. should NOT.

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

27 years agobe more careful about removing crypto_glue.c
Sam Hartman [Sat, 22 Feb 1997 08:06:09 +0000 (08:06 +0000)]
be more careful about removing crypto_glue.c

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

27 years ago* Make shared libs work on AIX
Sam Hartman [Sat, 22 Feb 1997 08:04:53 +0000 (08:04 +0000)]
* Make shared libs work on AIX
* Do not prototype error table init funciton; doesn't work any more

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

27 years ago* Make shared libs work on AIX
Sam Hartman [Sat, 22 Feb 1997 08:04:28 +0000 (08:04 +0000)]
* Make shared libs work on AIX
* Do not use #ifdef unix

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

27 years ago* Make shared libs work on AIX
Sam Hartman [Sat, 22 Feb 1997 08:04:07 +0000 (08:04 +0000)]
* Make shared libs work on AIX
* Remove non-AIX stuff from makeshlib.sh as it is no longer needed

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

27 years ago* Make shared libs work on AIX
Sam Hartman [Sat, 22 Feb 1997 08:03:31 +0000 (08:03 +0000)]
* Make shared libs work on AIX
* Fix dependencies for library

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

27 years ago* Make shared libs work on AIX
Sam Hartman [Sat, 22 Feb 1997 08:03:10 +0000 (08:03 +0000)]
* Make shared libs work on AIX
* move krb5/krb/crypto_glue.c to crypto/krb5_glue.c

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

27 years ago* Make shared libs work on AIX
Sam Hartman [Sat, 22 Feb 1997 08:01:39 +0000 (08:01 +0000)]
* Make shared libs work on AIX
* DO not use #ifdef unix
* Fix dependencies for library

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

27 years ago* Make shared libs work on AIX
Sam Hartman [Sat, 22 Feb 1997 08:00:56 +0000 (08:00 +0000)]
* Make shared libs work on AIX
* DO not use #ifdef unix
* move krb5/krb/crypto_glue.c to crypto/krb5_glue.c

crypto_glue.c contained a bunch of functions that used to be macros.  They do belong in libkrb5, but if they go there,
they create a circular dependency because libcrypto uses them.
The obvious long-term right answer is to get libcrypto to stop using interfaces
with names like krb5_*.
I didn't feel like tackling that in the middle of getting things working on AIX
so I just moved the functions to be declared in the same library as use.

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

27 years ago* Make shared libs work on AIX
Sam Hartman [Sat, 22 Feb 1997 07:58:22 +0000 (07:58 +0000)]
* Make shared libs work on AIX
* DO not use #ifdef unix

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

27 years ago* Make shared libs work on AIX
Sam Hartman [Sat, 22 Feb 1997 07:57:57 +0000 (07:57 +0000)]
* Make shared libs work on AIX
* Support platforms where SHEXT = STEXT

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

27 years agoFix typo
Sam Hartman [Sat, 22 Feb 1997 06:54:09 +0000 (06:54 +0000)]
Fix typo

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

27 years agoBump minor library version so I can
Sam Hartman [Sat, 22 Feb 1997 06:48:19 +0000 (06:48 +0000)]
Bump minor library version so I can
have programs on the same system both before
and after the Windows checkins.

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

27 years agoUpdate the major version to 3;
Sam Hartman [Sat, 22 Feb 1997 05:36:31 +0000 (05:36 +0000)]
Update the major version to 3;
NetBSD has an incompatible (thanks to recent changes)
libcom_err.so.2.0 that its linker
prefers to libcom_err.so.1.0

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

27 years agoUpdate port-socket.h to include
Sam Hartman [Sat, 22 Feb 1997 05:35:22 +0000 (05:35 +0000)]
Update port-socket.h to include
sys/types.h to work on NetBSD and AIX.

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

27 years agoRemoved un-user extern declaration of krb5_config_file -
Ezra Peisach [Sat, 22 Feb 1997 01:08:51 +0000 (01:08 +0000)]
Removed un-user extern declaration of krb5_config_file -
which does not exist anymore.

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

27 years agoLinux doesn't understand -R; use "-bWl,-rpath -Wl,$(PROG_RPATH)" instead
Theodore Tso [Fri, 21 Feb 1997 17:02:14 +0000 (17:02 +0000)]
Linux doesn't understand -R; use "-bWl,-rpath -Wl,$(PROG_RPATH)" instead

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

27 years agoUse malloc/realloc/free instead of the "near" counterparts. The
Richard Basch [Fri, 21 Feb 1997 04:39:08 +0000 (04:39 +0000)]
Use malloc/realloc/free instead of the "near" counterparts.  The
functions _nmalloc, _nrealloc, and _nfree don't seem to exist under win32
and the pointer manipulation is more complex than if we simply just use
the "normal" counterparts with a large-memory model build.

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

27 years agoLink the krb4 dll under Windows; we already built all the objects..
Richard Basch [Fri, 21 Feb 1997 04:37:37 +0000 (04:37 +0000)]
Link the krb4 dll under Windows; we already built all the objects..

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

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