krb5.git
28 years agoChange _WINDOWS to _MSDOS, and add check for _WIN32
Theodore Tso [Wed, 12 Jun 1996 05:16:09 +0000 (05:16 +0000)]
Change _WINDOWS to _MSDOS, and add check for _WIN32

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

28 years agonet_read.c (krb5_net_read):
Theodore Tso [Wed, 12 Jun 1996 05:15:11 +0000 (05:15 +0000)]
net_read.c (krb5_net_read):
net_write.c (krb5_net_write): In case of an error, on Windows
machines, set errno from SOCKET_ERRNO, since the interface assumes the
error is passed back the errno global varaible.  This really needs to
be fixed sometime...

read_msg.c: If ECONNABORTED is not defined, try using the Winsock
version of the error code (WSAECONNABORTED).

read_pwd.c:
promptusr.c:
lock_file.c:
kuserok.c:
ktdefname.c (krb5_kt_default_name):
init_os_ctx.c (os_init_paths):
ccdefname.c:
an_to_ln.c (db_an_to_ln): Change _WINDOWS to _MSDOS, and add check for _WIN32.

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

28 years agosendauth.c (krb5_sendauth): If ECCONABORTED is not defined, try using
Theodore Tso [Wed, 12 Jun 1996 05:11:08 +0000 (05:11 +0000)]
sendauth.c (krb5_sendauth): If ECCONABORTED is not defined, try using
the Winsock equivalent (WSAECONNABORTED).

parse.c (krb5_parse_name): Change use of _WINDOWS to _MSDOS, and add
check for _WIN32.

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

28 years agoAdd #ifdef _WIN32 in places where we had #ifdef _MSDOS
Theodore Tso [Wed, 12 Jun 1996 05:09:39 +0000 (05:09 +0000)]
Add #ifdef _WIN32 in places where we had #ifdef _MSDOS

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

28 years agoscc_read.c:
Theodore Tso [Wed, 12 Jun 1996 05:08:06 +0000 (05:08 +0000)]
scc_read.c:
scc_gennew.c (krb5_scc_generate_new): Change _WINDOWS to _MSDOS, and
add check for _WIN32.

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

28 years agofcc-proto.h: Change use of PROTOTYPE to KRB5_PROTOTYPE.
Theodore Tso [Wed, 12 Jun 1996 05:07:08 +0000 (05:07 +0000)]
fcc-proto.h: Change use of PROTOTYPE to KRB5_PROTOTYPE.
Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP.

fcc-getnam.c: Change use of INTERFACE to KRB5_CALLCONV and
KRB5_DLLIMP, since fcc_getname returns a char * and the old INTERFACE
method bombs out when the return type contains an indirection.

fcc_read.c:
fcc_ops.c: Change _WINDOWS to _MSDOS, and add check for _WIN32.

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

28 years agoRemove unnecessary include config/windows.in. wconfig takes care of
Theodore Tso [Wed, 12 Jun 1996 05:03:30 +0000 (05:03 +0000)]
Remove unnecessary include config/windows.in.  wconfig takes care of
this automatically.

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

28 years agoChange use of _WINDOWS to _MSDOS, and add check for _WIN32
Theodore Tso [Wed, 12 Jun 1996 05:02:19 +0000 (05:02 +0000)]
Change use of _WINDOWS to _MSDOS, and add check for _WIN32

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

28 years agoMakefile.in: Remove include of config/windows.in; that's done
Theodore Tso [Wed, 12 Jun 1996 04:51:56 +0000 (04:51 +0000)]
Makefile.in: Remove include of config/windows.in; that's done
automatically by wconfig.

g_acquire_cred.c, g_oid_ops.c: Change to use new convention of
KRB5_CALLCONV and KRB5_DLLIMP instead of INTERFACE

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

28 years agoAdd #ifdef _WIN32 in places where we had #ifdef _MSDOS
Theodore Tso [Wed, 12 Jun 1996 04:49:06 +0000 (04:49 +0000)]
Add #ifdef _WIN32 in places where we had #ifdef _MSDOS

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

28 years agoChange INTERFACE to be KRB5_CALLCONV, which is where the calling
Theodore Tso [Wed, 12 Jun 1996 04:47:54 +0000 (04:47 +0000)]
Change INTERFACE to be KRB5_CALLCONV, which is where the calling
convention is defined.  Add KRB5_DLLIMP which is where the DLL
import/export should be put for Win32.  (Win16 is just different.)
The correct way to declare a function which will be used in a DLL is
now: KRB5_DLLIMP func_return_t KRB5_CALLCONV func(long)

