krb5.git
25 years ago * client_init.c (_kadm5_init_any): Use gss_krb5_ccache_name() to
Tom Yu [Thu, 13 May 1999 21:25:21 +0000 (21:25 +0000)]
* client_init.c (_kadm5_init_any): Use gss_krb5_ccache_name() to
set the gssapi ccache name.

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

25 years agogssapi32.def: Add krb5-specific extensions so they are exported from
Theodore Tso [Wed, 12 May 1999 04:28:08 +0000 (04:28 +0000)]
gssapi32.def: Add krb5-specific extensions so they are exported from
the DLL.

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

25 years agoFix how we specify the OID so it's in a format gss_str_to_oid likes
Theodore Tso [Wed, 12 May 1999 04:03:59 +0000 (04:03 +0000)]
Fix how we specify the OID so it's in a format gss_str_to_oid likes

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

25 years ago * krb5.hin: Remove unused priv_size from krb5_encrypt_block
Ezra Peisach [Tue, 11 May 1999 19:20:53 +0000 (19:20 +0000)]
    * krb5.hin: Remove unused priv_size from krb5_encrypt_block

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

25 years ago * ftp.c: Inclusion of gssapi_krb5.h requires gssapi_generic.h
Ezra Peisach [Tue, 11 May 1999 15:58:57 +0000 (15:58 +0000)]
 * ftp.c: Inclusion of gssapi_krb5.h requires gssapi_generic.h

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

25 years ago * main.c: Remove include of gssapi_krb5.h - no longer needed
Ezra Peisach [Tue, 11 May 1999 15:42:59 +0000 (15:42 +0000)]
* main.c: Remove include of gssapi_krb5.h - no longer needed

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

25 years agoBack out win16/win32 change. Does not work from clean. Must wait until
Danilo Almeida [Mon, 10 May 1999 22:59:10 +0000 (22:59 +0000)]
Back out win16/win32 change.  Does not work from clean.  Must wait until
win32-only to remove /AL flag.

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

25 years agoDo win32 build in subdir
Danilo Almeida [Mon, 10 May 1999 19:43:50 +0000 (19:43 +0000)]
Do win32 build in subdir

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

25 years agoBuild win32 binaries in obj/$(CPU)/{dbg,rel}
Danilo Almeida [Mon, 10 May 1999 19:36:35 +0000 (19:36 +0000)]
Build win32 binaries in obj/$(CPU)/{dbg,rel}

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

25 years agoChange wconfig build so win16 flags are not used for win32 build
Danilo Almeida [Mon, 10 May 1999 19:13:20 +0000 (19:13 +0000)]
Change wconfig build so win16 flags are not used for win32 build

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

25 years agoRemove Win16 directives to get rid of warnings
Danilo Almeida [Fri, 7 May 1999 22:33:56 +0000 (22:33 +0000)]
Remove Win16 directives to get rid of warnings

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

25 years agoFixed typo
Danilo Almeida [Fri, 7 May 1999 22:12:17 +0000 (22:12 +0000)]
Fixed typo

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

25 years agoovsec_kadmd.c: Remove dependency on gssapi_krb5.h by using
Theodore Tso [Fri, 7 May 1999 21:17:05 +0000 (21:17 +0000)]
ovsec_kadmd.c: Remove dependency on gssapi_krb5.h by using
gss_str_to_oid() to get the necessary oid for the krb5_name name type.
Also added #include files to get prototypes and fixed some gcc -Wall
nits.  Fixed calls to krb5_klog_close() to pass the krb5_context as an
argument.

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

25 years agoFix the existing kludge to deal with the fact that krb5_realm_params
Theodore Tso [Fri, 7 May 1999 21:06:40 +0000 (21:06 +0000)]
Fix the existing kludge to deal with the fact that krb5_realm_params
is defined in two, count them two, header files.  There's real
ugliness here that needs cleaning up eventually, but I don't have the
time now to deal with it.

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

25 years agoReturn KRB5_REALM_UNKNOWN if profile_get_values returns
Theodore Tso [Fri, 7 May 1999 18:41:52 +0000 (18:41 +0000)]
Return KRB5_REALM_UNKNOWN if profile_get_values returns
PROF_NO_RELATION or PROF_NO_SECTION.

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

