krb5.git
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

25 years agoAdd information for the profile library (which is now a separate library)
Theodore Tso [Tue, 23 Mar 1999 22:23:38 +0000 (22:23 +0000)]
Add information for the profile library (which is now a separate library)

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

25 years agoDon't use cc_uint4 since the Windows include file apparently doesn't
Theodore Tso [Tue, 23 Mar 1999 22:12:56 +0000 (22:12 +0000)]
Don't use cc_uint4 since the Windows include file apparently doesn't
include it.  unsigned int will work just fine here for now.

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

25 years agoFix window's get_from_os() call so that gets the default cache name if
Theodore Tso [Tue, 23 Mar 1999 22:10:49 +0000 (22:10 +0000)]
Fix window's get_from_os() call so that gets the default cache name if
the strategy of getting the information from the registry fails (which it
normally will, since this is used only for PC-DCE compatibility).

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

25 years agoFix up makefile so that it correctly builds the DLL's under windows
Theodore Tso [Tue, 23 Mar 1999 22:07:11 +0000 (22:07 +0000)]
Fix up makefile so that it correctly builds the DLL's under windows

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

25 years ago68K builds gone; updated to 1.1b12
Miro Jurisic [Tue, 23 Mar 1999 04:47:25 +0000 (04:47 +0000)]
68K builds gone; updated to 1.1b12

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

25 years agoupdated to CCache 2.0b4
Miro Jurisic [Tue, 23 Mar 1999 04:46:43 +0000 (04:46 +0000)]
updated to CCache 2.0b4

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

25 years agoFix stupid typo in defining the DLL_FILE_DEF macro
Theodore Tso [Mon, 22 Mar 1999 20:52:18 +0000 (20:52 +0000)]
Fix stupid typo in defining the DLL_FILE_DEF macro

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

25 years agoFixed krb5globals __initialize to use existing default cache instead of creatinga...
Miro Jurisic [Tue, 16 Mar 1999 18:21:58 +0000 (18:21 +0000)]
Fixed krb5globals __initialize to use existing default cache instead of creatinga new one; upped to b11

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

25 years ago * profile.hin: Fix GSS_DLLIMP
Tom Yu [Mon, 15 Mar 1999 21:03:50 +0000 (21:03 +0000)]
* profile.hin: Fix GSS_DLLIMP

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

25 years ago * com_err.h: Fix GSS_DLLIMP
Tom Yu [Mon, 15 Mar 1999 21:02:13 +0000 (21:02 +0000)]
* com_err.h: Fix GSS_DLLIMP

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

25 years ago * des.h: Fix GSS_DLLIMP
Tom Yu [Mon, 15 Mar 1999 20:59:48 +0000 (20:59 +0000)]
* des.h: Fix GSS_DLLIMP

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

25 years ago * k5-int.h: Fix GSS_DLLIMP
Tom Yu [Mon, 15 Mar 1999 20:59:31 +0000 (20:59 +0000)]
* k5-int.h: Fix GSS_DLLIMP

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

25 years agoAdded extern "C" to gssapi_krb5.h
Miro Jurisic [Mon, 15 Mar 1999 20:27:42 +0000 (20:27 +0000)]
Added extern "C" to gssapi_krb5.h

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

25 years agoFixed GSS_* macros for the Mac
Miro Jurisic [Mon, 15 Mar 1999 04:05:59 +0000 (04:05 +0000)]
Fixed GSS_* macros for the Mac

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

25 years agoAdded new exports and upped to b10
Miro Jurisic [Mon, 15 Mar 1999 04:04:21 +0000 (04:04 +0000)]
Added new exports and upped to b10

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

25 years agoNow actually compiles
Miro Jurisic [Mon, 15 Mar 1999 04:03:45 +0000 (04:03 +0000)]
Now actually compiles

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

25 years agoFix = vs == bug in krb5_stdcc_next_cred
Theodore Tso [Sun, 14 Mar 1999 05:38:33 +0000 (05:38 +0000)]
Fix = vs == bug in krb5_stdcc_next_cred

check the return value from cc_create.

Remove use of C++ comments.

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

25 years agoCommit updated changelog
Theodore Tso [Sun, 14 Mar 1999 05:35:49 +0000 (05:35 +0000)]
Commit updated changelog

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

25 years agoFix obviously missing variable declaration
Theodore Tso [Sun, 14 Mar 1999 05:35:14 +0000 (05:35 +0000)]
Fix obviously missing variable declaration

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

25 years agoChanges to allow building the profile routines as their own separate DLL
Theodore Tso [Sun, 14 Mar 1999 05:24:27 +0000 (05:24 +0000)]
Changes to allow building the profile routines as their own separate DLL

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

25 years agoMakefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
Theodore Tso [Sun, 14 Mar 1999 05:19:21 +0000 (05:19 +0000)]
Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
building object files for the GSSAPI DLL.

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