Change function delcarations to use the new convention.  Actually, it
doesn't hurt to use the old convention as long as func_return_t
doesn't contain a '*'.  But in the long run we should be exterminating
all uses of INTERFACE in favor of KRB5_CALLCONV and KRB5_DLLIMP.

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

28 years agoadm_proto.h: Change usage of INTERFACE to use KRB5_CALLCONV and KRB5_DLLIMP
Theodore Tso [Wed, 12 Jun 1996 04:42:41 +0000 (04:42 +0000)]
adm_proto.h: Change usage of INTERFACE to use KRB5_CALLCONV and KRB5_DLLIMP

winsock.h: Rename to kwinsock.h.  Recent versions of Microsoft
compilers include winsock.h, and the one we have collides with NT
errno definitions.  Using the one provided by the compiler is
preferable.  If you are using an old version of MSVC that doesn't
include winsock.h, then rename kwinsock.h to winsock.h

kdb_dbm.h: Don't include kdb_dbm.h for Win-32.

kdb.h: Don't include most of kdb.h for Win-32.

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

28 years agoFor Win-32: always #include windows.h
Theodore Tso [Wed, 12 Jun 1996 04:36:25 +0000 (04:36 +0000)]
For Win-32: always #include windows.h

Change INTERFACE to be KRB5_CALLCONV, which is where the calling
convention is defined.  Add KRB5_DLLIMP which is where the DLL
import/export should be put for Win32.  (Win16 is just different.)
The correct way to declare a function which will be used in a DLL is
now: KRB5_DLLIMP func_return_t KRB5_CALLCONV func(long)

Change function delcarations to use the new convention.  Actually, it
doesn't hurt to use the old convention as long as func_return_t
doesn't contain a '*'.  But in the long run we should be exterminating
all uses of INTERFACE in favor of KRB5_CALLCONV and KRB5_DLLIMP.

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

28 years agowindows.in (CCOPTS): Windows-32 CCOPTS
Theodore Tso [Wed, 12 Jun 1996 04:27:12 +0000 (04:27 +0000)]
windows.in (CCOPTS): Windows-32 CCOPTS

win-post.in: Use a Windows-32 specific LIB command line syntax

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

28 years agoBuild the makefiles for windows/cns, windows/gss, and windows/wintel
Theodore Tso [Wed, 12 Jun 1996 04:26:00 +0000 (04:26 +0000)]
Build the makefiles for windows/cns, windows/gss, and windows/wintel

Add definition of BUILDTOP when building for DOS, since it's needed
for $(RM) to work.

When creating ./Makefile under Unix, run things through sed to strip
out ##DOS from the beginning of lines.

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

28 years ago specializations. Remove /nologo option for Win32 RFLAGS,
Theodore Tso [Wed, 12 Jun 1996 04:23:06 +0000 (04:23 +0000)]
specializations.  Remove /nologo option for Win32 RFLAGS,
since RC apparently doesn't support it.

changelo: Renamed to ChangeLog, to make life easier.

makefile: Renamed to Makefile.in, so that we can do WIN16/WIN32

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

28 years agogss-clie.c: Renamed to gss-client.c, for VFAT/NTFS filesystems
Theodore Tso [Wed, 12 Jun 1996 04:19:23 +0000 (04:19 +0000)]
gss-clie.c: Renamed to gss-client.c, for VFAT/NTFS filesystems

makefile: Renamed to Makefile.in, so that we can do WIN16/WIN32
specializations.  Remove /nologo option for Win32 RFLAGS,
since RC apparently doesn't support it.

changelo: Renamed to ChangeLog, to make life easier.

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

28 years agoc_ustime.c: Fix WIN32 to be _WIN32
Theodore Tso [Wed, 12 Jun 1996 04:13:42 +0000 (04:13 +0000)]
c_ustime.c: Fix WIN32 to be _WIN32

c_localaddr.c: Add #ifdef _WIN32 in places where we had #ifdef _MSDOS

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

28 years agoAdd #ifdef _WIN32 in places where we had #ifdef _MSDOS
Theodore Tso [Wed, 12 Jun 1996 04:12:20 +0000 (04:12 +0000)]
Add #ifdef _WIN32 in places where we had #ifdef _MSDOS

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

