krb5.git
24 years ago* Makefile.in (LIBMINOR): Update to 2
Ken Raeburn [Mon, 6 Dec 1999 21:53:08 +0000 (21:53 +0000)]
* Makefile.in (LIBMINOR): Update to 2

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

24 years ago* init_ctx.c (get_profile_etype_list): Report an error if no
Ken Raeburn [Mon, 6 Dec 1999 21:52:07 +0000 (21:52 +0000)]
* init_ctx.c (get_profile_etype_list): Report an error if no
recognized enctypes are found in the config file.

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

24 years agomerge 1.1 branch, to 12/1/99
Ken Raeburn [Mon, 6 Dec 1999 21:49:19 +0000 (21:49 +0000)]
merge 1.1 branch, to 12/1/99

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

24 years ago* krb5_err.et (KRB5_OBSOLETE_FN): New error code
Ken Raeburn [Mon, 6 Dec 1999 21:45:03 +0000 (21:45 +0000)]
* krb5_err.et (KRB5_OBSOLETE_FN): New error code

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

24 years ago* mcc.h (mcc_head): Define as macro to give exported name a krb5 prefix
Ken Raeburn [Mon, 6 Dec 1999 21:41:53 +0000 (21:41 +0000)]
* mcc.h (mcc_head): Define as macro to give exported name a krb5 prefix

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

24 years agomerge from 1.1 branch
Ken Raeburn [Mon, 6 Dec 1999 21:38:22 +0000 (21:38 +0000)]
merge from 1.1 branch

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

24 years agoOn Windows, build error tables if we believe awk is present
Danilo Almeida [Sat, 4 Dec 1999 04:06:37 +0000 (04:06 +0000)]
On Windows, build error tables if we believe awk is present

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

24 years ago* kvno.c (main): Use krb5_free_unparsed_name() isntead of free().
Danilo Almeida [Sat, 4 Dec 1999 03:28:35 +0000 (03:28 +0000)]
* kvno.c (main): Use krb5_free_unparsed_name() isntead of free().
Free krb5 context when done.

* Makefile.in: Build kvno under Windows.

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

24 years agoAdd kvno to Windows build.
Danilo Almeida [Sat, 4 Dec 1999 03:27:49 +0000 (03:27 +0000)]
Add kvno to Windows build.
Clean kpasswd in Windows build.

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

24 years agoMake Windows Makefile target creation atomic.
Danilo Almeida [Sat, 4 Dec 1999 03:26:01 +0000 (03:26 +0000)]
Make Windows Makefile target creation atomic.
Build clients/kvno for Windows.  Also pull from 1.1 branch: Add
install target for windows.  Remove references to unused mit
directory.

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

24 years agoPull changes from krb5-1-1 branch
Danilo Almeida [Sat, 4 Dec 1999 02:07:12 +0000 (02:07 +0000)]
Pull changes from krb5-1-1 branch

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

24 years agoPull changes from krb5-1-1 branch: a) Make is so
Danilo Almeida [Sat, 4 Dec 1999 02:02:15 +0000 (02:02 +0000)]
Pull changes from krb5-1-1 branch: a) Make is so
that all C flags are the same and so that the only difference
between EXE and DLL builds are the DLL_LINKOPTS and EXE_LINKOPTS
linker options.  b) Fix DNS error messages to wshelper instead of
version server.  c) Fix DNS flags it does not try to depend on mit
dir.  Define NULL so we can do directory existence checks via the
shell under both NT and 9x.

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

24 years agoPull changes in from krb5-1-1 branch (remvove everything under src/mit)
Danilo Almeida [Sat, 4 Dec 1999 01:54:09 +0000 (01:54 +0000)]
Pull changes in from krb5-1-1 branch (remvove everything under src/mit)

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

24 years agoPull src/windows changes from krb5-1-1 branch (rename readme -> README)
Danilo Almeida [Sat, 4 Dec 1999 01:52:33 +0000 (01:52 +0000)]
Pull src/windows changes from krb5-1-1 branch (rename readme -> README)

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

24 years agoPull src/windows changes from krb5-1-1 branch
Danilo Almeida [Sat, 4 Dec 1999 01:50:44 +0000 (01:50 +0000)]
Pull src/windows changes from krb5-1-1 branch

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

25 years agoMacOS: only #define MAXHOSTNAMELEN when not already defined
Miro Jurisic [Mon, 22 Nov 1999 22:58:02 +0000 (22:58 +0000)]
MacOS: only #define MAXHOSTNAMELEN when not already defined

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

