krb5.git
26 years ago * asn1_err.et (ASN1_BAD_GMTIME): Add code for case where bad
Tom Yu [Fri, 17 Apr 1998 00:56:36 +0000 (00:56 +0000)]
* asn1_err.et (ASN1_BAD_GMTIME): Add code for case where bad
values are returned from gmtime().

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

26 years ago * Makefile.in (SHLIB_EXPDEPS):
Tom Yu [Wed, 15 Apr 1998 22:14:48 +0000 (22:14 +0000)]
* Makefile.in (SHLIB_EXPDEPS):
(SHLIB_EXPLIBS): Rename libcrypto -> libk5crypto.

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

26 years ago * Makefile.in (LIB): Rename to k5crypto
Tom Yu [Wed, 15 Apr 1998 22:10:17 +0000 (22:10 +0000)]
* Makefile.in (LIB): Rename to k5crypto

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

26 years ago * pre.in (CRYPTO_DEPLIB):
Tom Yu [Wed, 15 Apr 1998 22:09:19 +0000 (22:09 +0000)]
* pre.in (CRYPTO_DEPLIB):
(KRB5_BASE_LIBS):
(KRB4COMPAT_LIBS): Rename; libcrypto -> libk5crypto.

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

26 years ago (send_file_list): Oops missed a sigsetjmp() call.
Tom Yu [Sat, 11 Apr 1998 03:27:10 +0000 (03:27 +0000)]
(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.

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

26 years ago * configure.in: Add CHECK_SETJMP and CHECK_SIGNALS
Tom Yu [Sat, 11 Apr 1998 02:53:00 +0000 (02:53 +0000)]
* configure.in: Add CHECK_SETJMP and CHECK_SIGNALS

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

26 years ago * ftpd.c (receive_data):
Tom Yu [Sat, 11 Apr 1998 02:52:39 +0000 (02:52 +0000)]
* ftpd.c (receive_data):
(send_data): Add support for sigsetjmp().
(main): Use sigaction() if we can to avoid SysV lossage.

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

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

26 years ago * Makefile.in (includes): The header is krb_err.h, not
Tom Yu [Thu, 9 Apr 1998 22:44:44 +0000 (22:44 +0000)]
* Makefile.in (includes): The header is krb_err.h, not
/krb_err.h.

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

26 years ago * secure.c (secure_putbyte): Set nout = 0 *before* calling
Dan Winship [Tue, 7 Apr 1998 21:02:02 +0000 (21:02 +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.

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

26 years ago * Makefile.in (includes): Don't mkdir unless the directory doesn't
Tom Yu [Mon, 6 Apr 1998 23:45:48 +0000 (23:45 +0000)]
* Makefile.in (includes): Don't mkdir unless the directory doesn't
  exist yet.

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

26 years ago * Makefile.in (includes): Don't call mkdir unless the directory
Tom Yu [Mon, 6 Apr 1998 23:44:44 +0000 (23:44 +0000)]
* Makefile.in (includes): Don't call mkdir unless the directory
  exists.

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

26 years ago * update_utmp.c (pty_update_utmp): Don't record LOGIN_PROCESS
Tom Yu [Mon, 6 Apr 1998 23:38:11 +0000 (23:38 +0000)]
* update_utmp.c (pty_update_utmp): Don't record LOGIN_PROCESS
entries, as they confuse last on some systems. [pty/569]

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

26 years ago * g_cnffile.c (krb__get_srvtabname): Fix up to not free context
Tom Yu [Sun, 5 Apr 1998 23:57:09 +0000 (23:57 +0000)]
* g_cnffile.c (krb__get_srvtabname): Fix up to not free context
unless it is valid.

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

26 years ago * disp_major_status.c (g_display_major_status): Fix a typo in
Tom Yu [Wed, 1 Apr 1998 21:35:43 +0000 (21:35 +0000)]
* disp_major_status.c (g_display_major_status): Fix a typo in
previous.

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

26 years agoChange to not return GSS_S_CONTINUE_NEEDED, per the standard C
Theodore Tso [Tue, 31 Mar 1998 19:07:41 +0000 (19:07 +0000)]
Change to not return GSS_S_CONTINUE_NEEDED, per the standard C
bindings specification.

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

26 years ago * klist.c (main): Exit with a 0 exit status if everything okay
Ezra Peisach [Mon, 30 Mar 1998 22:08:50 +0000 (22:08 +0000)]
* klist.c (main): Exit with a 0 exit status if everything okay

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

26 years ago * kdb5_mkdums.c: Add parenthesis about assignements in conditionals
Ezra Peisach [Mon, 30 Mar 1998 22:07:37 +0000 (22:07 +0000)]
* kdb5_mkdums.c: Add parenthesis about assignements in conditionals

gcc -Wall cleanups

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

26 years ago * kdc5_hammer.c (usage): Change usage to refelect reality
Ezra Peisach [Mon, 30 Mar 1998 21:52:25 +0000 (21:52 +0000)]
* kdc5_hammer.c (usage): Change usage to refelect reality
Add parenthesis around assignements in conditionals.

gcc -Wall cleanups

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

26 years ago * kdb5_verify.c: Declare main() as int instead of void.
Ezra Peisach [Mon, 30 Mar 1998 21:47:45 +0000 (21:47 +0000)]
* kdb5_verify.c: Declare main() as int instead of void.
Add parentheses around assignements in conditionals.

More gcc -Wall cleanups

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

26 years ago * t_inetd.c: Include stdlib.h (if present) for atoi() prototype,
Ezra Peisach [Mon, 30 Mar 1998 21:40:28 +0000 (21:40 +0000)]
* t_inetd.c: Include stdlib.h (if present) for atoi() prototype,
Include unistd.h (if present) for dup() prototype.

More gcc -Wall cleanups.

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

26 years ago * ktest_equal.h: Add prototypes for ktest_equal_sam_challenge and
Ezra Peisach [Mon, 30 Mar 1998 18:54:19 +0000 (18:54 +0000)]
* ktest_equal.h: Add prototypes for ktest_equal_sam_challenge and
ktest_equal_sam_response

* ktest.c (ktest_make_sample_sam_response): Remove unused variable.

* krb5_decode_test.c, krb5_decode_test.c (main): Declare main as
        int not void.

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

26 years ago * resolve.c: Include unistd.h if present on system (for
Ezra Peisach [Mon, 30 Mar 1998 18:51:04 +0000 (18:51 +0000)]
* resolve.c: Include unistd.h if present on system (for
        gethostname prototype).

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

26 years agogcc -Wall cleanups. Mainly adding prototypes and
Ezra Peisach [Mon, 30 Mar 1998 17:10:34 +0000 (17:10 +0000)]
gcc -Wall cleanups. Mainly adding prototypes and
making sure that functions have return types declared.

* ss_internal.h: Add ss_pager_create prototype.

* ss.h: Add ss_list_requests prototype.

* request_tbl.c (ss_add_request_table, ss_delete_request_table):
        Declare function types as void.

* prompt.c (ss_set_prompt): Declare function as void.

* listen.c (ss_quit): Int function should return a value.

* list_rqs.c (ss_list_requests): Fix arguments to match proper
        prototype for a ss type handler.

* execute_cmd.c (ss_execute_command): Declare as returning int

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

26 years ago * seteuid.c (krb5_setegid): Fix typo: seteuid -> setegid
Tom Yu [Mon, 23 Mar 1998 22:35:43 +0000 (22:35 +0000)]
* seteuid.c (krb5_setegid): Fix typo: seteuid -> setegid

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

26 years ago * kdc_util.c (add_to_transited): Check lengths, fix up comma
Tom Yu [Fri, 20 Mar 1998 22:14:15 +0000 (22:14 +0000)]
* kdc_util.c (add_to_transited): Check lengths, fix up comma
quoting somewhat (though things are still way broken).

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

26 years ago * chk_trans.c (krb5_check_transited_list): Check lengths when
Tom Yu [Tue, 17 Mar 1998 00:52:00 +0000 (00:52 +0000)]
* chk_trans.c (krb5_check_transited_list): Check lengths when
appending to next and prev.

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

26 years agooops... add PR number
Tom Yu [Thu, 12 Mar 1998 23:13:36 +0000 (23:13 +0000)]
oops... add PR number

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

26 years ago * update_utmp.c (pty_update_utmp): Fix bogus entry of
Tom Yu [Thu, 12 Mar 1998 23:12:52 +0000 (23:12 +0000)]
* update_utmp.c (pty_update_utmp): Fix bogus entry of
PTY_LOGIN_PROCESS types on BSD-ish systems.

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

26 years ago * ftpcmd.y (getline): Don't syslog passwords! (or newlines)
Dan Winship [Thu, 5 Mar 1998 19:02:15 +0000 (19:02 +0000)]
   * ftpcmd.y (getline): Don't syslog passwords! (or newlines)

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

26 years ago * alt_prof.c (krb5_free_realm_params): Free realm_acl_file portion
Ezra Peisach [Thu, 5 Mar 1998 14:16:58 +0000 (14:16 +0000)]
* alt_prof.c (krb5_free_realm_params): Free realm_acl_file portion
of structure.

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

26 years ago * Makefile.in: Enable v4 kadmin tests only if athena
Ezra Peisach [Tue, 3 Mar 1998 16:07:02 +0000 (16:07 +0000)]
* Makefile.in: Enable v4 kadmin tests only if athena
        compatibility is enabled.

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

26 years ago * configure.in: Enable v4 kadmin tests only if athena
Ezra Peisach [Tue, 3 Mar 1998 16:06:41 +0000 (16:06 +0000)]
* configure.in: Enable v4 kadmin tests only if athena
        compatibility is enabled.

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

26 years ago * configure.in: Add KRB5_BUILD_PROGRAM
Ezra Peisach [Tue, 3 Mar 1998 14:12:59 +0000 (14:12 +0000)]
* configure.in: Add KRB5_BUILD_PROGRAM

* Makefile.in (verify): Use CC_LINK and proper Makefile variables
        for library dependencies.

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

26 years ago * Makefile.in (t_cksum): Do not depend on libkrb5.a, use
Ezra Peisach [Tue, 3 Mar 1998 13:43:29 +0000 (13:43 +0000)]
* Makefile.in (t_cksum): Do not depend on libkrb5.a, use
KRB5_BASE_DEPLIBS.

This allows configuration --enable-shared --disable-static to work.

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

26 years ago * Makefile.in: Integrate in the krb5 build tree rules.
Ezra Peisach [Mon, 2 Mar 1998 21:25:32 +0000 (21:25 +0000)]
* Makefile.in: Integrate in the krb5 build tree rules.
(use CC_LINK, etc).

* configure.in: Add AC_BUILD_PROGRAM for test programs.

These changes allow --enable-profiled combined with --disable-static
to function in the build tree.

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

26 years agopre.in: Define AUTOCONF and CONFIG_RELTOPDIR from the autoconf
Theodore Tso [Mon, 2 Mar 1998 03:28:15 +0000 (03:28 +0000)]
pre.in: Define AUTOCONF and CONFIG_RELTOPDIR from the autoconf
substitution macros.

post.in: Fix the call to autoconf to use $(AUTOCONF) and
$(CONFIG_RELTOPDIR), so that configure regeneration rule works
even in a subdirectory below the configure script.

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

26 years agoaclocal.m4: Remove unused variables BUILDTOP and SRCTOP (now defined
Theodore Tso [Mon, 2 Mar 1998 03:25:05 +0000 (03:25 +0000)]
aclocal.m4: Remove unused variables BUILDTOP and SRCTOP (now defined
in the individual Makefile.in file.  Define @AUTOCONF@ to have the
appropriate pathname (either internal to our source tree, or in the
user's path).  Set @CONFIG_RELTOPDIR@ to contain the relative path to
the top of the build directory from the directory containing the
configure script.

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

26 years agoconfigure.in: Clean up configure script. Check $cross_compiling
Theodore Tso [Mon, 2 Mar 1998 03:21:42 +0000 (03:21 +0000)]
configure.in: Clean up configure script.  Check $cross_compiling
instead of (no longer correct) cache variable; remove obsolete
AC_C_CROSS.  Use AC_CHECK_FUNCS instead of individual AC_FUNC_CHECK
calls for speed.  Change checks for strsave and utimes to use
AC_CHECK_FUNCS

krcp.c, v4rcp.c: Change usages of HAS_STRSAVE and HAS_UTIMES to HAVE_*.

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

26 years agoMakefile.in (env-setup.stmp): If env-setup.stamp needs to be rebuilt,
Theodore Tso [Mon, 2 Mar 1998 03:20:13 +0000 (03:20 +0000)]
Makefile.in (env-setup.stmp): If env-setup.stamp needs to be rebuilt,
set CONFIG_FILES so that we only regenerate that one file.

env-setup.shin: Rename SRCTOPDIR to S_TOP, which has been fixed to
deal with absolute source paths.

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

26 years agoDefine S_TOP to contain an absolute pathname to the top of the source
Theodore Tso [Mon, 2 Mar 1998 03:19:12 +0000 (03:19 +0000)]
Define S_TOP to contain an absolute pathname to the top of the source
tree.

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

26 years agoRemove check for the regular expression functions, since they aren't
Theodore Tso [Mon, 2 Mar 1998 02:00:23 +0000 (02:00 +0000)]
Remove check for the regular expression functions, since they aren't
used in lib/kdb.

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

26 years ago * env-setup.shin (STOP): SRCTOP -> SRCTOPDIR
Tom Yu [Sun, 1 Mar 1998 00:45:13 +0000 (00:45 +0000)]
* env-setup.shin (STOP): SRCTOP -> SRCTOPDIR

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

26 years agodocument previous
Tom Yu [Sun, 1 Mar 1998 00:44:44 +0000 (00:44 +0000)]
document previous

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

26 years ago * configure.in: Fix up somewhat (SRCTOP -> SRCTOPDIR) and also get
Tom Yu [Sun, 1 Mar 1998 00:44:27 +0000 (00:44 +0000)]
* configure.in: Fix up somewhat (SRCTOP -> SRCTOPDIR) and also get
directory correct.  (`pwd`/..)

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

26 years ago * Makefile.in (env-setup.stamp): Fix up to use $(thisconfigdir)
Tom Yu [Sat, 28 Feb 1998 23:55:07 +0000 (23:55 +0000)]
* Makefile.in (env-setup.stamp): Fix up to use $(thisconfigdir)

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

26 years agoCollapse all configure.in files under the kadmin directory into the
Theodore Tso [Sat, 28 Feb 1998 04:56:29 +0000 (04:56 +0000)]
Collapse all configure.in files under the kadmin directory into the
kadmin directory.

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

26 years ago * Makefile.in (SHLIB_EXPLIBS): Replace @SHLIB_GEN@ with @GEN_LIB@
Tom Yu [Sat, 28 Feb 1998 04:15:50 +0000 (04:15 +0000)]
* Makefile.in (SHLIB_EXPLIBS): Replace @SHLIB_GEN@ with @GEN_LIB@

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

26 years agoCollapse all of lib/kadm5's configure scripts into a single top-level
Theodore Tso [Sat, 28 Feb 1998 03:42:34 +0000 (03:42 +0000)]
Collapse all of lib/kadm5's configure scripts into a single top-level
configure script.

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

26 years agoconfigure.in: Move the regular expression function tests into
Theodore Tso [Sat, 28 Feb 1998 02:46:09 +0000 (02:46 +0000)]
configure.in: Move the regular expression function tests into
aclocal.m4, since they also need to be shared by lib/kadm5's configure
script.

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

26 years agoaclocal.m4 (KRB5_AC_REGEX_FUNCS): Take the regular expression function
Theodore Tso [Sat, 28 Feb 1998 02:45:11 +0000 (02:45 +0000)]
aclocal.m4 (KRB5_AC_REGEX_FUNCS): Take the regular expression function
code from lib/krb5/os/configure.in and turn it into a generalized
regular expression function tester.

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

26 years agoCollapse lib/krb5's configure.in files into a single top-level
Theodore Tso [Sat, 28 Feb 1998 01:59:45 +0000 (01:59 +0000)]
Collapse lib/krb5's configure.in files into a single top-level
configure.in file.

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

26 years agoexport_name.c (krb5_gss_export_name): Fix bug in gss_export_name. The
Theodore Tso [Sat, 28 Feb 1998 00:24:40 +0000 (00:24 +0000)]
export_name.c (krb5_gss_export_name): Fix bug in gss_export_name.  The
2nd length field in the ASN.1 was 2 bytes bigger than it should have
been.

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

26 years ago * schpw.c (process_chpw_request): Free memory of allocated for
Ezra Peisach [Wed, 25 Feb 1998 20:25:15 +0000 (20:25 +0000)]
    * schpw.c (process_chpw_request): Free memory of allocated for
                local address.

        * ovsec_kadmd.c (do_schpw): Call krb5_kt_close to free memory
                allocated in keytab routines.

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

26 years ago * ftpcmd.y: Add production "nonguest" to catch things that
Tom Yu [Wed, 25 Feb 1998 02:36:21 +0000 (02:36 +0000)]
* 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.

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

26 years ago * kcmd.c: Integrate ghudson's changes for client-side krb4
Tom Yu [Tue, 24 Feb 1998 19:55:21 +0000 (19:55 +0000)]
* kcmd.c: Integrate ghudson's changes for client-side krb4
compatibility. [krb5-appl/483]

* krcp.c: Integrate ghudson's changes for client-side krb4
compatibility. [krb5-appl/483]

* krlogin.c: Integrate ghudson's changes for client-side krb4
compatibility. [krb5-appl/483]

* krlogind.c: Integrate ghudson's changes for client-side krb4
compatibility. [krb5-appl/483]

* krsh.c: Integrate ghudson's changes for client-side krb4
compatibility. [krb5-appl/483]

* krshd.c: Integrate ghudson's changes for client-side krb4
compatibility. [krb5-appl/483]

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

26 years ago * utility.c (ptyflush, netflush): Explicitly reset SIGCHLD handler
Tom Yu [Tue, 24 Feb 1998 04:09:50 +0000 (04:09 +0000)]
* utility.c (ptyflush, netflush): Explicitly reset SIGCHLD handler
  before calling cleanup(). [telnet/546]

* telnetd.c (telnet):  Explicitly reset SIGCHLD handler before
calling cleanup(). [telnet/546]

* state.c (dooption): Explicitly reset SIGCHLD handler before
calling cleanup(). [telnet/546]

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

26 years ago * ftpd.c: Use krb5_seteuid() and krb5_setegid(). [krb5-libs/505]
Tom Yu [Mon, 23 Feb 1998 01:13:39 +0000 (01:13 +0000)]
* ftpd.c: Use krb5_seteuid() and krb5_setegid(). [krb5-libs/505]

* Makefile.in (ftpd): Fix up KRB4COMPAT_LIBS (was KRB5_BASE_LIBS),
and add UTIL_LIB.

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

26 years ago * v4rcp.c: Punt nastiness to redefine setreuid, as we don't use
Tom Yu [Mon, 23 Feb 1998 01:13:26 +0000 (01:13 +0000)]
* v4rcp.c: Punt nastiness to redefine setreuid, as we don't use
it.

* krcp.c: Use krb5_seteuid(). [krb5-libs/505]  Fix up inclusions
to use <> rather than "".

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

26 years ago * configure.in: Add checks for set{re,e,res}gid()
Tom Yu [Mon, 23 Feb 1998 01:10:51 +0000 (01:10 +0000)]
* configure.in: Add checks for set{re,e,res}gid()

* seteuid.c: Include k5-util.h rather than k5-int.h.  Add
krb5_setegid().

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

26 years ago * k5-util.h: New file. Add krb5_seteuid in order to allow
Tom Yu [Mon, 23 Feb 1998 01:09:51 +0000 (01:09 +0000)]
* k5-util.h: New file.  Add krb5_seteuid in order to allow
  applications to use it without including k5-int.h.

* k5-int.h: Remove krb5_seteuid, as it is moving to k5-util.h.

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

26 years agokdc_preauth.c (get_preauth_hint_list): Don't add the pseudo preauth
Theodore Tso [Fri, 20 Feb 1998 21:49:36 +0000 (21:49 +0000)]
kdc_preauth.c (get_preauth_hint_list): Don't add the pseudo preauth
type KRB5_PADATA_PW_SALT to the hint list of supported
preauthentication systems, since it doesn't help to send it.  (And it
may screw up Cygnus KerbNet clients.)

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

26 years ago * recvauth.c (krb5_recvauth): Add some bookkeeping flags so we
Tom Yu [Fri, 20 Feb 1998 00:06:11 +0000 (00:06 +0000)]
* recvauth.c (krb5_recvauth): Add some bookkeeping flags so we
know how much stuff to free upon cleanup.  Fix the up cleanup
code.

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

26 years agoRemove trailing slash from thisconfigdir. Change directory syntax
Tom Yu [Wed, 18 Feb 1998 23:18:18 +0000 (23:18 +0000)]
Remove trailing slash from thisconfigdir.  Change directory syntax
used in BUILDTOP.

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

26 years ago * windows.in: Rewrite some of the directory syntax
Tom Yu [Wed, 18 Feb 1998 23:09:47 +0000 (23:09 +0000)]
* windows.in: Rewrite some of the directory syntax

* pre.in: Rewrite some of the directory syntax.

* mac-pre.in: Rewrite some of the directory syntax.

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

26 years ago * ovsec_kadmd.c (kadm_svc_run): Fix naming of _rpc_dtablesize()
Tom Yu [Sun, 15 Feb 1998 03:52:58 +0000 (03:52 +0000)]
* ovsec_kadmd.c (kadm_svc_run): Fix naming of _rpc_dtablesize()
that was missed earlier.

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

26 years ago * configure.in: Remove USE_ANAME, and the defines for ANAME_DBDEP and
Ezra Peisach [Sat, 14 Feb 1998 15:43:25 +0000 (15:43 +0000)]
* configure.in: Remove USE_ANAME, and the defines for ANAME_DBDEP and
        ANAME_DBLIB as they are no longer used.

* Makefile.in: Remove unused ANAME_DBDEP and ANAME_DBLIB definitions.

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

26 years agoRemove USE_ANAME
Ezra Peisach [Sat, 14 Feb 1998 15:36:02 +0000 (15:36 +0000)]
Remove USE_ANAME

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

26 years agoRemove USE_ANAME as aclocal.m4 no longer defines it
Ezra Peisach [Sat, 14 Feb 1998 15:35:05 +0000 (15:35 +0000)]
Remove USE_ANAME as aclocal.m4 no longer defines it

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

26 years agoconfigure.in: Remove USE_ANAME
Ezra Peisach [Sat, 14 Feb 1998 15:34:07 +0000 (15:34 +0000)]
configure.in: Remove USE_ANAME

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

26 years agoasn1buf.h (asn1buf_insert_octet): Use static inline function to define
Theodore Tso [Sat, 14 Feb 1998 08:18:56 +0000 (08:18 +0000)]
asn1buf.h (asn1buf_insert_octet): Use static inline function to define
asn1_insert_octet, since the GCC specific hack we're using doesn't
work on GCC compilers that also have Objective C enabled.

asn1buf.c: define ASN1BUF_OMIT_INLINE_FUNCS before including
asn1buf.h, since we don't want inline functions declared when we're
defining the linkable version of the functions.

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

26 years agoApplied lxs's changes to make ftpd safe for systems where
Theodore Tso [Sat, 14 Feb 1998 03:24:40 +0000 (03:24 +0000)]
Applied lxs's changes to make ftpd safe for systems where
sizeof(off_t) > sizeof(int).

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

26 years agoChecked in wrong version of ChangeLog
Theodore Tso [Sat, 14 Feb 1998 03:18:25 +0000 (03:18 +0000)]
Checked in wrong version of ChangeLog

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

26 years agoApplied lxs's changes to add support for Rhapsody DR1
Theodore Tso [Sat, 14 Feb 1998 03:17:54 +0000 (03:17 +0000)]
Applied lxs's changes to add support for Rhapsody DR1

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

26 years ago * kadm_rpc_svc.c: Punt naughty RCS keywords. Update header
Tom Yu [Sat, 14 Feb 1998 02:38:38 +0000 (02:38 +0000)]
* kadm_rpc_svc.c: Punt naughty RCS keywords.  Update header
locations.

* ovsec_kadmd.c: Update header locations.  Punt naughty RCS
keywords.

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

26 years ago * admin.h:
Tom Yu [Sat, 14 Feb 1998 02:34:11 +0000 (02:34 +0000)]
* admin.h:
* kadm_rpc.h:
* kadm_rpc_xdr.c: Update header locations.

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

26 years agooops forgot to update ChangeLog entirely
Tom Yu [Sat, 14 Feb 1998 02:33:14 +0000 (02:33 +0000)]
oops forgot to update ChangeLog entirely

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

26 years ago * client_init.c:
Tom Yu [Sat, 14 Feb 1998 02:32:58 +0000 (02:32 +0000)]
* client_init.c:
* client_principal.c:
* client_rpc.c:
* clnt_policy.c:
* clnt_privs.c: Update header locations.

* Makefile.in (LIBMAJOR): Bump major version to reflect change in
rpc library.

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

26 years ago * adb_xdr.c: Update header locations
Tom Yu [Sat, 14 Feb 1998 02:31:34 +0000 (02:31 +0000)]
* adb_xdr.c: Update header locations

* Makefile.in (LIBMAJOR): Bump major version to reflect change in
rpc library.

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

26 years ago * client.c: Update header locations. Rename of xdr_free
Tom Yu [Sat, 14 Feb 1998 02:29:44 +0000 (02:29 +0000)]
* client.c: Update header locations.  Rename of xdr_free

* rpc_test.h: Update header locations.

* server.c: Update header locations.

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

26 years ago"Renames" in the following refer to renaming of various exported
Tom Yu [Sat, 14 Feb 1998 02:27:25 +0000 (02:27 +0000)]
"Renames" in the following refer to renaming of various exported
functions and global variables to prefix them with "gssrpc_" or
"_gssrpc" as might be appropriate.  Some symbols which are unlikely to
occur in vendor rpc implementations have retained their old names
(notably the gssapi specific ones).

* auth.h: Renames.
* auth_any.c: Update header locations.
* auth_gssapi.c: Punt naughty RCS keywords.  Update header
locations.  Remove explicit extern decl of rpc_createrr (clnt.h
gets it).  Renames.
* auth_gssapi.h: Punt naughty RCS keywords.
* auth_gssapi_misc.c: Punt naught RCS keywords.  Update header
locations.
* auth_none.c: Update header locations.  Renames.
* auth_unix.c: Update header locations.  Renames.
* auth_unix.h: Renames.
* authunix_prot.c: Update header locations.
* bindresvport.c: Renames.
* clnt.h: Renames.
* clnt_generic.c: Update header locations.
* clnt_perror.c: Update header locations.
* clnt_raw.c: Update header locations.  Renames.
* clnt_simple.c: Update header locations.  Renames.
* clnt_tcp.c: Update header locations.  Renames.
* clnt_udp.c: Upate header loations.  Renames.
* get_myaddress.c: Update header locations.  Renames.
* getrpcent.c: Update header locations.
* getrpcport.c: Update header locations. Renames.
* netdb.h: Update header locations.
* pmap_clnt.c: Update header locations.  Renames.
* pmap_clnt.h: Renames.
* pmap_getmaps.c: Update header locations.
* pmap_getport.c: Update header locations.
* pmap_prot.c: Update header locations.
* pmap_prot.h: Renames.
* pmap_prot2.c: Update header locations.
* pmap_rmt.c: Update header locations.  Renames.
* pmap_rmt.h: Renames.
* rpc.h: Update header locations.  No longer include rpc/netdb.h.
* rpc_callmsg.c: Update header locations.  Renames.
* rpc_commondata.c: Update header locations.
* rpc_dtablesize.c: Renames.
* rpc_msg.h: Renames.
* rpc_prot.c: Update header locations.  Renames.
* svc.c: Update header locations.  Renames.
* svc.h: Renames.
* svc_auth.c: Update header locations.  Renames.
* svc_auth.h: Renames.
* svc_auth_any.c: Update header locations.
* svc_auth_gssapi.c: Punt naughty RCS keywords.  Update header
locations.  Renames.
* svc_auth_unix.c: Renames.
* svc_raw.c: Update header locations.
* svc_run.c: Update header locations.  Renames.
* svc_simple.c: Update header locations.  Renames.  Make pl
static.
* svc_tcp.c: Update header locations.  Renames.
* svc_udp.c: Update header locations.  Renames.
* xdr.c: Update header locations.  Renames.
* xdr.h: Renames.
* xdr_alloc.c: Punt naughty RCS keywords.  Update header
locations.
* xdr_array.c: Update header locations.
* xdr_float.c: Update header locations.
* xdr_mem.c: Update header locations.
* xdr_rec.c: Update header locations.
* xdr_reference.c: Update header locations.
* xdr_stdio.c: Update header locations.

* Makefile.in: Bump major version due to changes.  Don't build
getrpcent.o, since we don't use it, and dealing with the
rpc/netdb.h lossage was a major pain.  Also, rename HDRDIR to
$(BUILDTOP)/gssrpc in order to avoid problems with system headers
including rpc/*.h.

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

26 years agoDocument previous changes
Tom Yu [Fri, 13 Feb 1998 21:19:38 +0000 (21:19 +0000)]
Document previous changes

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

26 years ago * recno/extern.h: Additional renaming
Tom Yu [Fri, 13 Feb 1998 21:19:22 +0000 (21:19 +0000)]
* recno/extern.h: Additional renaming

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

26 years ago * hash/extern.h: Additional renaming
Tom Yu [Fri, 13 Feb 1998 21:19:11 +0000 (21:19 +0000)]
* hash/extern.h: Additional renaming

* hash/hash_page.c (page_to_oaddr):
(is_bitmap_pgno): Declare static to avoid leaking symbols.

* hash/search.h: Additional renaming.

* hash/hash_log2.c (__log2): Rename explicitly.

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

26 years ago * mpool/mpool.h: Additional renaming
Tom Yu [Fri, 13 Feb 1998 21:16:43 +0000 (21:16 +0000)]
* mpool/mpool.h: Additional renaming

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

26 years ago * btree/extern.h: Additional renaming
Tom Yu [Fri, 13 Feb 1998 21:15:54 +0000 (21:15 +0000)]
* btree/extern.h: Additional renaming

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

26 years ago * db-int.h: Additional renaming
Tom Yu [Fri, 13 Feb 1998 21:15:20 +0000 (21:15 +0000)]
* db-int.h: Additional renaming

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

26 years agoCollapse ftp and ftpd's configure.in into gssftp's configure.in
Theodore Tso [Fri, 13 Feb 1998 20:33:10 +0000 (20:33 +0000)]
Collapse ftp and ftpd's configure.in into gssftp's configure.in

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

26 years agoRemove free functions. (Now moved to lib/krb5/krb/kfree.c)
Theodore Tso [Fri, 13 Feb 1998 20:29:50 +0000 (20:29 +0000)]
Remove free functions.  (Now moved to lib/krb5/krb/kfree.c)

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

26 years agoMakefile.in, configure.in: Remove the free directory from the list of
Theodore Tso [Fri, 13 Feb 1998 20:29:11 +0000 (20:29 +0000)]
Makefile.in, configure.in: Remove the free directory from the list of
subdirectories to be built.  (All functions moved into
lib/krb5/free/kfree.c)

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

26 years agoAdded new file kfree.c, which contained all of the functions
Theodore Tso [Fri, 13 Feb 1998 20:28:36 +0000 (20:28 +0000)]
Added new file kfree.c, which contained all of the functions
previously in the lib/krb5/free directory.

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

26 years agoAdd AC_PROG_INSTALL since it's needed to install the libraries and
Theodore Tso [Fri, 13 Feb 1998 20:24:52 +0000 (20:24 +0000)]
Add AC_PROG_INSTALL since it's needed to install the libraries and
header files.

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

26 years agoCollapse configure.in files below lib/crypto into lib/crypto
Theodore Tso [Fri, 13 Feb 1998 20:23:25 +0000 (20:23 +0000)]
Collapse configure.in files below lib/crypto into lib/crypto

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

26 years agoChange patch so that either mechanism is accepted
Theodore Tso [Fri, 13 Feb 1998 20:16:40 +0000 (20:16 +0000)]
Change patch so that either mechanism is accepted

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

26 years agoaccept_sec_context.c (krb5_gss_accept_sec_context): Always allow use
Theodore Tso [Fri, 13 Feb 1998 20:13:30 +0000 (20:13 +0000)]
accept_sec_context.c (krb5_gss_accept_sec_context): Always allow use
of the pre-RFC mechanism when accepting contexts.

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

26 years agoaclocal.m4: Rename K5_OUPUT_FILES to K5_AC_OUTPUT, and leave a
Theodore Tso [Fri, 13 Feb 1998 20:12:28 +0000 (20:12 +0000)]
aclocal.m4: Rename K5_OUPUT_FILES to K5_AC_OUTPUT, and leave a
compatibility macro behind for K5_OUTPUT_FILES.  This is needed
because autoreconf greps for AC_OUTPUT.

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

26 years ago * hash/hash.c (__kdb2_hash_open): Rename to avoid potential
Tom Yu [Fri, 13 Feb 1998 19:42:12 +0000 (19:42 +0000)]
* hash/hash.c (__kdb2_hash_open): Rename to avoid potential
  collision with NetBSD libc.

* hash/dbm.c: Rename lots of functions to avoid colliding with
native dbm implementations.

* db/db.c (kdb2_dbopen): Rename to avoid colliding with NetBSD
libc.

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

26 years ago * db.h: Rename dbopen to avoid collision with NetBSD libc
Tom Yu [Fri, 13 Feb 1998 19:41:31 +0000 (19:41 +0000)]
* db.h: Rename dbopen to avoid collision with NetBSD libc

* db-ndbm.h: Rename lots of functions to avoid collisions with
native dbm implementations.

* db-int.h: Rename __hash_open to avoid potential collision with
NetBSD libc.

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

26 years ago * sendmsg.c: Explicitly include k5-int.h in order to get proper
Tom Yu [Fri, 13 Feb 1998 03:00:34 +0000 (03:00 +0000)]
* sendmsg.c: Explicitly include k5-int.h in order to get proper
prototype of krb5_locate_kdc().

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

26 years ago * accept_sec_context.c (krb5_gss_accept_sec_context): Add lots of
Tom Yu [Fri, 13 Feb 1998 01:55:32 +0000 (01:55 +0000)]
* accept_sec_context.c (krb5_gss_accept_sec_context): Add lots of
explicit assignments to major_status to ensure that we actually
return an error when we mean to.  This was previously preventing
gssrpc authentication with the old ovsec_kadm interface from
working because the gssrpc server side functions were failing to
loop over a set of supplied credentials.

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

26 years ago * client.c (main): Tweak the kludge variable
Tom Yu [Thu, 12 Feb 1998 21:40:16 +0000 (21:40 +0000)]
* client.c (main): Tweak the kludge variable
krb5_gss_dbg_clietn_expcreds so we can send expired creds to the
server.

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