28 years agoMakefile.in (lib-windows): Add production rule for sapkrb5.dll. Don't
Theodore Tso [Wed, 12 Jun 1996 04:07:23 +0000 (04:07 +0000)]
Makefile.in (lib-windows): Add production rule for sapkrb5.dll.  Don't
include config/windows.in, since that's included by wconfig.

win_glue.c: Add a quick hack for krb5-SAP so that we call the version
server --- this is conditionalized on SAP_VERSERV, which is only
defined when we build sapkrb5.dll.

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

28 years agoRevamp program to make it more extensible. Now will uncomment lines
Theodore Tso [Wed, 12 Jun 1996 03:06:50 +0000 (03:06 +0000)]
Revamp program to make it more extensible.  Now will uncomment lines
that begin "##DOS##" as well as "##WIN16##" or "##WIN32##", depending
on whether we are compiling on a Windows 16 or Windows 32 environment.
Also, we now perform this transformation on the windows.in and
win-post.in files as well.

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

28 years agoRemove inclusion of malloc.h..
Ezra Peisach [Wed, 12 Jun 1996 00:18:36 +0000 (00:18 +0000)]
Remove inclusion of malloc.h..

If it was really needed, it would have been included in several files,
not just this one.

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

28 years agoMissed two files
Ezra Peisach [Wed, 12 Jun 1996 00:12:31 +0000 (00:12 +0000)]
Missed two files

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

28 years agoRemove kdb4 from the sources tree
Ezra Peisach [Wed, 12 Jun 1996 00:11:59 +0000 (00:11 +0000)]
Remove kdb4 from the sources tree

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

28 years agokdb4 is now longer there..
Ezra Peisach [Wed, 12 Jun 1996 00:10:49 +0000 (00:10 +0000)]
kdb4 is now longer there..

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

28 years ago*aclocal.m4: Remove WITH_KDB4 and USE_KDB4_LIBRARY support
Ezra Peisach [Wed, 12 Jun 1996 00:09:56 +0000 (00:09 +0000)]
*aclocal.m4: Remove WITH_KDB4 and USE_KDB4_LIBRARY support

kdb4 is no longer needed in the source tree. It has not been needed in
about 10 months, but this is the cleanup...

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

28 years ago * keytab.c (krb5_ktkdb_close): Free memory allocated by
Ezra Peisach [Tue, 11 Jun 1996 23:28:50 +0000 (23:28 +0000)]
* keytab.c (krb5_ktkdb_close): Free memory allocated by
krb5_ktkdb_resolve.

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

28 years agoRemove kdb4 library building. Nothing in the source tree now needs it
Ezra Peisach [Tue, 11 Jun 1996 15:13:28 +0000 (15:13 +0000)]
Remove kdb4 library building. Nothing in the source tree now needs it

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

28 years agomore cvsignore hackery
Tom Yu [Mon, 10 Jun 1996 22:48:23 +0000 (22:48 +0000)]
more cvsignore hackery

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

28 years agocvsignore hackery
Tom Yu [Mon, 10 Jun 1996 22:40:57 +0000 (22:40 +0000)]
cvsignore hackery

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

28 years agoFix typo for VFAT/NTFS compilation
Theodore Tso [Mon, 10 Jun 1996 20:43:03 +0000 (20:43 +0000)]
Fix typo for VFAT/NTFS compilation

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

28 years ago * main.c (finish_realm): Do not invoke krb5_finish_key if
Ezra Peisach [Mon, 10 Jun 1996 03:16:22 +0000 (03:16 +0000)]
* main.c (finish_realm): Do not invoke krb5_finish_key if
encryption block is not set.

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

28 years ago * util.c (strstr): Replace crusty OS specific ifdef with configure
Ezra Peisach [Mon, 10 Jun 1996 02:13:14 +0000 (02:13 +0000)]
* util.c (strstr): Replace crusty OS specific ifdef with configure
generated one.

* configure.in: Change AC_HAVE_FUNCS to AC_CHECK_FUNCS (newer
naming convention). Check for strstr.

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

28 years ago * configure.in: Remove kdb4 library usage
Ezra Peisach [Sat, 8 Jun 1996 14:42:30 +0000 (14:42 +0000)]
* configure.in: Remove kdb4 library usage

* dumpv4.c (handle_one_key): Remove the temporary --with-kdb4
support.