25 years agoReplaced Kerberos5GlobalsLib calls with CCAPI v3 calls on MacOS
Miro Jurisic [Mon, 22 Nov 1999 22:49:33 +0000 (22:49 +0000)]
Replaced Kerberos5GlobalsLib calls with CCAPI v3 calls on MacOS

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

25 years agoDon't need Kerberos5GlobalsLib, use CCAPI v3 instead
Miro Jurisic [Mon, 22 Nov 1999 22:46:55 +0000 (22:46 +0000)]
Don't need Kerberos5GlobalsLib, use CCAPI v3 instead

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

25 years agoUse CCache2.h under MacOS for CCAPI v2 compat
Miro Jurisic [Mon, 22 Nov 1999 22:44:37 +0000 (22:44 +0000)]
Use CCache2.h under MacOS for CCAPI v2 compat

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

25 years agoUse CCache2.h under MacOS for CCAPI v2 compatibility
Miro Jurisic [Mon, 22 Nov 1999 22:40:13 +0000 (22:40 +0000)]
Use CCache2.h under MacOS for CCAPI v2 compatibility

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

25 years agoRemoved globals lib and 68k targets
Miro Jurisic [Mon, 22 Nov 1999 22:37:10 +0000 (22:37 +0000)]
Removed globals lib and 68k targets

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

25 years ago* krb5_err.et (KRB5_CONFIG_ETYPE_NOSUPP): New error code
Ken Raeburn [Wed, 3 Nov 1999 01:15:49 +0000 (01:15 +0000)]
* krb5_err.et (KRB5_CONFIG_ETYPE_NOSUPP): New error code

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

25 years ago* t_ref_kerb.out: Fix expected zephyr/zephyr output
Ken Raeburn [Wed, 3 Nov 1999 01:09:10 +0000 (01:09 +0000)]
* t_ref_kerb.out: Fix expected zephyr/zephyr output

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

25 years ago* klist.c (one_addr): Always use indicated address family and length in
Ken Raeburn [Tue, 2 Nov 1999 15:38:18 +0000 (15:38 +0000)]
* klist.c (one_addr): Always use indicated address family and length in
gethostbyaddr or getipnodebyaddr calls.

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

25 years ago* configure.in: Invoke KRB5_AC_INET6. Delete most of the 10-17 changes except
Ken Raeburn [Tue, 2 Nov 1999 15:20:31 +0000 (15:20 +0000)]
* configure.in: Invoke KRB5_AC_INET6.  Delete most of the 10-17 changes except
for inet_ntoa/aton, since they're in KRB5_AC_INET6 now.

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

25 years ago* aclocal.m4 (KRB5_AC_INET6): New macro.
Ken Raeburn [Tue, 2 Nov 1999 15:19:27 +0000 (15:19 +0000)]
* aclocal.m4 (KRB5_AC_INET6): New macro.
* acconfig.h (KRB5_USE_INET6): Undef.

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

25 years ago* localaddr.c (krb5_os_localaddr): Conditionalize INET6 support on new
Ken Raeburn [Tue, 2 Nov 1999 15:18:22 +0000 (15:18 +0000)]
* localaddr.c (krb5_os_localaddr): Conditionalize INET6 support on new
KRB5_USE_INET6 macro.

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

25 years ago * krb5_decode_test.c (main): Add test case for zero-length
Tom Yu [Mon, 1 Nov 1999 21:12:13 +0000 (21:12 +0000)]
* krb5_decode_test.c (main): Add test case for zero-length
SequenceOfType.

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

25 years ago * krb5_decode.c (begin_structure): Update to deal with indefinite
Tom Yu [Mon, 1 Nov 1999 21:08:55 +0000 (21:08 +0000)]
* krb5_decode.c (begin_structure): Update to deal with indefinite
encodings better; also call asn1_get_sequence().

* asn1_k_decode.c (sequence_of): Update to deal with indefinite
encodings better.
(begin_structure): Update to deal with indefinite encodings
better; also call asn1_get_sequence().

* asn1_get.h: Update prototypes for asn1_get_tag_indef(),
asn1_get_tag(), asn1_get_sequence(), asn1_get_length().