25 years agoxpprof32.def: Add profile_abandon to the list of exported functions
Theodore Tso [Fri, 7 May 1999 16:12:06 +0000 (16:12 +0000)]
xpprof32.def: Add profile_abandon to the list of exported functions

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

25 years agoFixed Mac ENOMEM
Miro Jurisic [Thu, 6 May 1999 21:14:46 +0000 (21:14 +0000)]
Fixed Mac ENOMEM

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

25 years agoAdded com_err.h to sdk
Miro Jurisic [Fri, 30 Apr 1999 22:40:26 +0000 (22:40 +0000)]
Added com_err.h to sdk

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

25 years agoFixed vend resource
Miro Jurisic [Fri, 30 Apr 1999 18:17:11 +0000 (18:17 +0000)]
Fixed vend resource

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

25 years agoset_ccache.c (gss_krb5_ccache_name): Add call to free the default
Theodore Tso [Fri, 30 Apr 1999 16:29:45 +0000 (16:29 +0000)]
set_ccache.c (gss_krb5_ccache_name): Add call to free the default
credential changing the ccache name.

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

25 years ago * kerberos_v4.c (kerberos_v4): Fix bug where krb_create_ticket()
Tom Yu [Fri, 30 Apr 1999 04:09:15 +0000 (04:09 +0000)]
* kerberos_v4.c (kerberos_v4): Fix bug where krb_create_ticket()
was getting called for an APPL_REQUEST even when there was no
single-DES key, resulting in random weirdness.

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

25 years agoRenamed glue files
Miro Jurisic [Fri, 30 Apr 1999 02:45:57 +0000 (02:45 +0000)]
Renamed glue files

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

25 years agoRenamed glue files in SDK
Miro Jurisic [Fri, 30 Apr 1999 02:45:44 +0000 (02:45 +0000)]
Renamed glue files in SDK

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

25 years agoUpdated version string to 2.0
Miro Jurisic [Fri, 30 Apr 1999 02:45:11 +0000 (02:45 +0000)]
Updated version string to 2.0

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

25 years agoUpdated to DESLib 1.0.4
Miro Jurisic [Thu, 29 Apr 1999 22:21:59 +0000 (22:21 +0000)]
Updated to DESLib 1.0.4

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

25 years agoUpdated for 2.0 GM
Miro Jurisic [Thu, 29 Apr 1999 22:20:13 +0000 (22:20 +0000)]
Updated for 2.0 GM

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

25 years agoWas doubly including MIT Kerberos.r
Miro Jurisic [Thu, 29 Apr 1999 22:12:38 +0000 (22:12 +0000)]
Was doubly including MIT Kerberos.r

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

25 years agoRemoved #include for gssapi_generic.h from gssapi_krb5.h
Miro Jurisic [Thu, 29 Apr 1999 22:03:08 +0000 (22:03 +0000)]
Removed #include for gssapi_generic.h from gssapi_krb5.h

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

25 years agoSet custom icon bit and added new resource files to snapshot
Miro Jurisic [Thu, 29 Apr 1999 21:58:20 +0000 (21:58 +0000)]
Set custom icon bit and added new resource files to snapshot

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

25 years agoSet correct icon resource ID and added new MIT Kerberos.r, with CCI(TM) and 2.0
Miro Jurisic [Thu, 29 Apr 1999 21:57:31 +0000 (21:57 +0000)]
Set correct icon resource ID and added new MIT Kerberos.r, with CCI(TM) and 2.0

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

25 years agoAdded icons, finder balloons and Conflict Catcher information resources
Miro Jurisic [Thu, 29 Apr 1999 21:41:51 +0000 (21:41 +0000)]
Added icons, finder balloons and Conflict Catcher information resources

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

25 years agoRenames glue source files
Miro Jurisic [Thu, 29 Apr 1999 20:37:22 +0000 (20:37 +0000)]
Renames glue source files

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

25 years agoAdded sdk target and renamed glue output files
Miro Jurisic [Thu, 29 Apr 1999 20:35:16 +0000 (20:35 +0000)]
Added sdk target and renamed glue output files

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

25 years agoChanged glue header filename
Miro Jurisic [Thu, 29 Apr 1999 20:34:09 +0000 (20:34 +0000)]
Changed glue header filename

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

