krb5.git
27 years ago * configure.in: Check for sys/uio.h
Ezra Peisach [Mon, 10 Feb 1997 16:11:41 +0000 (16:11 +0000)]
* configure.in: Check for sys/uio.h

* svc_udp.c: Include sys/uio.h is available for struct iovec.

Needed for Irix 5.3

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

27 years ago * crypto_glue.c (krb5_calculate_checksum): Add krb5_const to
Ezra Peisach [Mon, 10 Feb 1997 15:45:04 +0000 (15:45 +0000)]
* crypto_glue.c (krb5_calculate_checksum): Add krb5_const to
        krb5_pointer of in data to match prototype.

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

27 years ago * svc_udp.c (svcudp_recv): Avoid coredumps under Solaris (and
Tom Yu [Mon, 10 Feb 1997 05:05:54 +0000 (05:05 +0000)]
* svc_udp.c (svcudp_recv): Avoid coredumps under Solaris (and
possibly other systems) by passing in a non-NULL iovec to
recvmsg().

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

27 years ago * libobj.in (OBJS.*): Work around a gmake optimization where the
Tom Yu [Sun, 9 Feb 1997 18:44:56 +0000 (18:44 +0000)]
* libobj.in (OBJS.*): Work around a gmake optimization where the
timestamps of OBJS.* would not get checked after STAMP.* get
updated, even though OBJS.* get updated as a side effect.

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

27 years agoMerge of libhack_branch
Tom Yu [Sun, 9 Feb 1997 17:43:52 +0000 (17:43 +0000)]
Merge of libhack_branch

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

27 years agocompile_et.c: Change the emitted name of the struct error_table
Theodore Tso [Sat, 8 Feb 1997 03:16:25 +0000 (03:16 +0000)]
compile_et.c: Change the emitted name of the struct error_table
to be et_XXX_error_table, instead of it being a static
variable named "et".  (This change has already been made
in the awk versions of compile_et.)

com_err.h, com_err.c: Remove the void *priv argument from
com_err_va() and et_com_err() experimental API's.  (That
was a braino; the private data pointer should come from
the hook_func_data field.)

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

27 years agoprof_int.h: Include "com_err.h" instead of redeclaring errcode_t
Richard Basch [Sat, 8 Feb 1997 00:22:17 +0000 (00:22 +0000)]
prof_int.h: Include "com_err.h" instead of redeclaring errcode_t

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

27 years agocom_err.[ch]: Define old com_err_va interface
Richard Basch [Sat, 8 Feb 1997 00:21:52 +0000 (00:21 +0000)]
com_err.[ch]: Define old com_err_va interface

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

27 years agoCorrected last ChangeLog entry
Richard Basch [Fri, 7 Feb 1997 20:57:18 +0000 (20:57 +0000)]
Corrected last ChangeLog entry

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

27 years agomk_faddr.c: Added FAR declaration
Richard Basch [Fri, 7 Feb 1997 19:27:47 +0000 (19:27 +0000)]
mk_faddr.c: Added FAR declaration

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

27 years agocopy_addrs.c fwd_tgt.c mk_cred.c sendauth.c: Added FAR declarations
Richard Basch [Fri, 7 Feb 1997 19:27:28 +0000 (19:27 +0000)]
copy_addrs.c fwd_tgt.c mk_cred.c sendauth.c: Added FAR declarations
mk_cred.c: Declare ncreds as krb5_int32 so that the right type will be
passed to krb5_mk_ncred_basic (win16 fix)

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

27 years agowindows.in: compile win16 apps with /GA to generate the appropriate
Richard Basch [Fri, 7 Feb 1997 13:56:51 +0000 (13:56 +0000)]
windows.in: compile win16 apps with /GA to generate the appropriate
prolog code for protected-mode.

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

27 years agocns.c:
Richard Basch [Fri, 7 Feb 1997 13:55:01 +0000 (13:55 +0000)]
cns.c:
Declare blocking_hook_proc with __export keyword so that it
  works with Win16.  Win32 will only generate a warning message.