* asn1_get.c (asn1_get_tag_indef): New function; get tag info,
lengths, etc. as well as flag indicating whether the length is
indefinite.
(asn1_get_tag): Modify to just call asn1_get_tag_indef().
(asn1_get_sequence): Call asn1_get_tag_indef() in order to
determine whether encoding is indefinite length.
(asn1_get_length): Add "indef" arg to indicate whether an encoding
has an indefinite length.

* asn1buf.h: Update asn1buf_imbed() prototype.

* asn1buf.c (asn1buf_imbed): Add "indef" arg so that we don't
treat a definite zero-length encoding as an indefinite encoding.

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

25 years ago* dispatch.c (dispatch): Make message in lookaside case less suggestive of
Ken Raeburn [Fri, 29 Oct 1999 19:25:10 +0000 (19:25 +0000)]
* dispatch.c (dispatch): Make message in lookaside case less suggestive of
replay attacks, since it can result from normal packet loss causing
retransmissions.

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

25 years ago* error_message.c, error_table.h: Added support to use ErrorLib
Alexandra Ellwood [Thu, 28 Oct 1999 21:34:52 +0000 (21:34 +0000)]
* error_message.c, error_table.h: Added support to use ErrorLib
to get MIT Support Library and Mac OS Toolbox error codes
(similar to the way windows does it).

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

25 years agoAdded support to use ErrorLib to get MIT Support Library and Mac OS Toolbox error...
Alexandra Ellwood [Thu, 28 Oct 1999 21:30:27 +0000 (21:30 +0000)]
Added support to use ErrorLib to get MIT Support Library and Mac OS Toolbox error codes (similar to the way windows does it)

Also committed some changes that were on the 1.1 branch.

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

25 years agoAdded support to use ErrorLib to get MIT Support Library and Mac OS Toolbox error...
Alexandra Ellwood [Thu, 28 Oct 1999 21:29:12 +0000 (21:29 +0000)]
Added support to use ErrorLib to get MIT Support Library and Mac OS Toolbox error codes (similar to the way windows does it)

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

25 years ago* accept_sec_context.c (krb5_gss_accept_sec_context): get rid of unused vars
Ken Raeburn [Wed, 27 Oct 1999 00:12:53 +0000 (00:12 +0000)]
* accept_sec_context.c (krb5_gss_accept_sec_context): get rid of unused vars

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

25 years ago* k5seal.c (make_integ_token_v2): Set 'code' when malloc fails
Ken Raeburn [Tue, 26 Oct 1999 23:57:20 +0000 (23:57 +0000)]
* k5seal.c (make_integ_token_v2): Set 'code' when malloc fails

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

25 years agolost date/name line in last checkin
Ken Raeburn [Tue, 26 Oct 1999 22:29:19 +0000 (22:29 +0000)]
lost date/name line in last checkin

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

25 years ago* trval.c (print_tag_type): Use fputs when there's no formatting to do
Ken Raeburn [Tue, 26 Oct 1999 22:12:27 +0000 (22:12 +0000)]
* trval.c (print_tag_type): Use fputs when there's no formatting to do

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

25 years agolog tritan's changes
Tom Yu [Tue, 26 Oct 1999 20:38:54 +0000 (20:38 +0000)]
log tritan's changes

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

25 years agoClean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES such
Wilfredo Sanchez [Tue, 26 Oct 1999 01:49:53 +0000 (01:49 +0000)]
Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES such
that one can override CFLAGS from the command line without losing CPP
search patchs and defines. Some associated Makefile cleanup.

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

25 years ago* asn1_decode.c (asn1_decode_integer): Initialize "n", to keep gcc happy
Ken Raeburn [Fri, 22 Oct 1999 23:14:11 +0000 (23:14 +0000)]
* asn1_decode.c (asn1_decode_integer): Initialize "n", to keep gcc happy

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

25 years agofix typos in comments
Ken Raeburn [Fri, 22 Oct 1999 22:32:24 +0000 (22:32 +0000)]
fix typos in comments

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