25 years agoRemoved bogus information about CW builds and updated library names
Miro Jurisic [Thu, 29 Apr 1999 20:33:40 +0000 (20:33 +0000)]
Removed bogus information about CW builds and updated library names

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

25 years ago * update_utmp.c (pty_update_utmp): utx.ut_pid is a pid_t, and
Tom Yu [Sat, 24 Apr 1999 03:15:30 +0000 (03:15 +0000)]
* update_utmp.c (pty_update_utmp): utx.ut_pid is a pid_t, and
ent.ut_pid is sometimes a short; accordingly, use pid rather than
ent.ut_pid, which might have gotten truncated.  This fixes an Irix
problem found by <rbasch@mit.edu>.

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

25 years ago * svc.c: Fix to reference the correct xprt because we're no longer
Tom Yu [Sat, 24 Apr 1999 00:06:59 +0000 (00:06 +0000)]
* svc.c: Fix to reference the correct xprt because we're no longer
calling ffs(); also remove some unused variables.

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

25 years agoUpdated to 2.0fc3
Miro Jurisic [Fri, 23 Apr 1999 19:32:57 +0000 (19:32 +0000)]
Updated to 2.0fc3

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

25 years agoAdded 68K DES library to output; removed all traces of CW builds
Miro Jurisic [Fri, 23 Apr 1999 19:30:41 +0000 (19:30 +0000)]
Added 68K DES library to output; removed all traces of CW builds

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

25 years agoRemoved CW builds
Miro Jurisic [Fri, 23 Apr 1999 19:30:13 +0000 (19:30 +0000)]
Removed CW builds

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

25 years agoRemoved all traces of MIT Support Library projects
Miro Jurisic [Fri, 23 Apr 1999 19:29:31 +0000 (19:29 +0000)]
Removed all traces of MIT Support Library projects

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

25 years agoUpdated to CCache 2.0fc3
Miro Jurisic [Fri, 23 Apr 1999 19:28:44 +0000 (19:28 +0000)]
Updated to CCache 2.0fc3

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

25 years agoremoved 68k builds
Miro Jurisic [Fri, 23 Apr 1999 09:56:45 +0000 (09:56 +0000)]
removed 68k builds

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

25 years agoUpdated to MITKL 2.0fc2 and MITKfM 2.0fc1
Miro Jurisic [Fri, 23 Apr 1999 09:56:31 +0000 (09:56 +0000)]
Updated to MITKL 2.0fc2 and MITKfM 2.0fc1

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

25 years agoUpdated to CCache 1.0fc2
Miro Jurisic [Fri, 23 Apr 1999 09:42:37 +0000 (09:42 +0000)]
Updated to CCache 1.0fc2

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

25 years agowrap_size_limit.c (krb5_gss_wrap_size_limit): Fix wrap_size limit so
Theodore Tso [Fri, 23 Apr 1999 04:33:19 +0000 (04:33 +0000)]
wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix wrap_size limit so
that it correctly calculates its results, and underestimates the
correct size instead of overestimating it, and not returning zero all
the time.  (Which it used to do after the March 25 fix.)

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

25 years agoAdded MIT Kerberos for the Mac ver 2 resource
Miro Jurisic [Thu, 22 Apr 1999 00:03:17 +0000 (00:03 +0000)]
Added MIT Kerberos for the Mac ver 2 resource

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

25 years agoUpdated fragment names to "MIT Kerberos..." and udpated versio number to 2.0fc1
Miro Jurisic [Wed, 21 Apr 1999 22:57:47 +0000 (22:57 +0000)]
Updated fragment names to "MIT Kerberos..." and udpated versio number to 2.0fc1

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

25 years agoUpdated to CCache 2.0fc1
Miro Jurisic [Wed, 21 Apr 1999 22:53:40 +0000 (22:53 +0000)]
Updated to CCache 2.0fc1

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

25 years agoUpdated to DESLib 1.0.3
Miro Jurisic [Wed, 21 Apr 1999 22:53:14 +0000 (22:53 +0000)]
Updated to DESLib 1.0.3

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

25 years agoUpdated fragment names to "MIT Support..."
Miro Jurisic [Wed, 21 Apr 1999 22:52:24 +0000 (22:52 +0000)]
Updated fragment names to "MIT Support..."

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