Reworked timeout logic to accomodate the 49.7 day wraparound
  of GetTickCount()

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

27 years agoMakefile.in: Create shared directory before building object files
Richard Basch [Fri, 7 Feb 1997 13:53:09 +0000 (13:53 +0000)]
Makefile.in: Create shared directory before building object files

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

27 years agot_cksum: Link against libkrb5.a as it depends upon krb5_use_enctype
Ezra Peisach [Thu, 6 Feb 1997 17:54:53 +0000 (17:54 +0000)]
t_cksum: Link against libkrb5.a as it depends upon krb5_use_enctype

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

27 years ago * configure.in: Remove the CopyHeader and CopySrcHeader rules as
Ezra Peisach [Thu, 6 Feb 1997 16:15:06 +0000 (16:15 +0000)]
* configure.in: Remove the CopyHeader and CopySrcHeader rules as
they are handled in Makefile.in

* Makefile.in: Create include/gssapi on unix. Make clean removes
built gssapi.h

These were broken on the unix side.
Make complained about too many rules for building the
../../../include/gssapi/.... files - because they were defined
twice.

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

27 years agoadm_conn.c adm_rw.c: Replace INTERFACE keyword with KRB5_CALLCONV
Richard Basch [Thu, 6 Feb 1997 05:33:47 +0000 (05:33 +0000)]
adm_conn.c adm_rw.c: Replace INTERFACE keyword with KRB5_CALLCONV

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

27 years agokerberos5.c: The first arg to krb5_verify_checksum is a krb5_context!!!
Richard Basch [Thu, 6 Feb 1997 05:27:10 +0000 (05:27 +0000)]
kerberos5.c: The first arg to krb5_verify_checksum is a krb5_context!!!

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

27 years agokrb.h: Make sure KRB5_EXPORTVAR is defined
Richard Basch [Thu, 6 Feb 1997 05:26:46 +0000 (05:26 +0000)]
krb.h: Make sure KRB5_EXPORTVAR is defined

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

27 years agoMakefile.in: Remove logger.c target before copying over it to avoid
Richard Basch [Thu, 6 Feb 1997 05:26:23 +0000 (05:26 +0000)]
Makefile.in: Remove logger.c target before copying over it to avoid
permission problems.

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

27 years agok5-int.h: Make sure KRB5_EXPORTVAR is defined
Richard Basch [Thu, 6 Feb 1997 04:43:21 +0000 (04:43 +0000)]
k5-int.h: Make sure KRB5_EXPORTVAR is defined

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

27 years agoutil_crypt.c: Include k5-int.h because we need to access the private
Richard Basch [Thu, 6 Feb 1997 04:42:57 +0000 (04:42 +0000)]
util_crypt.c: Include k5-int.h because we need to access the private
cryptosystem structures of the krb5_encrypt_block structure

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

27 years agogssapi.hin: Make sure KRB5_EXPORTVAR is defined
Richard Basch [Thu, 6 Feb 1997 04:42:18 +0000 (04:42 +0000)]
gssapi.hin: Make sure KRB5_EXPORTVAR is defined

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

27 years agoMakefile.in: Remove target before copying over it (avoids perm. errors)
Richard Basch [Thu, 6 Feb 1997 04:12:20 +0000 (04:12 +0000)]
Makefile.in: Remove target before copying over it (avoids perm. errors)

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

27 years agoprofile.hin: Do not multiply process the contents of this file
Richard Basch [Thu, 6 Feb 1997 04:11:41 +0000 (04:11 +0000)]
profile.hin: Do not multiply process the contents of this file
test_parse.c: Do not include "com_err.h" (typedef conflict)

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

27 years agoFixed bad ChangeLog entry during last commit
Richard Basch [Thu, 6 Feb 1997 03:39:41 +0000 (03:39 +0000)]
Fixed bad ChangeLog entry during last commit

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