25 years agoCheck in prototype for gss_krb5_ccache_name()
Theodore Tso [Sun, 14 Mar 1999 05:18:03 +0000 (05:18 +0000)]
Check in prototype for gss_krb5_ccache_name()

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

25 years ago * Makefile.in (kshd): Add $(LOGINLIBS)
Tom Yu [Sat, 13 Mar 1999 00:02:07 +0000 (00:02 +0000)]
* Makefile.in (kshd): Add $(LOGINLIBS)

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

25 years ago * main.c (main): Fix cleanup code for setluid() failure
Tom Yu [Fri, 12 Mar 1999 23:53:02 +0000 (23:53 +0000)]
* main.c (main): Fix cleanup code for setluid() failure

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

25 years agoBack out prototype changes which should haven't gotten checked in yet
Theodore Tso [Fri, 12 Mar 1999 22:10:04 +0000 (22:10 +0000)]
Back out prototype changes which should haven't gotten checked in yet

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

25 years agoDon't blow away Krbcc32.lib by accident
Theodore Tso [Fri, 12 Mar 1999 20:55:09 +0000 (20:55 +0000)]
Don't blow away Krbcc32.lib by accident

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

25 years agoCheck to make sure the context is valid and return an error if it
Theodore Tso [Fri, 12 Mar 1999 20:33:28 +0000 (20:33 +0000)]
Check to make sure the context is valid and return an error if it
isn't.

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

25 years agoSample the ccdefault name at the time when we create the context.
Theodore Tso [Fri, 12 Mar 1999 20:32:45 +0000 (20:32 +0000)]
Sample the ccdefault name at the time when we create the context.
Free the ccdefault name when we free the os context.

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

25 years agoAdd definition for GSS_DLLIMP for non-Windows platforms
Theodore Tso [Fri, 12 Mar 1999 20:22:27 +0000 (20:22 +0000)]
Add definition for GSS_DLLIMP for non-Windows platforms

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

25 years ago * ftpd.c (user): Remove extra "%s" in call to sprintf() to avoid
Tom Yu [Fri, 12 Mar 1999 12:35:56 +0000 (12:35 +0000)]
* ftpd.c (user): Remove extra "%s" in call to sprintf() to avoid
dereferencing stack garbage.

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

25 years agoUpdated for 1.1b9
Miro Jurisic [Fri, 12 Mar 1999 03:38:46 +0000 (03:38 +0000)]
Updated for 1.1b9

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

25 years agoset_ccache.c (gss_krb5_ccache_name): Added new Krb5 specific interface
Theodore Tso [Fri, 12 Mar 1999 00:16:47 +0000 (00:16 +0000)]
set_ccache.c (gss_krb5_ccache_name): Added new Krb5 specific interface
to set the default credentials cache name.

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

25 years agoChange K5_OUTPUT_FILES to be K5_AC_OUTPUT
Theodore Tso [Fri, 12 Mar 1999 00:05:14 +0000 (00:05 +0000)]
Change K5_OUTPUT_FILES to be K5_AC_OUTPUT

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

25 years agowindows.in (DLL_FILE_DEF): Add makefile controls to set either
Theodore Tso [Fri, 12 Mar 1999 00:04:10 +0000 (00:04 +0000)]
windows.in (DLL_FILE_DEF): Add makefile controls to set either
KRB5_DLL_FILE or GSS_DLL_FILE, with the default being
KRB5_DLL_FILE.

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

25 years agowin-mac.h: Define GSS_DLLIMP to be __declspec(dllimport) or
Theodore Tso [Fri, 12 Mar 1999 00:03:04 +0000 (00:03 +0000)]
win-mac.h: Define GSS_DLLIMP to be __declspec(dllimport) or
__declspec(dllexport) depending on whether GSS_DLL_FILE is defined.

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

25 years agoMakefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
Theodore Tso [Fri, 12 Mar 1999 00:01:04 +0000 (00:01 +0000)]
Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
building object files for the GSSAPI DLL.

gssapi.hin, gssapi_generic.c: Change use of KRB5_DLLIMP to be GSS_DLLIMP.

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

25 years agoMakefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
Theodore Tso [Fri, 12 Mar 1999 00:00:22 +0000 (00:00 +0000)]
Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
building object files for the GSSAPI DLL.

krb5_gss_glue.c: Change use of KRB5_DLLIMP to be GSS_DLLIMP.

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

25 years agoMakefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
Theodore Tso [Thu, 11 Mar 1999 23:58:37 +0000 (23:58 +0000)]
Makefile.in (DLL_FILE_DEF): Tell the Makefile template that we are
building object files for the GSSAPI DLL.

g_acquire_cred.c, g_oid_ops.c: Change use of KRB5_DLLIMP to be
GSS_DLLIMP.

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