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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Miro Jurisic [Thu, 11 Mar 1999 21:18:47 +0000 (21:18 +0000)]
Added modification counter
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11259
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Thu, 11 Mar 1999 21:17:41 +0000 (21:17 +0000)]
Updated to 2.0b3
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11258
dc483132-0cff-0310-8789-
dd5450dbe970
Scott McGuire [Wed, 10 Mar 1999 20:14:14 +0000 (20:14 +0000)]
Added function krb5_free_cc_cred_union(), a local version of cc_free_creds() to free cred_unions allocated by Kerb5 library. Removed mac-only sys_alloc() stuff and go back to malloc()
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11256
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 9 Mar 1999 05:11:18 +0000 (05:11 +0000)]
* ftpd.M: Resync with reality
* Makefile.in (ftpd): Add libpty to link line. Remove mention of
logwtmp files.
* ftpd.c: Fix up hostname logging to use
pty_make_sane_hostname().
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11253
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 9 Mar 1999 03:58:24 +0000 (03:58 +0000)]
add PR number to log
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11251
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 9 Mar 1999 03:41:29 +0000 (03:41 +0000)]
* sendauth.c (krb5_sendauth): Set credspout to NULL if it's
destined to be returned to avoid freeing it. Also,
unconditionally free credspout if it's non-NULL so that if someone
doesn't pass in a ticket and doesn't give us a non-NULL out_creds,
we don't leak it. [krb5-libs/699]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11249
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 9 Mar 1999 00:23:38 +0000 (00:23 +0000)]
* kshd.M: Resync manpage
* krshd.c: Rework hostname logging.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11247
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 9 Mar 1999 00:11:17 +0000 (00:11 +0000)]
* profile.hin: Fix prototype of profile_flush() to use long rather
than errcode_t to avoid breaking other stuff that includes
profile.h.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11246
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Mon, 8 Mar 1999 19:45:10 +0000 (19:45 +0000)]
* prof_tree.c (profile_node_iterator): Fix bug where it will loop
endlessly when searching an empty section.
* test_profile.c: Add code so that the "add" code will interpret
"NULL" as calling profile_add_relation with a null pointer
for the value.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11245
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 4 Mar 1999 23:48:15 +0000 (23:48 +0000)]
* heuristic.c (get_authorized_princ_names): Fix to not call
list_union() if cmd is NULL, otherwise freed memory gets
referenced.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11239
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 3 Mar 1999 23:25:33 +0000 (23:25 +0000)]
prof_file.c (profile_flush_file): On the Macintosh, fopen() doesn't
set errno when fopen fails to open a file. Work around this by
setting errno to PROF_FAIL_OPEN in this case.
prof_err.et: Add new error code PROF_FAIL_OPEN.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11238
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 3 Mar 1999 04:56:15 +0000 (04:56 +0000)]
test_profile.c: Added ability to test profile set functions, and in a
batch mode.
prof_init.c (profile_flush): Add new public function for flushing
changes made to the profile.
prof_parse.c (profile_write_tree_file): Add official internal function
for flushing out a profile tree to a FILE *.
configure.in, prof_file.c (rw_access): Add new function which checks
to see whether we have read/write access, and emulate this for losing
non-POSIX OS's.
prof_file.c (profile_flush_file): Add support for writing modified
profile file's. Call profile_flush_file from profile_close_file().
Also fixed minor bugs in prof_tree.c which affected renaming sections and
modifying existing relations.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11237
dc483132-0cff-0310-8789-
dd5450dbe970
Theodore Tso [Wed, 3 Mar 1999 01:26:15 +0000 (01:26 +0000)]
prof_tree.c: Add new functions profile_get_node_name,
profile_get_node_value, profile_find_node, profile_remove_node,
profile_set_relation_value, profile_rename_node. Rewrite
profile_find_node_relation and profile_find_node_subsection in terms
of profile_find_node.
prof_set.c, Makefile.in: Add a new file which exports the public
interfaces for setting profile entries.
prof_get.c, prof_init.c, prof_int.h: Add the KRB5_DLLIMP and
KRB5_CALLCONV to all of the various profile routines so they can be
properly exported via a Windows DLL.
prof_int.h: Add definition for the flags in the profile structure.
prof_err.et: Add new error codes PROF_SET_SECTION_VALUE, PROF_EINVAL,
PROF_READ_ONLY, and PROF_EXISTS.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11236
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 2 Mar 1999 02:26:22 +0000 (02:26 +0000)]
* ovsec_kadmd.c (log_badverf): Actually make a real lookup table
for procedure numbers. Also, if we don't find the procedure
number, just log the number rather than falling off the end of an
array.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11234
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Mon, 1 Mar 1999 20:29:19 +0000 (20:29 +0000)]
68K builds are back; updated to CCacahe 2.0b2; upped to 1.1b8
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11233
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Mon, 1 Mar 1999 20:28:02 +0000 (20:28 +0000)]
Updated to 2.0b2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11232
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 26 Feb 1999 04:35:09 +0000 (04:35 +0000)]
* ftpd.c (reply): Don't call secure_gss_error() or secure_error()
from within reply() to avoid setting up an infinite
loop. [krb5-appl/684]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11230
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 26 Feb 1999 04:15:45 +0000 (04:15 +0000)]
* secure.c (secure_putbuf): Revert Sam's last change; if
FUDGE_FACTOR is wrong, then badness can happen. Also, if
out_buf.length != nbytes+FUDGE_FACTOR, heap corruption could
happen. We really should be using gss_wrap_size_limit() or
something like that, but doing so would require substantial
amounts of reworking. [krb5-appl/685]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11228
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 26 Feb 1999 01:24:45 +0000 (01:24 +0000)]
Fixed missing Mac#include
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11227
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 26 Feb 1999 01:22:49 +0000 (01:22 +0000)]
Added missing includes and pragmas for 68K
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11226
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 26 Feb 1999 01:21:59 +0000 (01:21 +0000)]
CFM68K builds are back
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11225
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 25 Feb 1999 01:12:46 +0000 (01:12 +0000)]
* telnetd.8: Resync manpage
* telnetd.c: Rework flags controlling hostname logging.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11222
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Thu, 25 Feb 1999 01:06:42 +0000 (01:06 +0000)]
* klogind.M: Resync manpage
* krlogind.c: Rework flags for hostname logging.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11220
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Thu, 25 Feb 1999 00:20:03 +0000 (00:20 +0000)]
Updated to 1.1b7
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11219
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Thu, 25 Feb 1999 00:18:25 +0000 (00:18 +0000)]
Fixed clean target and added template target
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11218
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Thu, 25 Feb 1999 00:17:17 +0000 (00:17 +0000)]
Establiched agreement on what buffer sizes are tajen and returned
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11217
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Thu, 25 Feb 1999 00:15:23 +0000 (00:15 +0000)]
Updated to CCache 2.0b1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11216
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Wed, 24 Feb 1999 07:08:19 +0000 (07:08 +0000)]
Fixed confusio nbetween CCAPI v1 and v2; fixed fragment names for globalslib; added -sharedata to globals lib
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11215
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Tue, 23 Feb 1999 23:53:47 +0000 (23:53 +0000)]
Fixed debug vs. non-debug mistakes in GSSLib and globals lib
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11214
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 23 Feb 1999 03:51:39 +0000 (03:51 +0000)]
* kcmd.c (k4cmd): Move call to krb_realmofhost() to avoid smashing
hp.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11213
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Tue, 23 Feb 1999 03:28:28 +0000 (03:28 +0000)]
* kcmd.c (kcmd): Fix up to not call sname_to_principal until after
all the addresses in hp have been iterated through to avoid
smashing. [krb5-appl/516]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11211
dc483132-0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 22 Feb 1999 23:28:29 +0000 (23:28 +0000)]
* telnetd.8: Document hostname logging changes
* telnetd.c: Add options to control logging of remote hostname to
login(1).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11208
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Sat, 20 Feb 1999 03:21:24 +0000 (03:21 +0000)]
Renamed globals lib fragments
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11207
dc483132-0cff-0310-8789-
dd5450dbe970