25 years agowinccld.c: Only compile this file on Windows (to avoid screwing up the
Theodore Tso [Wed, 21 Apr 1999 22:50:28 +0000 (22:50 +0000)]
winccld.c: Only compile this file on Windows (to avoid screwing up the
Macintosh build).

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

25 years ago * svc.c (xprt_unregister): Fix typo
Tom Yu [Wed, 21 Apr 1999 20:22:49 +0000 (20:22 +0000)]
* svc.c (xprt_unregister): Fix typo

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

25 years agokrb5_32.def: Add krb5_cc_set_default_name to the list of exported functions
Theodore Tso [Sat, 17 Apr 1999 22:28:54 +0000 (22:28 +0000)]
krb5_32.def: Add krb5_cc_set_default_name to the list of exported functions

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

25 years agogssapi_krb5.h, copy_ccache.c, get_tkt_flags.c, set_ccache.c: Make the
Theodore Tso [Sat, 17 Apr 1999 05:25:04 +0000 (05:25 +0000)]
gssapi_krb5.h, copy_ccache.c, get_tkt_flags.c, set_ccache.c: Make the
krb5 extension functions exportable in a Windows DLL.

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

25 years agoBuilt the krb5 specific extension function which allows an application
Theodore Tso [Sat, 17 Apr 1999 05:22:47 +0000 (05:22 +0000)]
Built the krb5 specific extension function which allows an application
program to set the ccache location.

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

25 years agoMakefile.in (all-windows): Don't constantly recreate autoconf.h with
Theodore Tso [Fri, 16 Apr 1999 21:21:56 +0000 (21:21 +0000)]
Makefile.in (all-windows): Don't constantly recreate autoconf.h with
#include "win-mac.h"

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

25 years ago * g_cnffile.c (krb__get_srvtabname): Fix to actually extract
Tom Yu [Fri, 16 Apr 1999 00:19:31 +0000 (00:19 +0000)]
* g_cnffile.c (krb__get_srvtabname): Fix to actually extract
krb5_srvtab value from profile, instead of always ignoring it.

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

25 years agoconfigure.in: Fix typo in test below; fixed name of the autoconf cache
Theodore Tso [Thu, 15 Apr 1999 21:05:50 +0000 (21:05 +0000)]
configure.in: Fix typo in test below; fixed name of the autoconf cache
variable which indicates if sys/streams.h exists.

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

25 years agot_imp_name.c: Initialize display_file variable in main(), instead of
Theodore Tso [Wed, 14 Apr 1999 16:05:33 +0000 (16:05 +0000)]
t_imp_name.c: Initialize display_file variable in main(), instead of
using a static initializer.  (Needed for Linux/glibc 2.1)

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

25 years agosvc.c (svc_getreq, svc_getreqset): Avoid using internal, private
Theodore Tso [Wed, 14 Apr 1999 16:04:09 +0000 (16:04 +0000)]
svc.c (svc_getreq, svc_getreqset): Avoid using internal, private
fd_set structure elements (Needed for Linux/glibc 2.1)

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

25 years agoconfigure.in: Check for setupterm() in libncurses in addition to
Theodore Tso [Wed, 14 Apr 1999 16:01:49 +0000 (16:01 +0000)]
configure.in: Check for setupterm() in libncurses in addition to
libcurses.  Only set STREAMSPTY if both grantpt and sys/stremas.h
exists.  (Will be needed for Linux/Redhat 6.0)

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

25 years agoconfigure.in: Check for setupterm() in libncurses in addition to
Theodore Tso [Wed, 14 Apr 1999 16:01:02 +0000 (16:01 +0000)]
configure.in: Check for setupterm() in libncurses in addition to
libcurses.  (Will be needed for Linux/Redhat 6.0)

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

25 years agoupdate_wtmp.c: Don't use updwtmpx() even if it exists for glibc 2.1,
Theodore Tso [Wed, 14 Apr 1999 16:00:33 +0000 (16:00 +0000)]
update_wtmp.c: Don't use updwtmpx() even if it exists for glibc 2.1,
since it's the same as updwtmp(), and glibc doesn't define PATH_WTMPX.
updwtmpx() is not part of the XPG standard anyway.  (Needed for RedHat
6.0.)

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

25 years agoconfigure.in: Check to see if we need to pull in the util library in
Theodore Tso [Wed, 14 Apr 1999 15:59:57 +0000 (15:59 +0000)]
configure.in: Check to see if we need to pull in the util library in
order to find logwtmp().  (Needed for Linux/glibc 2.1.)

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

25 years agoprof_init.c (profile_abandon): New function which frees the profile
Theodore Tso [Wed, 14 Apr 1999 15:10:43 +0000 (15:10 +0000)]
prof_init.c (profile_abandon): New function which frees the profile
handle and throwing away any changes that might have been made before
they are flushed to disk.

prof_file.c (profile_close_file): Move functionality of freeing the
profile file to the new function profile_free_file().

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

25 years agoUpdated for 1.1b20
Miro Jurisic [Tue, 13 Apr 1999 17:18:35 +0000 (17:18 +0000)]
Updated for 1.1b20

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

25 years agoAdded gss_krb5_ccache_name and GSSAPILibrarySupportsCCacheName
Miro Jurisic [Tue, 13 Apr 1999 17:08:37 +0000 (17:08 +0000)]
Added gss_krb5_ccache_name and GSSAPILibrarySupportsCCacheName

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

25 years agokconfig.c: Update to use newer (and proper profile calls)
Theodore Tso [Sat, 10 Apr 1999 03:10:11 +0000 (03:10 +0000)]
kconfig.c: Update to use newer (and proper profile calls)

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

25 years agopost.in (Makefile): Don't try to run autoconf with $(SHELL), since
Theodore Tso [Sat, 10 Apr 1999 03:08:52 +0000 (03:08 +0000)]
post.in (Makefile): Don't try to run autoconf with $(SHELL), since
this doesn't work if $(AUTOCONF) isn't a path to the built-in
autoconf, but just an unqualified pathname to the system autoconf.
[krb5-build/707]

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

25 years agogic.c (gic_prompter), vardlg.c (vardlg_build), gic.h, vardlg.h: Update
Theodore Tso [Sat, 10 Apr 1999 02:58:18 +0000 (02:58 +0000)]
gic.c (gic_prompter), vardlg.c (vardlg_build), gic.h, vardlg.h: Update
to use new prompter prototype which takes an extra argument for the
window titlebar name.  (From Frank Cusack) [krb5-kdc/662]

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

25 years agokfree.c (krb5_free_sam_challenge, krb5_free_sam_challenge_contents,
Theodore Tso [Sat, 10 Apr 1999 02:57:33 +0000 (02:57 +0000)]
kfree.c (krb5_free_sam_challenge, krb5_free_sam_challenge_contents,
krb5_free_sam_response, krb5_free_sam_response_contents,
krb5_free_predicted_sam_response,
krb5_free_predicted_sam_response_contents,
krb5_free_enc_sam_response_enc,
krb5_free_enc_sam_response_enc_contents, krb5_free_pa_enc_ts): Added
new functions.  Part of patches from [krb5-kdc/662]

gic_pwd.c (krb5_get_init_creds_password): Add new argument to calls to
the prompter function.  Part of patches from [krb5-kdc/662].

preauth2.c (pa_enc_timestamp, pa_sam): Update calls to new prompter
function.  [krb5-kdc/662].

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

25 years agoprompter.c (krb5_prompter_posix): Update to use new prompter prototype
Theodore Tso [Sat, 10 Apr 1999 02:45:37 +0000 (02:45 +0000)]
prompter.c (krb5_prompter_posix): Update to use new prompter prototype
which takes an extra argument for the window titlebar name.  (From
Frank Cusack) [krb5-kdc/662]

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

25 years agok5-int.h: Add new prototypes and #define's provided by Frank Cusack's
Theodore Tso [Sat, 10 Apr 1999 02:45:00 +0000 (02:45 +0000)]
k5-int.h: Add new prototypes and #define's provided by Frank Cusack's
preauth patch (PR# [krb5-kdc/662])

krb5.hin (krb5_prompter_fct, krb5_prompter_posix): Update function
prototypes to reflect new prompter prototype which takes an extra
argument for the window titlebar name.  (From Frank Cusack)
[krb5-kdc/662]

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

25 years agokdb.h: Add new TL types provided by Frank Cusack's preauth patch
Theodore Tso [Sat, 10 Apr 1999 02:43:30 +0000 (02:43 +0000)]
kdb.h: Add new TL types provided by Frank Cusack's preauth patch
[krb5-kdc/662]

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

25 years agoRename CHANGELOG to CHANGELOG.db2 to avoid messing up things under Windows
Theodore Tso [Thu, 8 Apr 1999 20:10:28 +0000 (20:10 +0000)]
Rename CHANGELOG to CHANGELOG.db2 to avoid messing up things under Windows
since there is a ChangeLog file which is different.

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

25 years agoChanged fragment names to new MITAthena convention
Miro Jurisic [Thu, 8 Apr 1999 17:16:45 +0000 (17:16 +0000)]
Changed fragment names to new MITAthena convention

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

25 years agoUpdated to 1.1b13
Miro Jurisic [Thu, 8 Apr 1999 17:13:44 +0000 (17:13 +0000)]
Updated to 1.1b13

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

25 years agoUpdated to 2.0b5
Miro Jurisic [Thu, 8 Apr 1999 16:47:58 +0000 (16:47 +0000)]
Updated to 2.0b5

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

25 years agoWorkaround the fact that Windows has really poor emulation of POSIX
Theodore Tso [Tue, 6 Apr 1999 20:46:59 +0000 (20:46 +0000)]
Workaround the fact that Windows has really poor emulation of POSIX
functions such as rename.  (In fact, it has completely different
semantics for this call!) Fix supplied by Tom Sanfilippo (txn# 2184 in
krb5dev)

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

25 years agotypo in a comment
Dan Winship [Sat, 3 Apr 1999 19:55:00 +0000 (19:55 +0000)]
typo in a comment

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

25 years ago * rpc_commondata.c: Add initializers to prevent lossage on systems
Tom Yu [Fri, 2 Apr 1999 00:12:30 +0000 (00:12 +0000)]
* rpc_commondata.c: Add initializers to prevent lossage on systems
that don't deal with common blocks in libraries.

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

25 years agoFix silly typo
Theodore Tso [Wed, 31 Mar 1999 05:57:05 +0000 (05:57 +0000)]
Fix silly typo

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

25 years agoccdefops.c: Change the default ccache type under windows to be
Theodore Tso [Wed, 31 Mar 1999 05:22:09 +0000 (05:22 +0000)]
ccdefops.c: Change the default ccache type under windows to be
original FILE ccache type; this will get set to ccapi if the
krbcc32.dll can be found.

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

25 years agoinit_ctx.c (krb5_init_context): Call krb5_win_ccdll_load() to load the
Theodore Tso [Wed, 31 Mar 1999 05:19:42 +0000 (05:19 +0000)]
init_ctx.c (krb5_init_context): Call krb5_win_ccdll_load() to load the
krbcc32.dll under windows.

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

25 years agowin_glue.c (control): Call krb5_stdcc_shutdown when detaching the krb5
Theodore Tso [Wed, 31 Mar 1999 05:19:00 +0000 (05:19 +0000)]
win_glue.c (control): Call krb5_stdcc_shutdown when detaching the krb5
library.

Makefile.in: Remove reference to the windows Krbcc32.dll library,
since this is now dynamically loaded.

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

25 years agowinccld.c, winccld.h, stdcc.c: Add files to dynamically load
Theodore Tso [Wed, 31 Mar 1999 05:11:39 +0000 (05:11 +0000)]
winccld.c, winccld.h, stdcc.c: Add files to dynamically load
krbcc32.dll, so that we can fall back and use the built-in file ccache
type if krbcc32.dll doesn't exist.

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

25 years ago * sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt
Tom Yu [Wed, 31 Mar 1999 05:07:20 +0000 (05:07 +0000)]
* sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt
failure.

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

25 years ago * termios-tn.c: Include termio.h under AIX due to brokenness
Tom Yu [Wed, 31 Mar 1999 05:00:20 +0000 (05:00 +0000)]
* termios-tn.c: Include termio.h under AIX due to brokenness

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

25 years ago * update_wtmp.c: Define WTMPX_FILE to be _PATH_WTMPX in case we're
Tom Yu [Sun, 28 Mar 1999 22:51:41 +0000 (22:51 +0000)]
* update_wtmp.c: Define WTMPX_FILE to be _PATH_WTMPX in case we're
on a system that cleans up the namespace that way.

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

25 years agoChanged stat.h typedefs to not be included if building with CodeWarrior, to prevent...
Miro Jurisic [Sat, 27 Mar 1999 22:38:24 +0000 (22:38 +0000)]
Changed stat.h typedefs to not be included if building with CodeWarrior, to prevent conflicts with MSL stat.h

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

25 years agoacquire_cred.c (krb5_gss_acquire_cred): Don't use strcmp to compare
Theodore Tso [Sat, 27 Mar 1999 03:52:58 +0000 (03:52 +0000)]
acquire_cred.c (krb5_gss_acquire_cred): Don't use strcmp to compare
against principal components (they aren't null terminated!)

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

25 years ago * ftpd.c (login): Check that the luid is not the uid we want to
Tom Yu [Fri, 26 Mar 1999 04:15:57 +0000 (04:15 +0000)]
* ftpd.c (login): Check that the luid is not the uid we want to
change to prior to calling setluid() so that we can run as
non-root.

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

25 years agogssapi_krb5.c: Rearrange OID's so that the V1V2 mechanism set returns
Theodore Tso [Fri, 26 Mar 1999 03:51:44 +0000 (03:51 +0000)]
gssapi_krb5.c: Rearrange OID's so that the V1V2 mechanism set returns
all three mechanism ID's recognized by this implementation, with the
RFC1964 OID first (and thus preferred).

import_sec_context.c (krb5_gss_convert_static_mech_oid): Make the old
convert_static_oid() function globally accessible with a namespace
compliant name, since init_sec_context() needs to be able to use this
function.

indicate_mechs.c (krb5_gss_indicate_mechs): Return the v1v2 mechanism
set OID, since we should return all the mechanisms that we support.

init_sec_context.c (krb5_gss_init_sec_context): Make ctx->mech_used
use a static OID, since it is returned by gss_inquire_context which
must return a static OID.

wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix bug where we would
overestimate the size of the allowable input message by one byte,
because we weren't passing the right estimate of the wrapped data to
g_token_size().

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

25 years agodisp_major_status.c (display_unknown): Fix the length of the buffer to
Theodore Tso [Fri, 26 Mar 1999 03:42:40 +0000 (03:42 +0000)]
disp_major_status.c (display_unknown): Fix the length of the buffer to
be the size of the returned string, instead of something bigger than
the returned string.

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

25 years ago * promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not
Tom Yu [Thu, 25 Mar 1999 23:49:52 +0000 (23:49 +0000)]
* promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not
char.

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

25 years ago * configure.in: Check for sys/sockio.h for systems that need it
Tom Yu [Wed, 24 Mar 1999 22:14:27 +0000 (22:14 +0000)]
* configure.in: Check for sys/sockio.h for systems that need it
for SIOCATMARK.

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

25 years ago * ftpcmd.y (urgsafe_getc): New function; like getc() except it
Tom Yu [Wed, 24 Mar 1999 22:14:02 +0000 (22:14 +0000)]
* ftpcmd.y (urgsafe_getc): New function; like getc() except it
retries once if SIOCATMARK returns TRUE.
(getline): Use urgsafe_getc() rather than getc() to avoid problems
with certain Mac clients that cause the urgent pointer to end up
in a location that results in EOF from getc().

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

25 years agoChecked in Danilo's changes to fix Makefile case for windows, and to
Theodore Tso [Wed, 24 Mar 1999 21:27:41 +0000 (21:27 +0000)]
Checked in Danilo's changes to fix Makefile case for windows, and to
deal with Irix's broken shell that can't deal with a lot of arguments
on the command line.

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

25 years agoMove the definition of DLL_DEF_FILE from windows.in to win-post.in, so that
Theodore Tso [Tue, 23 Mar 1999 22:24:29 +0000 (22:24 +0000)]
Move the definition of DLL_DEF_FILE from windows.in to win-post.in, so that
the base Makefile has a chance to set DLL_EXP_TYPE.

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