The kdb4 library was only used for decrypting the master key. Last July,
the kdb4 code was conditionalized and the relevant lines were put into
this source tree....

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

28 years agos^big^little^ in explanation
Ezra Peisach [Sat, 8 Jun 1996 11:57:27 +0000 (11:57 +0000)]
s^big^little^ in explanation

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

28 years agoDynamic test of byteorder when htonl was removed failed for half of the
Ezra Peisach [Sat, 8 Jun 1996 11:52:27 +0000 (11:52 +0000)]
Dynamic test of byteorder when htonl was removed failed for half of the
machines.... Always assumed little endian....

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

28 years agoUse full directory name "error_tables" when building under Windows so
Theodore Tso [Fri, 7 Jun 1996 22:22:15 +0000 (22:22 +0000)]
Use full directory name "error_tables" when building under Windows so
that the build will work correctly under VFAT and NTFS filesystems.

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

28 years agoUse full directory name "error_tables" when building under Windows so
Theodore Tso [Fri, 7 Jun 1996 22:21:40 +0000 (22:21 +0000)]
Use full directory name "error_tables" when building under Windows so
that the build will work correctly under VFAT and NTFS filesystems.
Build the "makefile" file so that it includes config/win-post.in.

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

28 years agoBeginnings of Win-32 support
Theodore Tso [Fri, 7 Jun 1996 22:20:29 +0000 (22:20 +0000)]
Beginnings of Win-32 support

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