27 years agoMakefile.in: Fixed linking of telnet.exe (win16)
Richard Basch [Thu, 6 Feb 1997 03:29:00 +0000 (03:29 +0000)]
Makefile.in: Fixed linking of telnet.exe (win16)
encrypt.c: Replace printf with MessageBox and OutputDebugString
encrypt.h: Fixed prototyping of des425 functions (win16)
telnet.c: Removed ^M at end of every line

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

27 years agoWindows/NT integration (V1_0_WIN32_BRANCH merge)
Richard Basch [Thu, 6 Feb 1997 02:31:41 +0000 (02:31 +0000)]
Windows/NT integration (V1_0_WIN32_BRANCH merge)

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

27 years agoWindows/NT integration (V1_0_WIN32_BRANCH merge)
Richard Basch [Thu, 6 Feb 1997 02:21:18 +0000 (02:21 +0000)]
Windows/NT integration (V1_0_WIN32_BRANCH merge)
des3_sha.c: Confounder size should be 8, not 24

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

27 years agoINTERFACE is no longer defined in krb5.h, so we must define it here
Richard Basch [Thu, 6 Feb 1997 02:20:05 +0000 (02:20 +0000)]
INTERFACE is no longer defined in krb5.h, so we must define it here

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

27 years agoWindows/NT integration
Richard Basch [Thu, 6 Feb 1997 02:19:29 +0000 (02:19 +0000)]
Windows/NT integration
krb5.hin k5-int.h: Functionalized the crypto layer and made the crypto
structures private

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

27 years agoWindows/NT integration
Richard Basch [Thu, 6 Feb 1997 02:18:46 +0000 (02:18 +0000)]
Windows/NT integration

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

27 years agoWindows/NT integration
Richard Basch [Thu, 6 Feb 1997 02:18:27 +0000 (02:18 +0000)]
Windows/NT integration
Only rebuild changed files (win16/win32)

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

27 years agoNew V2 API + Win16/Win32 support
Richard Basch [Thu, 6 Feb 1997 02:13:14 +0000 (02:13 +0000)]
New V2 API + Win16/Win32 support

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

27 years ago * kdc_preauth.c (get_sam_edata): Use proper interface to
Ezra Peisach [Thu, 2 Jan 1997 04:07:31 +0000 (04:07 +0000)]
* kdc_preauth.c (get_sam_edata): Use proper interface to
krb5_db_get_principal. Also if SAM is not an option, do
not return as a possible type to client. [krb5-kdc/310]

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

27 years ago * aclocal.m4: Add AC_PREREQ(2.12) as we now require autoconf 2.12.
Ezra Peisach [Mon, 30 Dec 1996 18:46:11 +0000 (18:46 +0000)]
* aclocal.m4: Add AC_PREREQ(2.12) as we now require autoconf 2.12.
[krb5-build/289]