25 years agoSilence gcc longjmp warnings:
Ken Raeburn [Fri, 22 Oct 1999 22:17:35 +0000 (22:17 +0000)]
Silence gcc longjmp warnings:
* prompter.c (krb5_prompter_posix): Make ointrfunc, fd, and errcode volatile.
* promptusr.c (krb5_os_get_tty_uio): Make ointrfunc and retval volatile.
* read_pwd.c (krb5_read_password): Make ointrfunc volatile.  Fix volatile decl
for readin_string (pointer is volatile, doesn't point to volatile).

* changepw.c (krb5_change_password): Wait only two minutes, not indefinitely,
for a response from the kpasswd server.

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

25 years agoFixed strong link against DriverServicesLib
Miro Jurisic [Tue, 19 Oct 1999 22:45:47 +0000 (22:45 +0000)]
Fixed strong link against DriverServicesLib

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

25 years ago* localaddr.c (krb5_os_localaddr): Don't bother trying to create inet6 socket; any...
Ken Raeburn [Mon, 18 Oct 1999 05:18:56 +0000 (05:18 +0000)]
* localaddr.c (krb5_os_localaddr): Don't bother trying to create inet6 socket; any socket type will do

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

25 years agoIf INET6 support is built in but the socket creation fails, fall back to INET
Ken Raeburn [Sun, 17 Oct 1999 07:34:05 +0000 (07:34 +0000)]
If INET6 support is built in but the socket creation fails, fall back to INET

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

25 years agodisplay ipv6 addresses if supported
Ken Raeburn [Sun, 17 Oct 1999 07:27:19 +0000 (07:27 +0000)]
display ipv6 addresses if supported

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

25 years ago* localaddr.c (krb5_os_localaddr): Raise buffer size to 10K. Handle INET6
Ken Raeburn [Sun, 17 Oct 1999 07:16:32 +0000 (07:16 +0000)]
* localaddr.c (krb5_os_localaddr): Raise buffer size to 10K.  Handle INET6
addresses.

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

25 years ago* configure.in: Check for inet_{ntop,pton,ntoa,aton},
Ken Raeburn [Sun, 17 Oct 1999 07:15:28 +0000 (07:15 +0000)]
* configure.in: Check for inet_{ntop,pton,ntoa,aton},
getipnodeby{name,addr}, get{name,addr}info.

* krb5.hin (ADDRTYPE_INET6): Define.

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

25 years ago* conv_princ.c (sconv_list): Don't do conversion for "zephyr" principal.
Ken Raeburn [Tue, 12 Oct 1999 23:13:39 +0000 (23:13 +0000)]
* conv_princ.c (sconv_list): Don't do conversion for "zephyr" principal.
(Noticed by Derrick Brashear.)  Delete about a dozen duplicate entries.

* str_conv.c (dt_output_donly, dt_output_dhms, dt_output_hms,
sftime_default_fmt): Replace char arrays with macros, so gcc can do better
format-string checking.

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

25 years agoghudson patch for resource leak krb5-libs/769
Ken Raeburn [Thu, 7 Oct 1999 22:01:28 +0000 (22:01 +0000)]
ghudson patch for resource leak krb5-libs/769

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

25 years agoreplace char arrays with macros for gcc format checking; provide format str to syslog
Ken Raeburn [Wed, 29 Sep 1999 02:06:36 +0000 (02:06 +0000)]
replace char arrays with macros for gcc format checking; provide format str to syslog

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

25 years agomake changepw compile again even without dns support
Ken Raeburn [Wed, 29 Sep 1999 01:11:00 +0000 (01:11 +0000)]
make changepw compile again even without dns support

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

25 years agojaltman dns patches
Ken Raeburn [Fri, 24 Sep 1999 22:36:01 +0000 (22:36 +0000)]
jaltman dns patches

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

25 years agocopyright notice updates from 1.1 branch
Ken Raeburn [Fri, 24 Sep 1999 21:20:59 +0000 (21:20 +0000)]
copyright notice updates from 1.1 branch

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

25 years agocopyright and fprintf-format changes from 1.1
Ken Raeburn [Fri, 24 Sep 1999 21:13:01 +0000 (21:13 +0000)]
copyright and fprintf-format changes from 1.1

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

25 years ago1.1 readme updates
Ken Raeburn [Tue, 21 Sep 1999 23:52:57 +0000 (23:52 +0000)]
1.1 readme updates

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

25 years ago1.1 updates
Ken Raeburn [Tue, 21 Sep 1999 23:07:09 +0000 (23:07 +0000)]
1.1 updates

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

25 years agoinstall port-sockets.h for krb.h to use
Ken Raeburn [Tue, 21 Sep 1999 23:05:48 +0000 (23:05 +0000)]
install port-sockets.h for krb.h to use

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

25 years ago* osconf.h (KPASSWD_PORTNAME): Define
Ken Raeburn [Tue, 21 Sep 1999 23:03:36 +0000 (23:03 +0000)]
* osconf.h (KPASSWD_PORTNAME): Define

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

25 years agoTom's patch:
Ken Raeburn [Tue, 21 Sep 1999 23:02:41 +0000 (23:02 +0000)]
Tom's patch:
* do_tgs_req.c (process_tgs_req): Don't try to take the 2nd
component of a principal that doesn't have 2 components.

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

25 years ago* rc_dfl.c (krb5_rc_io_fetch): Set client and server fields to
Ken Raeburn [Tue, 21 Sep 1999 23:00:16 +0000 (23:00 +0000)]
* rc_dfl.c (krb5_rc_io_fetch): Set client and server fields to
NULL after freeing them in the error case.

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

25 years ago* adb_openclose.c (osa_adb_fini_db): Don't fclose the lock file if
Ken Raeburn [Tue, 21 Sep 1999 22:58:07 +0000 (22:58 +0000)]
* adb_openclose.c (osa_adb_fini_db): Don't fclose the lock file if
the lock is permanent, because it's already been done.

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

25 years agoDon't fclose(NULL). Don't declare string functions that are macros
Ken Raeburn [Tue, 21 Sep 1999 22:56:49 +0000 (22:56 +0000)]
Don't fclose(NULL).  Don't declare string functions that are macros

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

25 years agorhapsody fixes from 1.1 branch
Ken Raeburn [Tue, 21 Sep 1999 22:47:18 +0000 (22:47 +0000)]
rhapsody fixes from 1.1 branch

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

25 years ago* Makefile.in (unit-test-body-tcp, unit-test-body-udp): Pass $(RUNTESTFLAGS) to
Ken Raeburn [Tue, 21 Sep 1999 21:40:04 +0000 (21:40 +0000)]
* Makefile.in (unit-test-body-tcp, unit-test-body-udp): Pass $(RUNTESTFLAGS) to
runtest.

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

25 years ago* api.2/init-v2.exp (test109): Wait for prompt between commands
Ken Raeburn [Tue, 21 Sep 1999 21:38:09 +0000 (21:38 +0000)]
* api.2/init-v2.exp (test109): Wait for prompt between commands

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

25 years agoMinor tweak: changed reference to "Kerberos profile library" to "Kerberos 5 profile...
Miro Jurisic [Tue, 14 Sep 1999 21:02:30 +0000 (21:02 +0000)]
Minor tweak: changed reference to "Kerberos profile library" to "Kerberos 5 profile library"

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

25 years agoFixed icon URL
Miro Jurisic [Tue, 14 Sep 1999 16:25:31 +0000 (16:25 +0000)]
Fixed icon URL

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

25 years agoRemove #define HAVE_STRING_H from MacOS part of win-mac.h (oops)
Miro Jurisic [Mon, 13 Sep 1999 19:04:51 +0000 (19:04 +0000)]
Remove #define HAVE_STRING_H from MacOS part of win-mac.h (oops)

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

25 years agoAdded #define HAVE_STRING_H to win-mac.h
Miro Jurisic [Mon, 13 Sep 1999 18:38:32 +0000 (18:38 +0000)]
Added #define HAVE_STRING_H to win-mac.h

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

25 years agoRemoved the bogus Catenate -y in autoconf.h rule
Miro Jurisic [Mon, 13 Sep 1999 18:17:58 +0000 (18:17 +0000)]
Removed the bogus Catenate -y in autoconf.h rule

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

25 years agoFixed the headers target
Miro Jurisic [Mon, 13 Sep 1999 18:11:44 +0000 (18:11 +0000)]
Fixed the headers target

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

25 years agoUpdated for 2.5b2 and 2.5fc2
Miro Jurisic [Fri, 10 Sep 1999 19:06:11 +0000 (19:06 +0000)]
Updated for 2.5b2 and 2.5fc2

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

25 years agoAdded
Miro Jurisic [Fri, 10 Sep 1999 19:04:32 +0000 (19:04 +0000)]
Added

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

25 years agoAdded more documentation and rearranged headers
Miro Jurisic [Fri, 10 Sep 1999 19:04:10 +0000 (19:04 +0000)]
Added more documentation and rearranged headers

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

25 years agoalexis mac os x updates from 1.1 branch
Ken Raeburn [Wed, 8 Sep 1999 22:17:46 +0000 (22:17 +0000)]
alexis mac os x updates from 1.1 branch

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

25 years agoReplacd Duplicate with Catenate to avoid mod date weirdness
Miro Jurisic [Wed, 8 Sep 1999 20:15:34 +0000 (20:15 +0000)]
Replacd Duplicate with Catenate to avoid mod date weirdness

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

25 years ago1.1 updates
Ken Raeburn [Tue, 7 Sep 1999 22:22:57 +0000 (22:22 +0000)]
1.1 updates

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

25 years agoAdded
Miro Jurisic [Tue, 7 Sep 1999 17:28:35 +0000 (17:28 +0000)]
Added

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

25 years agoupdated with 1.1 info, but made clearly distinct from 1.1
Ken Raeburn [Thu, 2 Sep 1999 21:53:16 +0000 (21:53 +0000)]
updated with 1.1 info, but made clearly distinct from 1.1

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

25 years agoDanilo's updates for building windows zip file
Ken Raeburn [Thu, 2 Sep 1999 21:52:45 +0000 (21:52 +0000)]
Danilo's updates for building windows zip file

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

25 years agoexport krb5_kuserok on windows
Ken Raeburn [Thu, 2 Sep 1999 21:43:00 +0000 (21:43 +0000)]
export krb5_kuserok on windows

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

25 years agofrom 1.1 branch
Ken Raeburn [Thu, 2 Sep 1999 21:39:46 +0000 (21:39 +0000)]
from 1.1 branch

1999-09-01  Danilo Almeida  <dalmeida@mit.edu>

* kuserok.c (krb5_kuserok): Fix improper negation in
non-Unix localname check.  Also fix calling convention
before this function is exported by the Windows DLL.

* localaddr.c (krb5_os_localaddr): Fix memset to clear
right address list.  (Thanks to jaltman@columbia.edu).

1999-09-01  Ken Raeburn  <raeburn@mit.edu>

* get_krbhst.c (krb5_get_krbhst): Fix double-indirection
confusion.  Do actually copy string contents to newly allocated
storage.

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

25 years agofrom 1.1 branch:
Ken Raeburn [Wed, 1 Sep 1999 21:55:49 +0000 (21:55 +0000)]
from 1.1 branch:

* init_ctx.c (get_profile_etype_list): Update name of the des3 entry in the
default etype list.

* init_ctx.c (get_profile_etype_list): New argument DESONLY; if set, ignore any
ktype values other than NULL, DES_CBC_CRC, and DES_CBC_MD5.
(krb5_get_default_in_tkt_ktypes, krb5_get_tgs_ktypes): Set it.
(krb5_get_permitted_enctypes): Don't set it.

* fwd_tgt.c (krb5_fwd_tgt_creds): Use KRB5_TC_SUPPORTED_KTYPES when calling
krb5_cc_retrieve_cred.
* gc_frm_kdc.c (krb5_get_cred_from_kdc_opt): Ditto.
* get_creds.c (krb5_get_credentials_core): Set that flag.
(krb5_get_credentials): Check for KRB5_CC_NOT_KTYPE error return.

* t_ser.c (main): Disable eblock serialization test, since the code it tests
was disabled nearly a year ago.

* str_conv.c (krb5_timestamp_to_sfstring): Don't pass extra argument to
sprintf.

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

25 years agouse KRB5_TC_SUPPORTED_KTYPES
Ken Raeburn [Wed, 1 Sep 1999 21:53:38 +0000 (21:53 +0000)]
use KRB5_TC_SUPPORTED_KTYPES

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

25 years agofrom 1.1 branch:
Ken Raeburn [Wed, 1 Sep 1999 21:51:42 +0000 (21:51 +0000)]
from 1.1 branch:

* krlogin.c (main): Error out if -D isn't followed by another argument.  Based
on patch from Brad Thompson.

* krshd.c (v4_kdata, v4_ticket): Don't define if KRB5_KRB4_COMPAT is not
defined.  Patch from Brad Thompson.

* kcmd.c (kcmd): If krb5_get_credentials returns a nonzero error code, print an
error message before returning.

* krlogin.c (main): If ospeed is outside of compiled-in table index range but
not high enough to be a baud rate, use the highest rate in the table.

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

25 years agojaltman's principal-name check from 1.1 branch, indentation fixed
Ken Raeburn [Wed, 1 Sep 1999 21:50:32 +0000 (21:50 +0000)]
jaltman's principal-name check from 1.1 branch, indentation fixed

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

25 years agotestcase fixes from 1.1 branch:
Ken Raeburn [Wed, 1 Sep 1999 21:47:24 +0000 (21:47 +0000)]
testcase fixes from 1.1 branch:

* t_kdb.c (add_principal): Free only contents of a generated key, since the
keyblock structure itself is on the stack.

* t_kdb.c (add_principal): Update for new calling sequence to
krb5_dbekd_encrypt_key_data.
(do_testing): Update calls.

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

25 years agolook up local hostname instead of using 'localhost'; pass RUNTESTFLAGS
Ken Raeburn [Wed, 1 Sep 1999 21:46:13 +0000 (21:46 +0000)]
look up local hostname instead of using 'localhost'; pass RUNTESTFLAGS

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

25 years agodisable krb5-mech2 for now; from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 21:41:50 +0000 (21:41 +0000)]
disable krb5-mech2 for now; from 1.1 branch

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

