]> git.ipfire.org Git - thirdparty/krb5.git/log
thirdparty/krb5.git
25 years agopullups from 1.2 krb5-1.0
Tom Yu [Mon, 22 May 2000 23:01:48 +0000 (23:01 +0000)] 
pullups from 1.2

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@12304 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoksu fixes from trunk
Ken Raeburn [Wed, 9 Feb 2000 02:45:27 +0000 (02:45 +0000)] 
ksu fixes from trunk

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@12028 dc483132-0cff-0310-8789-dd5450dbe970

25 years agotime parsing/formatting updates from trunk
Ken Raeburn [Thu, 3 Feb 2000 05:41:33 +0000 (05:41 +0000)] 
time parsing/formatting updates from trunk

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11989 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoY2K fixes for some test cases
Ken Raeburn [Thu, 3 Feb 2000 05:39:34 +0000 (05:39 +0000)] 
Y2K fixes for some test cases

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11988 dc483132-0cff-0310-8789-dd5450dbe970

25 years agoThis commit was manufactured by cvs2svn to create branch 'V1_0_BRANCH'
no author [Mon, 6 Dec 1999 21:57:03 +0000 (21:57 +0000)] 
This commit was manufactured by cvs2svn to create branch 'V1_0_BRANCH'

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11953 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * kdc_util.c (kdc_process_tgs_req): If not using the reply cache,
Tom Yu [Sun, 2 May 1999 22:58:37 +0000 (22:58 +0000)] 
* kdc_util.c (kdc_process_tgs_req): If not using the reply cache,
properly handle a failure return from
krb5_rd_req_decode_anyflag().
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11420 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * configure.in: Fix to define HAVE_SETUPTERM instead of
Tom Yu [Fri, 30 Apr 1999 19:24:32 +0000 (19:24 +0000)] 
* configure.in: Fix to define HAVE_SETUPTERM instead of
HAS_SETUPTERM (due to merge botch).

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11415 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * configure.in: Check for setupterm() in libncurses in addition to
Tom Yu [Tue, 27 Apr 1999 02:02:56 +0000 (02:02 +0000)] 
* configure.in: Check for setupterm() in libncurses in addition to
libcurses.  (Will be needed for Linux/Redhat 6.0)

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11396 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * update_utmp.c (pty_update_utmp): utx.ut_pid is a pid_t, and
Tom Yu [Sat, 24 Apr 1999 03:17:04 +0000 (03:17 +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>.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11395 dc483132-0cff-0310-8789-dd5450dbe970

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

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11393 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * update_wtmp.c: Don't use updwtmpx() even if it exists for glibc
Tom Yu [Fri, 23 Apr 1999 20:03:22 +0000 (20:03 +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.)
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11391 dc483132-0cff-0310-8789-dd5450dbe970

26 years agowrap_size_limit.c (krb5_gss_wrap_size_limit): Fix wrap_size limit so
Theodore Tso [Fri, 23 Apr 1999 04:39:55 +0000 (04:39 +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/branches/V1_0_BRANCH@11381 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * t_imp_name.c: Initialize display_file variable in main(),
Tom Yu [Thu, 22 Apr 1999 00:18:35 +0000 (00:18 +0000)] 
* t_imp_name.c: Initialize display_file variable in main(),
instead of using a static initializer.  (Needed for
Linux/glibc 2.1)
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11379 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * svc.c (svc_getreq, svc_getreqset): Avoid using internal, private
Tom Yu [Thu, 22 Apr 1999 00:17:03 +0000 (00:17 +0000)] 
* svc.c (svc_getreq, svc_getreqset): Avoid using internal, private
fd_set structure elements (Needed for Linux/glibc 2.1)
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11378 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * configure.in: Check for setupterm() in libncurses in addition to
Tom Yu [Wed, 21 Apr 1999 19:37:15 +0000 (19:37 +0000)] 
* configure.in: Check for setupterm() in libncurses in addition to
libcurses.  Only set STREAMSPTY if both grantpt and
sys/streams.h exists.  (Will be needed for Linux/Redhat 6.0)
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11370 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * configure.in: Check to see if we need to pull in the util
Tom Yu [Wed, 21 Apr 1999 19:32:51 +0000 (19:32 +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.)
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11369 dc483132-0cff-0310-8789-dd5450dbe970

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

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11364 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * cleanup.c (pty_cleanup): Temporary hack to not call revoke()
Tom Yu [Wed, 31 Mar 1999 22:12:50 +0000 (22:12 +0000)] 
* cleanup.c (pty_cleanup): Temporary hack to not call revoke()
under AIX.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11337 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt
Tom Yu [Wed, 31 Mar 1999 05:08:36 +0000 (05:08 +0000)] 
* sys_term.c (getptyslave): Under AIX, ignore I_PUSH pckt
failure.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11330 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * termios-tn.c: Include termio.h under AIX due to brokenness.
Tom Yu [Wed, 31 Mar 1999 05:03:49 +0000 (05:03 +0000)] 
* termios-tn.c: Include termio.h under AIX due to brokenness.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11328 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * Makefile.in (KLIB): -lcom_err, not $(COMERRLIB)
Tom Yu [Wed, 31 Mar 1999 03:31:20 +0000 (03:31 +0000)] 
* Makefile.in (KLIB): -lcom_err, not $(COMERRLIB)

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11326 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * login.c (dolastlog): BSD 4.4 systems don't have lastlog.h, but
Tom Yu [Mon, 29 Mar 1999 19:57:01 +0000 (19:57 +0000)] 
* login.c (dolastlog): BSD 4.4 systems don't have lastlog.h, but
still define struct lastlog somewhere.  Included from Dima
Ruban's FreeBSD patches.

* krlogin.c: Include sys/ioctl_compat.h if it is present (instead
of just for 386BSD).

* loginpaths.h (LPATH): If the OS provides _PATH_DEFPATH, use it
to define LPATH and RPATH.

* login.c: #include paths.h if present, and use it to set the
pathnames for certain common files.

* configure.in (withval): Check for <sys/ioctl_compat.h> and
   <paths.h>

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11325 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * update_wtmp.c: Define WTMPX_FILE to be _PATH_WTMPX in case we're
Tom Yu [Sun, 28 Mar 1999 22:53:27 +0000 (22:53 +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.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11324 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * update_utmp.c (pty_update_utmp): If the ut_exit differs test
Tom Yu [Sun, 28 Mar 1999 21:56:03 +0000 (21:56 +0000)] 
* update_utmp.c (pty_update_utmp): If the ut_exit differs test
indicates the structures differ, and we don't have a special case,
do nothing rather than trying to copy the field.  It's not worth
breaking the build over.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11322 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago[ Pullup to 1.0 branch]
Theodore Tso [Sat, 27 Mar 1999 03:51:24 +0000 (03:51 +0000)] 
[ Pullup to 1.0 branch]

acquire_cred.c (krb5_gss_acquire_cred): Don't use strcmp to compare
against principal components (they aren't null terminated!)

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

gssapi_krb5.c, gssapi_krb5.h: Export the oid of static arrays as
krb5_gss_oid_array since it's needed by gss_import_sec_context.

import_sec_context.c: Fix up the OID of the mechanism in the imported
security context so that we use the static OID if at all possible.
This is needed since gss_inquire_context() must return a static OID.

inq_names.c (krb5_gss_inquire_names_for_mech): Add the the new OID
value for the host-based service name and the exported name OID to the
list of OID's supported by this mechanism.

import_name.c (krb5_gss_import_name): Add support for the new OID
value for the host-based service name.

krb5_gss_glue.c: Add GSSAPI V2 calls to the glue layer.

import_name.c (krb5_gss_import_name): Add support for importing the
exported name call

Makefile.in: Add canon_name.c, duplicate_name.c, export_name.c to the
GSSAPI library.

canon_name.c (krb5_gss_canonicalize_name): New GSSAPI V2 function

duplicate_name.c (krb5_gss_duplicate_name): New GSSAPI V2 function

export_name.c (krb5_gss_export_name): New GSSAPI V2 function

gssapiP_krb5.h (KG_IMPLFLAGS): Add support for GSS_C_PROT_STATE_READY
and GSS_C_TRANS_FLAG

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11319 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago[ Pullup from mainline ]
Theodore Tso [Sat, 27 Mar 1999 03:16:01 +0000 (03:16 +0000)] 
[ Pullup from mainline ]

util_buffer.c (g_make_string_buffer): Don't include the trailing NULL
of the string in the gss buffer's length.

util_ordering.c (g_order_free):
rel_oid_set.c (generic_gss_release_oid_set):
disp_major_status.c: General lint cleanup.

util_oid.c (g_copy_OID_set): Copy the OID set with entirely dynamic
memory (don't alias the contents of the OID set).

disp_major_status.c (g_display_major_status): Fix a typo in previous.

disp_major_status.c (display_unknown): Change to not return
GSS_S_CONTINUE_NEEDED, per the standard C bindings specification.

gssapi_generic.c: Add support for the new OID value for host-based
service name.

gssapi_generic.c, gssapi_generic.h: Added definition for the generic
gsspi OID type "gss_nt_exported_name".

gssapi.hin: Add the GSS_C_PROT_READY_FLAG and GSS_C_TRANS_FLAG Add
prototypes for the V2 functions gss_export_name(),
gss_duplicate_name(), and gss_canonicalize_name().

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11318 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftpd.c (login): Check that the luid is not the uid we want to
Tom Yu [Fri, 26 Mar 1999 04:16:56 +0000 (04:16 +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.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11317 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not
Tom Yu [Thu, 25 Mar 1999 23:50:48 +0000 (23:50 +0000)] 
* promptusr.c (krb5_os_get_tty_uio): getchar() returns int, not
char.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11313 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * t_ref_kerb.out: Fix test case for zephyr principal to reflect
Tom Yu [Thu, 25 Mar 1999 20:23:50 +0000 (20:23 +0000)] 
* t_ref_kerb.out: Fix test case for zephyr principal to reflect
  addition to conv_princ.c
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11311 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * gssftp.exp: Replace "else if" with "elseif" as expect 5.25
Tom Yu [Thu, 25 Mar 1999 20:21:32 +0000 (20:21 +0000)] 
* gssftp.exp: Replace "else if" with "elseif" as expect 5.25
  requires it. [krb5-misc/487]
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11310 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * configure.in: Check for sys/sockio.h
Tom Yu [Wed, 24 Mar 1999 22:23:11 +0000 (22:23 +0000)] 
* configure.in: Check for sys/sockio.h

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11309 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftpcmd.y (urgsafe_getc): New function; like getc() except it
Tom Yu [Wed, 24 Mar 1999 22:22:36 +0000 (22:22 +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().
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11308 dc483132-0cff-0310-8789-dd5450dbe970

26 years agofix previous
Tom Yu [Mon, 22 Mar 1999 23:00:49 +0000 (23:00 +0000)] 
fix previous

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11297 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * g_cnffile.c: Use krb5__krb4_context instead of init'ing and
Tom Yu [Mon, 22 Mar 1999 22:01:11 +0000 (22:01 +0000)] 
* g_cnffile.c: Use krb5__krb4_context instead of init'ing and
free'ing a krb5_context each time we need to read data
from the configuration file.  We also define
krb5__krb4_context in g_cnnfile.c, since it's a likely
that any use of the krb4 library will pull in that file.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11296 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * Makefile.in (kshd): Add $(LOGINLIBS).
Tom Yu [Sat, 13 Mar 1999 00:03:58 +0000 (00:03 +0000)] 
* Makefile.in (kshd): Add $(LOGINLIBS).
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11279 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * main.c (main): Fix cleanup code for setluid() failure.
Tom Yu [Fri, 12 Mar 1999 23:54:14 +0000 (23:54 +0000)] 
* main.c (main): Fix cleanup code for setluid() failure.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11277 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * mkrel: Update from trunk
Tom Yu [Fri, 12 Mar 1999 20:29:31 +0000 (20:29 +0000)] 
* mkrel: Update from trunk

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11270 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * Makefile.in (SHLIB_LIBS): Remove -ldb to avoid HP/UX build
Tom Yu [Thu, 11 Mar 1999 01:41:49 +0000 (01:41 +0000)] 
* Makefile.in (SHLIB_LIBS): Remove -ldb to avoid HP/UX build
problems.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11257 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * aclocal.m4 (enable_shared): Fix quoting bug that breaks shared
Tom Yu [Wed, 10 Mar 1999 05:11:27 +0000 (05:11 +0000)] 
* aclocal.m4 (enable_shared): Fix quoting bug that breaks shared
libs under HP/UX among others.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11255 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftpd.M: Resync with reality
Tom Yu [Tue, 9 Mar 1999 05:21:40 +0000 (05:21 +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/branches/V1_0_BRANCH@11254 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoadd PR number to log
Tom Yu [Tue, 9 Mar 1999 03:59:00 +0000 (03:59 +0000)] 
add PR number to log

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11252 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * sendauth.c (krb5_sendauth): Set credspout to NULL if it's
Tom Yu [Tue, 9 Mar 1999 03:42:46 +0000 (03:42 +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]
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11250 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * kshd.M: Resync manpage
Tom Yu [Tue, 9 Mar 1999 00:27:32 +0000 (00:27 +0000)] 
* kshd.M: Resync manpage

* krshd.c: Rework hostname logging.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11248 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * replay.c (kdc_check_lookaside):
Tom Yu [Fri, 5 Mar 1999 22:00:51 +0000 (22:00 +0000)] 
* replay.c (kdc_check_lookaside):
(kdc_insert_lookaside): Add code to originating address of packet,
  as krb4 initial ticket requests don't contain an address.  This
  would cause a subtle problem wherein two simultaneous krb4 initial
  ticket requests for the same principal originating from different
  addresses would result in both replies containing the same
address.

* kdc_util.h: Modify prototype for lookaside functions.

* dispatch.c (dispatch): Update to new calling conventions of the
lookaside functions.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11244 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * kdc_util.c:
Tom Yu [Fri, 5 Mar 1999 21:54:24 +0000 (21:54 +0000)] 
* kdc_util.c:
* main.c: Don't use an rcache.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11243 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * krshd.c (doit): Apply ghudson's patch so that rshd passes the
Tom Yu [Fri, 5 Mar 1999 03:46:17 +0000 (03:46 +0000)] 
* krshd.c (doit): Apply ghudson's patch so that rshd passes the
port numbers for the local and foreign addresses so that
the V4 encrypted RCP will work correctly.  [krb5-appl/638]
* v4rcp.c (answer_auth): Apply ghudson's patch so that if
KRB5LOCALPORT and KRB5REMOTEPORT are set, use them to set
the foreign and local ports so that encrypted rcp for the
same machine.  [krb5-appl/638]
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11242 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * krb5.tex (krb5_mk_safe): Fix reference to a non-existent flag.
Tom Yu [Fri, 5 Mar 1999 03:17:49 +0000 (03:17 +0000)] 
* krb5.tex (krb5_mk_safe): Fix reference to a non-existent flag.
(KRB5_AUTH_CONTEXT_DO_TIME_NOTIME should have been
KRB5_AUTH_CONTEXT_DO_TIME).  [krb5-doc/528]
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11241 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * heuristic.c (get_authorized_princ_names): Fix to not call
Tom Yu [Thu, 4 Mar 1999 23:49:37 +0000 (23:49 +0000)] 
* heuristic.c (get_authorized_princ_names): Fix to not call
list_union() if cmd is NULL, otherwise freed memory gets
referenced.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11240 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ovsec_kadmd.c (log_badverf): Actually make a real lookup table
Tom Yu [Tue, 2 Mar 1999 02:28:31 +0000 (02:28 +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.
[pullup from trunk and slightly backported]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11235 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftpd.c (reply): Don't call secure_gss_error() or secure_error()
Tom Yu [Fri, 26 Feb 1999 04:40:56 +0000 (04:40 +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]
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11231 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * secure.c (secure_putbuf): Revert Sam's last change; if
Tom Yu [Fri, 26 Feb 1999 04:17:45 +0000 (04:17 +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]
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11229 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * tf_util.c (tf_init): Add call to getuid() to initialize me
Tom Yu [Thu, 25 Feb 1999 23:57:08 +0000 (23:57 +0000)] 
* tf_util.c (tf_init): Add call to getuid() to initialize me

* tf_util.c (tf_init): Fixed a potential race condition in the opening
of v4 ticket files. tf_init() was calling lstat() followed by fopen().
Now it calls fopen() and then calls lstat() and fstat() to check file
ownership and to check that it opened the file it thought it did. I
patched the shared memory code similarly, but since nothing uses it I
don't have a good way to test it properly.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11224 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * telnetd.8: Resync manpage
Tom Yu [Thu, 25 Feb 1999 01:13:59 +0000 (01:13 +0000)] 
* telnetd.8: Resync manpage

* telnetd.c: Rework flags controlling hostname logging.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11223 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * klogind.M: Resync manpage
Tom Yu [Thu, 25 Feb 1999 01:09:32 +0000 (01:09 +0000)] 
* klogind.M: Resync manpage

* krlogind.c: Rework flags for hostname logging.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11221 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * kcmd.c (kcmd): Fix up to not call sname_to_principal until after
Tom Yu [Tue, 23 Feb 1999 03:36:38 +0000 (03:36 +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]
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11212 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * configure.in: Actually AC_SUBST(KSU_LIBS)
Tom Yu [Tue, 23 Feb 1999 00:17:41 +0000 (00:17 +0000)] 
* configure.in: Actually AC_SUBST(KSU_LIBS)

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11210 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * telnetd.8: Document hostname logging changes
Tom Yu [Mon, 22 Feb 1999 23:30:55 +0000 (23:30 +0000)] 
* telnetd.8: Document hostname logging changes

* telnetd.c: Add options to control logging of remote hostname to
login(1).
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11209 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix to round down
Tom Yu [Sat, 20 Feb 1999 03:08:44 +0000 (03:08 +0000)] 
* wrap_size_limit.c (krb5_gss_wrap_size_limit): Fix to round down
by 8 even if the req_output_size-ohlen is a multiple of 8, since
the wrap token is always padded regardless of whether it's a
mutiple of 8 bytes.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11206 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftpcmd.y (cmd): Don't allow the PORT command to accept a port
Tom Yu [Sat, 20 Feb 1999 02:34:19 +0000 (02:34 +0000)] 
* ftpcmd.y (cmd): Don't allow the PORT command to accept a port
number lower than 1024; this prevents some nasty ftp
"bounce attacks" to SMTP ports, etc.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11205 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * cmds.c (getit): Fix Y2K bug in the parsing of the MDTM command.
Tom Yu [Sat, 20 Feb 1999 02:26:23 +0000 (02:26 +0000)] 
* cmds.c (getit): Fix Y2K bug in the parsing of the MDTM command.
[krb5-appl/399]

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11204 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * Makefile.in (ksu): Add $(KSU_LIBS)
Tom Yu [Fri, 19 Feb 1999 03:34:58 +0000 (03:34 +0000)] 
* Makefile.in (ksu): Add $(KSU_LIBS)

* configure.in: Add check for setluid().

* main.c (main): Add call to setluid() on systems that have it.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11188 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * configure.in: Add check for setluid() in libsecurity
Tom Yu [Fri, 19 Feb 1999 02:40:43 +0000 (02:40 +0000)] 
* configure.in: Add check for setluid() in libsecurity

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11185 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftpd.c (login): Add call to setluid() if necessary
Tom Yu [Fri, 19 Feb 1999 02:37:12 +0000 (02:37 +0000)] 
* ftpd.c (login): Add call to setluid() if necessary

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11184 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * sane_hostname.c (pty_make_sane_hostname): Remove unused
Tom Yu [Thu, 18 Feb 1999 01:01:10 +0000 (01:01 +0000)] 
* sane_hostname.c (pty_make_sane_hostname): Remove unused
"char *scratch".

* sane_hostname.c: Re-order so that pty-int.h precedes libpty.h to
prevent conflicting definitions of struct sockaddr_in

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11179 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * klogind.M: Document things a little better, including new
Tom Yu [Thu, 18 Feb 1999 00:47:13 +0000 (00:47 +0000)] 
* klogind.M: Document things a little better, including new
options controlling hostname manipulation.

* krlogind.c: Make use of pty_make_sane_hostname() for purposes of
manipulating hostname to pass to login.  Also unconditionally
syslog IP address and full hostname of remote host.  Add command
line options to control such behavior.

* configure.in: Add arpa/nameser.h to CHECK_HEADERS.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11177 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftpd.c: strcat -> strncat
Tom Yu [Sat, 13 Feb 1999 02:16:52 +0000 (02:16 +0000)] 
* ftpd.c: strcat -> strncat

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11173 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFix so that it uses passed-in filename instead of the hard-coded to
Theodore Tso [Fri, 12 Feb 1999 15:21:56 +0000 (15:21 +0000)] 
Fix so that it uses passed-in filename instead of the hard-coded to
/etc/environment.  [krb5-appl/691]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11171 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * sane_hostname.c: Force maxlen to be 16 if it's less than 16,
Tom Yu [Fri, 12 Feb 1999 04:11:48 +0000 (04:11 +0000)] 
* sane_hostname.c: Force maxlen to be 16 if it's less than 16,
since otherwise a numeric IP address won't fit.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11170 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * Makefile.in: Add sane_hostname.{o,c}
Tom Yu [Fri, 12 Feb 1999 03:36:58 +0000 (03:36 +0000)] 
* Makefile.in: Add sane_hostname.{o,c}

* libpty.h: Add prototype for make_sane_hostname.

* sane_hostname.c: New file; add function to "sanitize" hostname
for logging purposes.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11167 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoThis commit was manufactured by cvs2svn to create branch 'V1_0_BRANCH'
no author [Fri, 12 Feb 1999 03:36:58 +0000 (03:36 +0000)] 
This commit was manufactured by cvs2svn to create branch 'V1_0_BRANCH'

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11166 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * conv_princ.c: Add additional commonly seen Kerberos V4 services
Tom Yu [Sun, 7 Feb 1999 00:52:01 +0000 (00:52 +0000)] 
* conv_princ.c: Add additional commonly seen Kerberos V4 services
to the hard-coded list.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11150 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoauth.c (auth_send): Increase size of buf so we can handle mongo-gram
Theodore Tso [Thu, 4 Feb 1999 04:51:03 +0000 (04:51 +0000)] 
auth.c (auth_send): Increase size of buf so we can handle mongo-gram
sized tickets from Microsoft.  [telnet/686]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11147 dc483132-0cff-0310-8789-dd5450dbe970

26 years agostate.c: Increase size of subbufer so that we don't truncate
Theodore Tso [Thu, 4 Feb 1999 04:49:12 +0000 (04:49 +0000)] 
state.c: Increase size of subbufer so that we don't truncate
mongo-gram tickets from Microsoft.  [telnet/688]

Pull-up from mainline.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11146 dc483132-0cff-0310-8789-dd5450dbe970

26 years agokerberos5.c: Increase size of str_data so that we can accept
Theodore Tso [Thu, 4 Feb 1999 04:48:44 +0000 (04:48 +0000)] 
kerberos5.c: Increase size of str_data so that we can accept
mongo-gram tickets from Microsoft.  [telnet/686]

Pull-up from mainline.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11145 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * recvauth.c (krb5_recvauth): Add some bookkeeping flags so we
Tom Yu [Tue, 2 Feb 1999 04:16:06 +0000 (04:16 +0000)] 
* recvauth.c (krb5_recvauth): Add some bookkeeping flags so we
know how much stuff to free upon cleanup.  Fix the up cleanup
code.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11138 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * login.c (main): Call setluid()
Tom Yu [Thu, 21 Jan 1999 02:45:09 +0000 (02:45 +0000)] 
* login.c (main): Call setluid()

* krshd.c (doit): Call setluid().

* configure.in: Check for setluid() rather than main() in
libsecurity.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11112 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * asn1_k_decode.c (asn1_decode_krb5_flags): Fix previous to
Tom Yu [Fri, 4 Dec 1998 03:22:10 +0000 (03:22 +0000)] 
* asn1_k_decode.c (asn1_decode_krb5_flags): Fix previous to
properly left-justify bit strings less than 32 bits.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11058 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * asn1_k_decode.c (asn1_decode_krb5_flags): Modify to deal with
Tom Yu [Fri, 4 Dec 1998 00:45:04 +0000 (00:45 +0000)] 
* asn1_k_decode.c (asn1_decode_krb5_flags): Modify to deal with
BIT STRING values that are not exactly 32 bits.  Throw away bits
beyond number 31 in a bit string for now.  Deal with masking out
unused bits.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11056 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftp.c (login): Unconditionally send password as PROT_P
Tom Yu [Wed, 2 Dec 1998 00:40:41 +0000 (00:40 +0000)] 
* ftp.c (login): Unconditionally send password as PROT_P

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11054 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * asn1buf.c (asn1buf_sync): interoperation testing against heimdal
Tom Yu [Wed, 2 Dec 1998 00:23:32 +0000 (00:23 +0000)] 
* asn1buf.c (asn1buf_sync): interoperation testing against heimdal
revealed a bug.  if extra fields are present in a SEQUENCE, they
are not ignored and skipped.  This caused the decoder to get out
of sync.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11052 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoFix file descriptor leak by adding missing close() call
Theodore Tso [Sat, 7 Nov 1998 06:37:31 +0000 (06:37 +0000)] 
Fix file descriptor leak by adding missing close() call

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@11021 dc483132-0cff-0310-8789-dd5450dbe970

26 years agoback out some bogus pullups
Tom Yu [Fri, 11 Sep 1998 17:59:24 +0000 (17:59 +0000)] 
back out some bogus pullups

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10918 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * prof_tree.c (profile_delete_node_relation): Fix bug where
Tom Yu [Fri, 11 Sep 1998 16:27:14 +0000 (16:27 +0000)] 
* prof_tree.c (profile_delete_node_relation): Fix bug where
deleting a node would corrupt the linked list.
(profile_add_node): Fix another linked list corruption
problem where an insertion into the middle of the linked
list didn't update a previous link.  [krb5-libs/615]
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10917 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * ftp.c (getreply): Restore proper setting of safe. This variable
Tom Yu [Fri, 11 Sep 1998 16:00:47 +0000 (16:00 +0000)] 
* ftp.c (getreply): Restore proper setting of safe.  This variable
was previously being set to the value of code rather than to the
boolean expression (code == 631), which it had been previously.
The bug resulted in all replies from the server being parsed as
krb_safe messages even when they were krb_priv messages.
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10916 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * krcp.c (error): Don't call rcmd_stream_write if iamremote is not
Tom Yu [Fri, 11 Sep 1998 15:49:07 +0000 (15:49 +0000)] 
* krcp.c (error): Don't call rcmd_stream_write if iamremote is not
  set, because it expects a valid file descriptor [krb5-appl/359].
   Also, remove mistakenly duplicated comment above the function.

* krlogin.c (main): Apply ghudson's patch so that rlogin -a
no longer dumps core. [krb5-appl/612]

* login.c: Replace strcpy with strncpy in places.  Add nul
termination to some existing invocations of strncpy.
[pullups from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10915 dc483132-0cff-0310-8789-dd5450dbe970

26 years ago * chk_trans.c: Fix up previous fix; short-circuit out when
Tom Yu [Thu, 10 Sep 1998 23:29:29 +0000 (23:29 +0000)] 
* chk_trans.c: Fix up previous fix; short-circuit out when
trans->length == 0.

* chk_trans.c (krb5_check_transited_list): Fix use of an
  uninitialized variable; apparently the code was depending
  on the stack garbage being non-zero(!)
[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10914 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * str_conv.c (krb5_timestamp_to_sfstring): Make sure the date
Tom Yu [Sat, 16 May 1998 20:58:05 +0000 (20:58 +0000)] 
* str_conv.c (krb5_timestamp_to_sfstring): Make sure the date
string printed uses 4 digit years.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10573 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * str_conv.c (krb5_string_to_timestamp, strptime): Fix routines to
Tom Yu [Sun, 10 May 1998 03:37:15 +0000 (03:37 +0000)] 
* str_conv.c (krb5_string_to_timestamp, strptime): Fix routines to
be able to properly parse Y2K dates.

* t_kerb.c: Add ability to test krb5_string_to_timestamp

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10565 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * stime.c (krb_stime):
Tom Yu [Sun, 10 May 1998 03:30:03 +0000 (03:30 +0000)] 
* stime.c (krb_stime):
* log.c (krb_new_log, krb_log):
* klog.c (klog): Print the year using 4 digits to avoid Y2K issues.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10564 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * kadm_server.c (krb_log): Print the year using 4 digit to avoid
Tom Yu [Sun, 10 May 1998 03:26:47 +0000 (03:26 +0000)] 
* kadm_server.c (krb_log): Print the year using 4 digit to avoid
Y2K issues.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10563 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * kerberos_v4.c (krb4_stime): Print 4 digit years in Krb4 log
Tom Yu [Sun, 10 May 1998 03:02:55 +0000 (03:02 +0000)] 
* kerberos_v4.c (krb4_stime): Print 4 digit years in Krb4 log
  entries to avoid Y2K issues.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10562 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * ftpcmd.y (cmd): Fix Y2K problem in the MDTM command
Tom Yu [Sun, 10 May 1998 03:01:02 +0000 (03:01 +0000)] 
* ftpcmd.y (cmd): Fix Y2K problem in the MDTM command

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10561 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * get_in_tkt.c: Add prototype for make_preauth_list
Tom Yu [Mon, 4 May 1998 21:26:26 +0000 (21:26 +0000)] 
* get_in_tkt.c: Add prototype for make_preauth_list

* get_in_tkt.c (krb5_get_in_tkt): Add missing argument to call to
make_preauth_list to avoid stack smashing.  Pointed out by lxs.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10546 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * asn1_encode.c (asn1_encode_generaltime): Sanity check the return
Tom Yu [Wed, 22 Apr 1998 02:14:57 +0000 (02:14 +0000)] 
* asn1_encode.c (asn1_encode_generaltime): Sanity check the return
from gmtime() to avoid overruns.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10542 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * asn1_err.et (ASN1_BAD_GMTIME): Add code for case where bad
Tom Yu [Wed, 22 Apr 1998 02:11:19 +0000 (02:11 +0000)] 
* asn1_err.et (ASN1_BAD_GMTIME): Add code for case where bad
values are returned from gmtime().

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10541 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * glob.c (ftpglob): Always allocate new storage, even if no magic
Tom Yu [Wed, 22 Apr 1998 02:07:32 +0000 (02:07 +0000)] 
* glob.c (ftpglob): Always allocate new storage, even if no magic
glob characters were found, because the caller will always free
the storage.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10540 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * configure.in: Add CHECK_SIGNALS and CHECK_SETJMP to help with
Tom Yu [Wed, 22 Apr 1998 00:39:59 +0000 (00:39 +0000)] 
* configure.in: Add CHECK_SIGNALS and CHECK_SETJMP to help with
changes in ftpd.c.

* ftpd.c (receive_data):
(send_data): Add support for sigsetjmp().
(main): Use sigaction() if we can to avoid SysV lossage.
(send_file_list): Oops missed a sigsetjmp() call.
(send_data): Add call to secure_flush() to send a zero length
buffer when aborting.
(send_file_list): Add call to secure_flush() to send a zero length
buffer when aborting.

* ftpcmd.y (PBSZ): Remove restriction on shrinking buffer size.

* ftpcmd.y (getline): Don't syslog passwords! (or newlines)

* ftpcmd.y: Add production "nonguest" to catch things that
anonymous users aren't supposed to do.  Replace "check_login" with
"nonguest" in a few places to prevent w4r3z d00dz from being
lame with world-writable incoming directories.

[pullups from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10538 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * secure.c (secure_putbyte): Set nout = 0 *before* calling
Tom Yu [Wed, 22 Apr 1998 00:38:37 +0000 (00:38 +0000)] 
* secure.c (secure_putbyte): Set nout = 0 *before* calling
  secure_putbuf: if the transfer is aborted, the SIGURG handler will
  longjmp out, so the line after the secure_putbuf will never get
  executed, so nout would never be reset and the next transfer
  would overrun ucbuf.

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10537 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * update_utmp.c (pty_update_utmp): Don't record LOGIN_PROCESS
Tom Yu [Tue, 7 Apr 1998 00:33:24 +0000 (00:33 +0000)] 
* update_utmp.c (pty_update_utmp): Don't record LOGIN_PROCESS
entries, as they confuse last on some systems. [pty/569]

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10523 dc483132-0cff-0310-8789-dd5450dbe970

27 years ago * update_utmp.c (pty_update_utmp): Fix bogus entry of
Tom Yu [Mon, 6 Apr 1998 01:21:11 +0000 (01:21 +0000)] 
* update_utmp.c (pty_update_utmp): Fix bogus entry of
PTY_LOGIN_PROCESS types on BSD-ish systems. [pty/531]

[pullup from trunk]

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/V1_0_BRANCH@10519 dc483132-0cff-0310-8789-dd5450dbe970