This will prevent future screwups of people using their own installed version
of autoconf with our tree... (we are now using stock autoconf-2.12...

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

27 years agoOveride important environment variables. Preliiminary fix; include
Sam Hartman [Sun, 29 Dec 1996 02:20:34 +0000 (02:20 +0000)]
Overide important environment variables.  Preliiminary fix; include
in patch release.

[326]

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

27 years ago * config.guess:
Tom Yu [Tue, 24 Dec 1996 21:44:18 +0000 (21:44 +0000)]
* config.guess:
* config.sub: Update from autoconf-2.12.

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

27 years agoupdate to autoconf-2.12
Tom Yu [Tue, 24 Dec 1996 21:16:42 +0000 (21:16 +0000)]
update to autoconf-2.12

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

27 years ago * aclocal.m4 (V5_AC_OUTPUT_MAKEFILE): Fix to deal with the
Tom Yu [Tue, 24 Dec 1996 21:11:39 +0000 (21:11 +0000)]
* aclocal.m4 (V5_AC_OUTPUT_MAKEFILE): Fix to deal with the
autoconf-2.12 syntax for file concatenation.

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

27 years ago * configure.in: Fix up "test $ac_cv_c_cross" to deal with
Tom Yu [Tue, 24 Dec 1996 21:09:58 +0000 (21:09 +0000)]
* configure.in: Fix up "test $ac_cv_c_cross" to deal with
autoconf-2.12, since that variable can be set to a null string.

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

27 years agomerge from V1_0_RELEASE
Tom Yu [Tue, 24 Dec 1996 10:18:06 +0000 (10:18 +0000)]
merge from V1_0_RELEASE

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

27 years agoInitial revision
Tom Yu [Tue, 24 Dec 1996 02:40:09 +0000 (02:40 +0000)]
Initial revision

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

27 years agoAdd brand.c to the SRCS line so that the kerbsrc.mac.tar includes
Theodore Tso [Mon, 23 Dec 1996 22:21:45 +0000 (22:21 +0000)]
Add brand.c to the SRCS line so that the kerbsrc.mac.tar includes
brand.c

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

27 years agoRemove (under #ifdef) mention of calling Cygnus Support for support
Theodore Tso [Sat, 21 Dec 1996 08:35:21 +0000 (08:35 +0000)]
Remove (under #ifdef) mention of calling Cygnus Support for support

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

27 years agoFixed other problems found when renaming program from cns.exe to krb5.exe
Theodore Tso [Sat, 21 Dec 1996 08:33:28 +0000 (08:33 +0000)]
Fixed other problems found when renaming program from cns.exe to krb5.exe

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

27 years agokrb5.def: New file, copied from cns.def, with Cygnus'isms #ifdef'ed
Theodore Tso [Sat, 21 Dec 1996 08:15:50 +0000 (08:15 +0000)]
krb5.def: New file, copied from cns.def, with Cygnus'isms #ifdef'ed
out.
cns.c: Removed text "Contacting Cygnus Support for support" from
the "about" box.
Makefile.in: Change name of cns.exe to be krb5.exe (CNS is a
Cygnus trademark)

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

27 years agobrand.c: New file, which allows a release engineer to "brand" the krb5
Theodore Tso [Sat, 21 Dec 1996 07:20:44 +0000 (07:20 +0000)]
brand.c: New file, which allows a release engineer to "brand" the krb5
library or a binary application program statically linked against the
krb5 library.  This file is statically included by init_ctx.c, to
force it be in a binary library or application program.

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

27 years agoChecked in changes from Marshall
Theodore Tso [Sat, 21 Dec 1996 06:49:41 +0000 (06:49 +0000)]
Checked in changes from Marshall

kconfig.c: Added time-bomb code.

kconfig.rsrc: Added alert resources for time bomb display.  Version
number bumbed up, timebomb resources moved out.

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

27 years agoChecked in Macintosh changes from Marshall
Theodore Tso [Sat, 21 Dec 1996 06:47:32 +0000 (06:47 +0000)]
Checked in Macintosh changes from Marshall

GSSforSAP.r: Moved resources for the timebomb out to Rez format for
easier CVSing

macSAPglue.c (__initializeSAPglue): Added new conditions to the
timebomb code so that it can identify individual applications and not
just fail globally.

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

27 years agoUse new call krb5_vercheck() for Windows timebomb checking; this call
Theodore Tso [Sat, 21 Dec 1996 06:35:49 +0000 (06:35 +0000)]
Use new call krb5_vercheck() for Windows timebomb checking; this call
returns an error code, which is returned to the user if the timebomb
should be activated.

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

27 years agoChange the timebomb to be June 1, 1997. Make the timebomb exit the
Theodore Tso [Sat, 21 Dec 1996 06:35:11 +0000 (06:35 +0000)]
Change the timebomb to be June 1, 1997.  Make the timebomb exit the
application more gracefully.

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

27 years agoChange name of library in file to be krb5_16.def [PR#302]
Theodore Tso [Fri, 20 Dec 1996 23:25:07 +0000 (23:25 +0000)]
Change name of library in file to be krb5_16.def [PR#302]

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

27 years agoAutomatically make the mac-bin-dirs target so that the binary
Theodore Tso [Fri, 20 Dec 1996 23:08:52 +0000 (23:08 +0000)]
Automatically make the mac-bin-dirs target so that the binary
directories are correctly created.

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

27 years ago * getsyms: Don't echo filename if there are no bad symbols
Tom Yu [Tue, 17 Dec 1996 23:14:11 +0000 (23:14 +0000)]
* getsyms: Don't echo filename if there are no bad symbols

* getsyms.sed: Fixup to handle long comments somewhat more
gracefully.

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

27 years agoDo not compare an int to NULL. Under Linux, warning about a pointer to int
Ezra Peisach [Tue, 17 Dec 1996 22:10:10 +0000 (22:10 +0000)]
Do not compare an int to NULL. Under Linux, warning about a pointer to int
comparision.

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

27 years agoFix expire time in the text resource to be June 1, 1997
Theodore Tso [Tue, 17 Dec 1996 18:54:22 +0000 (18:54 +0000)]
Fix expire time in the text resource to be June 1, 1997

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

27 years agoChange the timebomb date to be June 1, 1997
Theodore Tso [Fri, 13 Dec 1996 19:58:59 +0000 (19:58 +0000)]
Change the timebomb date to be June 1, 1997

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

27 years agoAdded the error codes KRB5_APPL_EXPIRED and KRB5_LIB_EXPIRED
Theodore Tso [Fri, 13 Dec 1996 19:57:13 +0000 (19:57 +0000)]
Added the error codes KRB5_APPL_EXPIRED and KRB5_LIB_EXPIRED

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

27 years agoMerge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*
Theodore Tso [Fri, 13 Dec 1996 19:28:16 +0000 (19:28 +0000)]
Merge V1_0_FREEZE_3 into the mainline.  (Note this merge does *not*
include the doc subtree!!)

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

27 years ago * api.0/init.exp, api.2/init.exp: use spawn/expect instead of exec
Barry Jaspan [Mon, 9 Dec 1996 20:59:13 +0000 (20:59 +0000)]
* api.0/init.exp, api.2/init.exp: use spawn/expect instead of exec
  so tests don't fail when kadmin.local produces output

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

27 years agoUpdate to not install install-sid
Sam Hartman [Mon, 9 Dec 1996 02:41:13 +0000 (02:41 +0000)]
Update  to not install install-sid
as there is no easy way of making it deal with krb5-send-pr. [287]

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

27 years agoThis commit was generated by cvs2svn to compensate for changes in r9624,
Sam Hartman [Mon, 9 Dec 1996 02:35:23 +0000 (02:35 +0000)]
This commit was generated by cvs2svn to compensate for changes in r9624,
which included commits to RCS files with non-trunk default branches.

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

27 years ago * ovsec_kadmd.c (main): fix duplicated error strings
Barry Jaspan [Wed, 4 Dec 1996 20:29:55 +0000 (20:29 +0000)]
* ovsec_kadmd.c (main): fix duplicated error strings
  [krb5-admin/234]

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

27 years ago * acquire_cred.c (acquire_accept_cred): use krb5_kt_get_entry
Barry Jaspan [Wed, 4 Dec 1996 18:07:12 +0000 (18:07 +0000)]
* acquire_cred.c (acquire_accept_cred): use krb5_kt_get_entry
  instead of scanning through keytab to find matching principal
  [krb5-libs/210]

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

27 years ago * Various changes to allow channel bindings to work with both UDP
Barry Jaspan [Wed, 4 Dec 1996 17:47:19 +0000 (17:47 +0000)]
* Various changes to allow channel bindings to work with both UDP
  and TCP cleanly [krb5-libs/180]:

* auth_gssapi.c: remove the special-case exception to channel
  bindings failure added in the previous revision, since we now
  solve the problem by making channel bindings not fail

* clnt_udp.c: use a connected socket so that the client can
  determine its own source address with getsockname

* svc.h: add xp_laddr and xp_laddrlen fields to SVCXPRT structure

* svc_tcp.c: set xp_laddr and xp_laddrlen when a connection is
  established

* svc_udp.c (svcudp_recv): use recvmsg with MSG_PEEK followed by
  recvfrom in order to determine both source and dest address on
  unconnected UDP socket, set xp_laddr and xp_laddrlen

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

27 years ago * kdb5_util.c: fix multiply defined globals [krb5-admin/260]
Barry Jaspan [Tue, 3 Dec 1996 21:05:21 +0000 (21:05 +0000)]
* kdb5_util.c: fix multiply defined globals [krb5-admin/260]

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

27 years ago * kadmin.c (kadmin_addprinc): print warning/notice about no policy
Barry Jaspan [Tue, 3 Dec 1996 20:40:42 +0000 (20:40 +0000)]
* kadmin.c (kadmin_addprinc): print warning/notice about no policy
  and default policy [krb5-admin/252]

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

27 years ago * init_db: be verbose when $SRVTCL doesn't exist, instead of just
Barry Jaspan [Tue, 3 Dec 1996 20:29:35 +0000 (20:29 +0000)]
* init_db: be verbose when $SRVTCL doesn't exist, instead of just
  failing [krb5-admin/245]

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

27 years ago * server_acl.c (acl_load_acl_file): log errors via
Barry Jaspan [Tue, 3 Dec 1996 20:15:59 +0000 (20:15 +0000)]
* server_acl.c (acl_load_acl_file): log errors via
  krb5_klog_syslog, not fprintf and com_err [krb5-admin/238]; don't
  coredump when an acl line is too long; handle catchall_entry ==
  NULL

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

28 years ago * [krb5-libs/149] only generate requests that you can actually
Mark Eichin [Sat, 23 Nov 1996 22:37:33 +0000 (22:37 +0000)]
* [krb5-libs/149] only generate requests that you can actually
handle.

Tue Sep  3 22:53:56 1996  Mark Eichin  <eichin@cygnus.com>

* kdc_preauth.c (get_preauth_hint_list): detect ap->get_edata
return status and don't pass back hint if it failed.
(get_etype_info): malloc one more word in entry for end marker.

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

28 years agoDo not link shared against -ldb. Tom and I decided this should wait
Sam Hartman [Fri, 22 Nov 1996 22:07:28 +0000 (22:07 +0000)]
Do not link shared against -ldb.  Tom and I decided this should wait
until after 1.0. [224]

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

28 years agoThe trunk should be dead;
Sam Hartman [Fri, 22 Nov 1996 14:00:05 +0000 (14:00 +0000)]
The trunk should be dead;
we are using the import branch as default.

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

28 years agoThis commit was generated by cvs2svn to compensate for changes in r9511,
Sam Hartman [Fri, 22 Nov 1996 13:58:39 +0000 (13:58 +0000)]
This commit was generated by cvs2svn to compensate for changes in r9511,
which included commits to RCS files with non-trunk default branches.

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

28 years agoApply patch from shadow@andrew.cmu.edu to fix a bug I fixed
Sam Hartman [Wed, 20 Nov 1996 23:00:07 +0000 (23:00 +0000)]
Apply patch from shadow@andrew.cmu.edu to fix a bug I fixed
for krb5 if compiled with Kerberos support; we don't support that,
but applying the patch was easier than removing the code.

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

28 years agoRemove the popper, mailquery, and movemail directories
Theodore Tso [Tue, 19 Nov 1996 01:57:53 +0000 (01:57 +0000)]
Remove the popper, mailquery, and movemail directories

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

28 years agoRemoving old POP applications
Theodore Tso [Tue, 19 Nov 1996 01:53:48 +0000 (01:53 +0000)]
Removing old POP applications

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

28 years agorc_dfl.c: Apply jik's fix to allow the expunging of the replay cache
Theodore Tso [Tue, 19 Nov 1996 00:36:57 +0000 (00:36 +0000)]
rc_dfl.c: Apply jik's fix to allow the expunging of the replay cache
to happen correctly. [174,132]

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

28 years ago *gssapi.h: Renamed to gssapi.hin
Tom Yu [Mon, 18 Nov 1996 17:41:36 +0000 (17:41 +0000)]
*gssapi.h: Renamed to gssapi.hin

* gssapi.hin: Remove #ifdef USE_AUTOCONF_H; we're grepping symbols
directly from autoconf.h now.

* configure.in: Change CopySrcHeader to CopyHeader, as gssapi.h is
now generated in the build tree.

* Makefile.in: Add rules to generate gssapi.h from gssapi.hin,
similar to how krb5.h is generated from krb5.hin.  Remove
-DUSE_AUTOCONF_H from $(CFLAGS)

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

28 years agoBrought reasonable krb425.texinfo over from Cygnus. Added section to
Jeff Bigler [Fri, 15 Nov 1996 23:24:14 +0000 (23:24 +0000)]
Brought reasonable krb425.texinfo over from Cygnus.  Added section to
Makefile to make v4-to-v5 guide.

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

28 years ago * user-guide.texinfo: Changes to put copyright page in its own
Tom Yu [Fri, 15 Nov 1996 17:21:24 +0000 (17:21 +0000)]
* user-guide.texinfo: Changes to put copyright page in its own
node in the info file.

* install.texinfo: Changes to put copyright page in its own node
in the info file.

* admin.texinfo: Changes to put copyright page in its own node in
the info file, plus more krb5.keytab name updates.

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

28 years ago * update_utmp.c (pty_update_utmp): Handle case where utmp uses
Ezra Peisach [Fri, 15 Nov 1996 13:40:31 +0000 (13:40 +0000)]
* update_utmp.c (pty_update_utmp): Handle case where utmp uses
ut_exit.e_exit and utmpx uses ut_exit.ut_exit.

* configure.in (UT_EXIT_STRUCTURE_DIFFER): If utmpx.h exists, and
getutmpx does not exist then test if the ut_exit part of
the utmp/utmpx structure is a structure and if their types
differ. (e_exit vs. ut_exit).

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

28 years ago * install.texinfo (The Keytab File):
Tom Yu [Fri, 15 Nov 1996 05:08:52 +0000 (05:08 +0000)]
* install.texinfo (The Keytab File):
(Extract Host Keytabs for the KDCs):
(The Keytab File):
(Some Advice about Secure Hosts): Update filename to krb5.keytab.
(Upgrading the application servers): Add node to explain keytab
rename.

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

28 years ago * krb5.conf.M: Note change in default_keytab_name
Tom Yu [Fri, 15 Nov 1996 04:09:24 +0000 (04:09 +0000)]
* krb5.conf.M: Note change in default_keytab_name

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

28 years ago * server.c (main): Add declaration of optind for systems that
Tom Yu [Fri, 15 Nov 1996 03:27:49 +0000 (03:27 +0000)]
* server.c (main): Add declaration of optind for systems that
don't have it in stdio.h or the like.

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

28 years agoasn1_k_encode.c (asn1_encode_principal_name): Be liberal about
Theodore Tso [Fri, 15 Nov 1996 02:21:23 +0000 (02:21 +0000)]
asn1_k_encode.c (asn1_encode_principal_name): Be liberal about
accepting a principal with a zero-length component where the data
pointer is NULL.  After all, asn1_decode_principal_name generates them
that way! [PR#188]

(asn1_encode_encrypted_data):
(asn1_encode_krb5_authdata_elt):
(asn1_encode_encryption_key):
(asn1_encode_checksum):
(asn1_encode_realm): If the length is zero, allow the data field to be NULL.

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

28 years ago * env-setup.shin, init_db, save_files.sh, start_servers,
Barry Jaspan [Thu, 14 Nov 1996 20:30:35 +0000 (20:30 +0000)]
* env-setup.shin, init_db, save_files.sh, start_servers,
  start_servers_local, stop_servers, stop_servers_local: move
  VERBOSE_TEST -> VERBOSE logic to env-setup.sh, make everything
  else inherit from it, and fix the sense of the test (Tom got it
  backwards); also fix init_db so that kdb5_util create is not
  always verbose

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

28 years ago * rpc_test_setup.sh: VERBOSE is now inherited from env-setup.sh
Barry Jaspan [Thu, 14 Nov 1996 20:27:40 +0000 (20:27 +0000)]
* rpc_test_setup.sh: VERBOSE is now inherited from env-setup.sh

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

28 years ago * telnet.exp: telnet may output fqdn in upper-case
Barry Jaspan [Thu, 14 Nov 1996 20:20:43 +0000 (20:20 +0000)]
* telnet.exp: telnet may output fqdn in upper-case

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

28 years agosys_bsd.c(intr): Added checks to intr_waiting and intr_happened to
Theodore Tso [Thu, 14 Nov 1996 19:53:33 +0000 (19:53 +0000)]
sys_bsd.c(intr): Added checks to intr_waiting and intr_happened to
handle ^C while waiting for encryption negotiation.

telnet.c (telnet): Allow ^C to work while waiting for encryption
negotiation to finish. [telnet/64]

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

28 years ago * krcp.c: don't print our own error message if kcmd returns -1 (it
Barry Jaspan [Thu, 14 Nov 1996 19:31:03 +0000 (19:31 +0000)]
* krcp.c: don't print our own error message if kcmd returns -1 (it
  always printed something in that case, and error_message(-1)
  prints a mess [krb5-appl/70]

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

28 years agokrb5_encode_test.c (PRS): Add the -p option to krb5_encode_test to
Theodore Tso [Thu, 14 Nov 1996 19:25:10 +0000 (19:25 +0000)]
krb5_encode_test.c (PRS): Add the -p option to krb5_encode_test to
change the sample principal value (to test encoding of
different krb5 principals).

ktest.c (ktest_make_sample_principal): Use krb5_parse_principal so
that sample principal can be configured for different purposes.

krb5_decode_test.c (main):
krb5_encode_test.c (main): Check return value from krb5_init_context to
make sure it succeeded.

Makefile.in (check): Set KRB5_CONFIG to $(TOPSRC)/config-files/krb5.conf
so that the tests work.

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

28 years ago * osconf.h (DEFAULT_KEYTAB_NAME): Change DOS version of this to
Tom Yu [Thu, 14 Nov 1996 04:59:23 +0000 (04:59 +0000)]
* osconf.h (DEFAULT_KEYTAB_NAME): Change DOS version of this to
FILE:%s\\krb5kt to match "krb5cc".

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

28 years ago * osconfig.c: Add warning re: global variables
Tom Yu [Thu, 14 Nov 1996 04:44:54 +0000 (04:44 +0000)]
* osconfig.c: Add warning re: global variables

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

28 years agomake clean was missing some things; see ChangeLogs for details
Tom Yu [Thu, 14 Nov 1996 00:34:21 +0000 (00:34 +0000)]
make clean was missing some things; see ChangeLogs for details

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

28 years ago * env-setup.shin: Explicitly set KRB5CCNAME so the user's ccache
Tom Yu [Wed, 13 Nov 1996 22:27:36 +0000 (22:27 +0000)]
* env-setup.shin: Explicitly set KRB5CCNAME so the user's ccache
doesn't get blown away.

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

28 years agorevert kt_default_name changes; see ChangeLogs for details
Tom Yu [Wed, 13 Nov 1996 21:05:00 +0000 (21:05 +0000)]
revert kt_default_name changes; see ChangeLogs for details

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

28 years ago * install.texinfo (kdc.conf): remove profile relation from
Barry Jaspan [Wed, 13 Nov 1996 20:17:58 +0000 (20:17 +0000)]
* install.texinfo (kdc.conf): remove profile relation from
  krb5.conf and kdc.conf [PR 124]

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

28 years ago * kdc.conf: remove profile, admin database_name, and admin
Barry Jaspan [Wed, 13 Nov 1996 20:17:05 +0000 (20:17 +0000)]
* kdc.conf: remove profile, admin database_name, and admin
  lockfile relations [PR 124]

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

28 years agoclean: Remove test programs and objects
Ezra Peisach [Wed, 13 Nov 1996 15:00:51 +0000 (15:00 +0000)]
clean: Remove test programs and objects

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