25 years agoFrom 1.1 branch:
Ken Raeburn [Wed, 1 Sep 1999 21:15:34 +0000 (21:15 +0000)]
From 1.1 branch:

1999-09-01  Danilo Almeida  <dalmeida@mit.edu>
* klist.c (do_ccache, show_credential): Use krb5_free_unparsed_name
instead of free.

1999-08-26  Danilo Almeida  <dalmeida@mit.edu>
* klist.c (show_credential): Index addresses array with i
in a loop instead of 1.  (Thanks to jaltman@columbia.edu)

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

25 years agofix uninit var; make compile on sunos4. from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 21:14:38 +0000 (21:14 +0000)]
fix uninit var; make compile on sunos4. from 1.1 branch

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

25 years agoDanilo's SendMessage->PostMessage change from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 21:14:01 +0000 (21:14 +0000)]
Danilo's SendMessage->PostMessage change from 1.1 branch

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

25 years ago1.1 updates; mostly des3 doc and y2k fixes
Ken Raeburn [Wed, 1 Sep 1999 21:12:54 +0000 (21:12 +0000)]
1.1 updates; mostly des3 doc and y2k fixes

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

25 years agoimplement KRB5_TC_SUPPORTED_KTYPES and common _retrieve methods; from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 21:12:02 +0000 (21:12 +0000)]
implement KRB5_TC_SUPPORTED_KTYPES and common _retrieve methods; from 1.1 branch

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

