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]
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]
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].
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]
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]
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)
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.
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().
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.
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().
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.
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).
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()
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]
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.
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.
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.
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.
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]