28 years agoChanged `mutual' element of struct _krb5_gss_ctx_id_rec into more general
Kevin Mitchell [Fri, 7 Jun 1996 19:22:25 +0000 (19:22 +0000)]
Changed `mutual' element of struct _krb5_gss_ctx_id_rec into more general
`gss_flags' and updated functions that process it; now get delegation flag
set properly :)

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

28 years agoadd mkey_from_kbd, update create/modify masks
Barry Jaspan [Thu, 6 Jun 1996 21:55:07 +0000 (21:55 +0000)]
add mkey_from_kbd, update create/modify masks

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

28 years agoDon't pass $(LIBCMD) on the command line. It's set in the windows.in
Theodore Tso [Thu, 6 Jun 1996 20:37:07 +0000 (20:37 +0000)]
Don't pass $(LIBCMD) on the command line.  It's set in the windows.in
prologue for all Makefiles anyway.

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

28 years agoAdd the option /PAGESIZE:128 to the library command, since the krb5
Theodore Tso [Thu, 6 Jun 1996 19:55:49 +0000 (19:55 +0000)]
Add the option /PAGESIZE:128 to the library command, since the krb5
library has gotten so big.

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

28 years agoDon't use htonl(); it doesn't exist under Windows. Instead do the
Theodore Tso [Thu, 6 Jun 1996 19:54:22 +0000 (19:54 +0000)]
Don't use htonl(); it doesn't exist under Windows.  Instead do the
test by casting a pointer to an integer to a char *.

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

28 years agoUpdate function prototype for krb5_encrypt_tkt_part
Theodore Tso [Thu, 6 Jun 1996 19:53:25 +0000 (19:53 +0000)]
Update function prototype for krb5_encrypt_tkt_part

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

28 years agoAdd port number reserved for the password changing protocol
Theodore Tso [Thu, 6 Jun 1996 19:49:27 +0000 (19:49 +0000)]
Add port number reserved for the password changing protocol

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

28 years agoMinor grammer fix
Theodore Tso [Thu, 6 Jun 1996 19:48:30 +0000 (19:48 +0000)]
Minor grammer fix

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

28 years agoUpdate krb5.constants file
Theodore Tso [Thu, 6 Jun 1996 19:47:15 +0000 (19:47 +0000)]
Update krb5.constants file

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

28 years agoUpdate .Sanitize file
Theodore Tso [Thu, 6 Jun 1996 19:46:38 +0000 (19:46 +0000)]
Update .Sanitize file

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

28 years agoRemove extraneous '*' from definition
Theodore Tso [Thu, 6 Jun 1996 18:21:37 +0000 (18:21 +0000)]
Remove extraneous '*' from definition

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

28 years agoUpdate .Sanitize files
Theodore Tso [Thu, 6 Jun 1996 17:52:39 +0000 (17:52 +0000)]
Update .Sanitize files

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

28 years agoUpdate .Sanitize file
Theodore Tso [Thu, 6 Jun 1996 17:44:42 +0000 (17:44 +0000)]
Update .Sanitize file

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

28 years agoUpdated .Sanitize file
Theodore Tso [Thu, 6 Jun 1996 17:44:05 +0000 (17:44 +0000)]
Updated .Sanitize file

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

28 years agoUpdate patchlevel for Beta 6 release
Theodore Tso [Thu, 6 Jun 1996 05:03:24 +0000 (05:03 +0000)]
Update patchlevel for Beta 6 release

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

28 years agoUpdate .Sanitize files to reflect current file status
Theodore Tso [Thu, 6 Jun 1996 04:47:59 +0000 (04:47 +0000)]
Update .Sanitize files to reflect current file status

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

28 years agoWhen reading in the test value from a file, don't free free
Theodore Tso [Thu, 6 Jun 1996 04:46:29 +0000 (04:46 +0000)]
When reading in the test value from a file, don't free free
inbuf.value until after the last place where we use it.

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

28 years agoRemove last traces of the krb425 library
Theodore Tso [Thu, 6 Jun 1996 04:26:56 +0000 (04:26 +0000)]
Remove last traces of the krb425 library

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

28 years ago(FILES): Include lib/crypto/sha/* in list of files to be built for
Theodore Tso [Thu, 6 Jun 1996 04:10:04 +0000 (04:10 +0000)]
(FILES): Include lib/crypto/sha/* in list of files to be built for
Windows and the Macintosh.

(makefile-windows): Build lib/crypto/sha/makefile for Windows

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

28 years agoInclude sha in the list of subdirectories for the Macintosh
Theodore Tso [Thu, 6 Jun 1996 04:09:22 +0000 (04:09 +0000)]
Include sha in the list of subdirectories for the Macintosh

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

28 years agoA static function must not use the INTERFACE keyword
Theodore Tso [Thu, 6 Jun 1996 04:08:49 +0000 (04:08 +0000)]
A static function must not use the INTERFACE keyword

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

28 years ago * krb5_decode_test.c (main): For asn1_decode_enc_kdc_rep_part,
Ezra Peisach [Wed, 5 Jun 1996 20:00:43 +0000 (20:00 +0000)]
* krb5_decode_test.c (main): For asn1_decode_enc_kdc_rep_part,
starttime will equal authtime if not sent OTW.

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

28 years ago * asn1_k_decode.c (asn1_decode_enc_kdc_rep_part): If starttime is
Ezra Peisach [Wed, 5 Jun 1996 19:58:00 +0000 (19:58 +0000)]
* asn1_k_decode.c (asn1_decode_enc_kdc_rep_part): If starttime is
not sent over the wire, set equal to authtime.

The kdc does not return the starttime if it matches the authtime. This
shows up readilly with kdc5_hammer....

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

28 years agoAlways do USE_ANAME if kdbm_deplib is not defined, since in shared
Theodore Tso [Tue, 4 Jun 1996 20:14:19 +0000 (20:14 +0000)]
Always do USE_ANAME if kdbm_deplib is not defined, since in shared
library situations we may need to resolve all undefined symbols.  (We
don't do USE_ANAME if kdbm_deplib is defined because the db library
used for kdb may be different from the one used for the aname work.
This is a bit of an ugly botch, but it will work for now.)

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

28 years ago * configure.in: Ezra's changes to allow compiling w/o krb4
Tom Yu [Tue, 4 Jun 1996 04:27:51 +0000 (04:27 +0000)]
* configure.in: Ezra's changes to allow compiling w/o krb4

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

28 years ago * configure.in: Ezra's patches to allow compilation w/o krb4
Tom Yu [Tue, 4 Jun 1996 04:27:01 +0000 (04:27 +0000)]
* configure.in: Ezra's patches to allow compilation w/o krb4
support

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

28 years ago * Makefile.in,configure.in: allow compilation w/o krb4 (Ezra's
Tom Yu [Tue, 4 Jun 1996 04:26:20 +0000 (04:26 +0000)]
* Makefile.in,configure.in: allow compilation w/o krb4 (Ezra's
patches)

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

28 years ago * login.c: Ezra's patches to trim unsed arg from
Tom Yu [Tue, 4 Jun 1996 04:23:39 +0000 (04:23 +0000)]
* login.c: Ezra's patches to trim unsed arg from
verify_krb_v5_tgt, etc.

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

28 years ago * Makefile.in, configure.in: back out previous changes and use
Tom Yu [Mon, 3 Jun 1996 20:17:01 +0000 (20:17 +0000)]
* Makefile.in, configure.in: back out previous changes and use
Ezra's patches instead.

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

28 years ago * configure.in, Makefile.in: only link getdtablesize.o if needed
Tom Yu [Mon, 3 Jun 1996 02:10:00 +0000 (02:10 +0000)]
* configure.in, Makefile.in: only link getdtablesize.o if needed

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

28 years agoswitch to USE_KADM5_API_VERSION == n instead of USE_KADM5_API_VERSION_n
Barry Jaspan [Thu, 30 May 1996 17:13:17 +0000 (17:13 +0000)]
switch to USE_KADM5_API_VERSION == n instead of USE_KADM5_API_VERSION_n

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

28 years agoupdate kadm5_get_policy to use caller allocation
Barry Jaspan [Thu, 30 May 1996 17:02:09 +0000 (17:02 +0000)]
update kadm5_get_policy to use caller allocation

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

28 years ago * aclocal.m4 (AC_CHECK_DBM_PROTO): sense of arguments to be
Tom Yu [Wed, 29 May 1996 22:42:55 +0000 (22:42 +0000)]
* aclocal.m4 (AC_CHECK_DBM_PROTO): sense of arguments to be
evaluated was reversed

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

28 years agountabify
Barry Jaspan [Wed, 29 May 1996 21:28:52 +0000 (21:28 +0000)]
untabify

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

28 years agoremove an xxx, add a new one, update SUPPORT_DESMD5 description
Barry Jaspan [Wed, 29 May 1996 21:18:45 +0000 (21:18 +0000)]
remove an xxx, add a new one, update SUPPORT_DESMD5 description

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

28 years agoadd AUTH_LIST and AUTH_CHANGEPW error codes
Barry Jaspan [Wed, 29 May 1996 21:10:10 +0000 (21:10 +0000)]
add AUTH_LIST and AUTH_CHANGEPW error codes

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

28 years agofirst cut at updating authorization semantics
Barry Jaspan [Wed, 29 May 1996 18:58:21 +0000 (18:58 +0000)]
first cut at updating authorization semantics

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

28 years agocompletely rework configuration parameters
Barry Jaspan [Wed, 29 May 1996 18:08:50 +0000 (18:08 +0000)]
completely rework configuration parameters

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

28 years agoUse USE_ANAME
Sam Hartman [Sun, 26 May 1996 01:57:43 +0000 (01:57 +0000)]
Use USE_ANAME

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

28 years agoUse KRB5_RUN_FLAGS
Sam Hartman [Thu, 23 May 1996 23:36:14 +0000 (23:36 +0000)]
Use KRB5_RUN_FLAGS

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

28 years ago Do not build libgssapi.a on AIX, because it doesnt work
Sam Hartman [Thu, 23 May 1996 23:35:00 +0000 (23:35 +0000)]
Do not build libgssapi.a on AIX, because it doesnt work
(unresolved symbols) and would be fairly useless anyway.

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

28 years agoUse KRB5_RUN_FLAGS in configure.in, and use appropriate run flags for
Sam Hartman [Thu, 23 May 1996 23:34:05 +0000 (23:34 +0000)]
Use KRB5_RUN_FLAGS in configure.in, and use appropriate run flags for
each test so shared libraries are happy.

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

28 years agoUse KRB5_RUN_FLAGS in configure.in, and use appropriate run flags for
Sam Hartman [Thu, 23 May 1996 23:32:51 +0000 (23:32 +0000)]
Use KRB5_RUN_FLAGS in configure.in, and use appropriate run flags for
each test so shared libraries are happy.

Also, for tests that use weak or zero keys, make sure we link
in enough object modules to allow us to overide parts of libcrypto
even on systems with early binding in shared libs lik AIX.

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

28 years ago* Ignore the error if we cannot make ksu set-uid; we don't want to
Sam Hartman [Thu, 23 May 1996 23:30:44 +0000 (23:30 +0000)]
* Ignore the error if we cannot make ksu set-uid; we don't want to
abort make install in this situation.

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

28 years agoUse secure context for login
Sam Hartman [Thu, 23 May 1996 23:29:33 +0000 (23:29 +0000)]
Use secure context for login

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

28 years agoadd KRB5_TL_KADM5_E_DATA
Barry Jaspan [Thu, 23 May 1996 18:35:26 +0000 (18:35 +0000)]
add KRB5_TL_KADM5_E_DATA

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

28 years agojik's comments
Barry Jaspan [Thu, 23 May 1996 10:36:20 +0000 (10:36 +0000)]
jik's comments

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

28 years agomd4crypto.c:
Richard Basch [Wed, 22 May 1996 02:42:20 +0000 (02:42 +0000)]
md4crypto.c:
The incorrect size was being used to compare the computed message
digest and the supplied checksum for the "fixed" md4 case, causing
decryption integrity failures.
[Fixed by epeisach/audited by basch; fixes 'make check']

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

28 years agoUpdate use of libupdate to use the new command line arguments
Theodore Tso [Tue, 21 May 1996 01:09:17 +0000 (01:09 +0000)]
Update use of libupdate to use the new command line arguments

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

28 years agoRemove vestigal ODBM support
Theodore Tso [Mon, 20 May 1996 22:17:27 +0000 (22:17 +0000)]
Remove vestigal ODBM support

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

28 years agoRemove support for ODBM
Theodore Tso [Mon, 20 May 1996 22:17:00 +0000 (22:17 +0000)]
Remove support for ODBM

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

28 years agoRemove vestigal support for ODBM
Theodore Tso [Mon, 20 May 1996 22:15:32 +0000 (22:15 +0000)]
Remove vestigal support for ODBM

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

28 years agoUpdate autoconf to version 2.10. This will fix the reported bugs of
Theodore Tso [Mon, 20 May 1996 22:09:09 +0000 (22:09 +0000)]
Update autoconf to version 2.10.  This will fix the reported bugs of
the install-sh script getting cached with the wrong values, as well as
bringing us to a more recent version of autoconf.

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

28 years agokrb5.conf.M: Document kdc_req_checksumtype, as_req_checksum_type, and
Theodore Tso [Mon, 20 May 1996 21:27:22 +0000 (21:27 +0000)]
krb5.conf.M: Document kdc_req_checksumtype, as_req_checksum_type, and
safe_checksum_type.

krb5.conf: Remove the tkt_lifetime parameter altogether.  We may end
up doing it slightly differently post-Beta 6...

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

28 years agomd5crypto.c, md5crypto.h: Change use of RSA_MD5_DES_CKSUM_LENGTH to
Theodore Tso [Mon, 20 May 1996 21:20:12 +0000 (21:20 +0000)]
md5crypto.c, md5crypto.h: Change use of RSA_MD5_DES_CKSUM_LENGTH to
use OLD_RSA_MD5_DES_CKSUM_LENGTH and NEW_RSA_MD5_DES_CKSUM_LENGTH, as
appropriate.

t_cksum.c (main): Use proper header file constants to get the correct
checksum length for the MD4 and MD5 old-style and new-style checksum
functions.

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

28 years agoChange use of RSA_MD4_DES_CKSUM_LENGTH to use
Theodore Tso [Mon, 20 May 1996 21:18:39 +0000 (21:18 +0000)]
Change use of RSA_MD4_DES_CKSUM_LENGTH to use
OLD_RSA_MD4_DES_CKSUM_LENGTH and NEW_RSA_MD4_DES_CKSUM_LENGTH, as
appropriate.

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

28 years agoDon't do timing tests; it takes too long!
Theodore Tso [Mon, 20 May 1996 21:16:20 +0000 (21:16 +0000)]
Don't do timing tests; it takes too long!

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

28 years agoupdate Makefile.in for new libupdate
Tom Yu [Mon, 20 May 1996 15:22:11 +0000 (15:22 +0000)]
update Makefile.in for new libupdate

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

28 years agofix libupdate and allow it to deal with multiple directories
Tom Yu [Mon, 20 May 1996 15:20:34 +0000 (15:20 +0000)]
fix libupdate and allow it to deal with multiple directories

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

28 years agoFixes so krb5_seteuid compiles on Ultrix
Sam Hartman [Mon, 20 May 1996 06:54:42 +0000 (06:54 +0000)]
Fixes so krb5_seteuid compiles on Ultrix

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

28 years agoFix up some annoying pre-processor typos
Sam Hartman [Mon, 20 May 1996 06:36:02 +0000 (06:36 +0000)]
Fix up some annoying pre-processor typos

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