25 years agonew error code for multi-cryptosystem support, from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 21:10:02 +0000 (21:10 +0000)]
new error code for multi-cryptosystem support, from 1.1 branch

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

25 years agoDanilo's const_profile_filespec_t and other changes from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 21:09:09 +0000 (21:09 +0000)]
Danilo's const_profile_filespec_t and other changes from 1.1 branch

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

25 years agodes3 testing. move out principal expiration time in test db by 30 years
Ken Raeburn [Wed, 1 Sep 1999 21:06:55 +0000 (21:06 +0000)]
des3 testing.  move out principal expiration time in test db by 30 years

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

25 years agoFrom 1.1 branch.
Ken Raeburn [Wed, 1 Sep 1999 20:59:34 +0000 (20:59 +0000)]
From 1.1 branch.
Indented krb5_cc macros for readability, plus:

1999-08-31  Jeffrey Altman <jaltman@columbia.edu>

    * k5-int.h:  Add #define ANSI_STDIO for Windows builds so that
                 stdio opens files in binary mode instead of text
                 mode.  This is necessary for Ctrl-Z transparency.

1999-08-30  Ken Raeburn  <raeburn@mit.edu>

* configure.in: Check for memmove and bcopy.

* Makefile.in (install): Install profile.h since krb5.h will use
it.

1999-08-26  Danilo Almeida  <dalmeida@mit.edu>

* krb5.hin (krb5_kuserok): Fix calling convention to make it
consistent with rest of krb5 exports before we start exporting
this from the Windows DLL.

1999-08-25  Danilo Almeida  <dalmeida@mit.edu>

* k5-int.h (krb5_cc_retrieve_cred_default): Fix calling convention
to make it consistent with actual calling convention.

1999-08-23  Ken Raeburn  <raeburn@mit.edu>

* krb5.hin (KRB5_TC_SUPPORTED_KTYPES): New flag.
* k5-int.h (krb5_cc_retrieve_cred_default): Declare.

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

25 years agoTom's cryptosystem alias entries from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 20:44:39 +0000 (20:44 +0000)]
Tom's cryptosystem alias entries from 1.1 branch

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