krb5.git
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

25 years agomemmove/bcopy fix from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 19:58:29 +0000 (19:58 +0000)]
memmove/bcopy fix from 1.1 branch

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

25 years agoforce single-des session keys until we've got multiple-cryptosystem stuff working...
Ken Raeburn [Wed, 1 Sep 1999 19:57:12 +0000 (19:57 +0000)]
force single-des session keys until we've got multiple-cryptosystem stuff working better

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

25 years agoDisable outdated test suite. Update an expiration date that has already passed
Ken Raeburn [Wed, 1 Sep 1999 19:55:45 +0000 (19:55 +0000)]
Disable outdated test suite.  Update an expiration date that has already passed
in the test code, putting it into the future again.

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

25 years agoy2k fix from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 19:54:26 +0000 (19:54 +0000)]
y2k fix from 1.1 branch

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

25 years agorhapsody and 'make -k' fixes from 1.1 branch
Ken Raeburn [Wed, 1 Sep 1999 19:53:45 +0000 (19:53 +0000)]
rhapsody and 'make -k' fixes from 1.1 branch

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

25 years agoUpdated the glue to the most recent list of functions (as per .h files)
Miro Jurisic [Tue, 31 Aug 1999 21:30:55 +0000 (21:30 +0000)]
Updated the glue to the most recent list of functions (as per .h files)

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

25 years agoRemoved *_nt_* variables from the export list
Miro Jurisic [Tue, 31 Aug 1999 21:30:10 +0000 (21:30 +0000)]
Removed *_nt_* variables from the export list

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

25 years agoDisabled echoing by default
Miro Jurisic [Tue, 31 Aug 1999 21:29:03 +0000 (21:29 +0000)]
Disabled echoing by default

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

25 years ago * Makefile.in (kshd): Remove $(LOGINLIBS) from kshd dependencies
Tom Yu [Tue, 24 Aug 1999 19:55:09 +0000 (19:55 +0000)]
* Makefile.in (kshd): Remove $(LOGINLIBS) from kshd dependencies

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

25 years agoUse multiple addresses, if present, on Mac and Windows
Danilo Almeida [Sat, 21 Aug 1999 15:12:50 +0000 (15:12 +0000)]
Use multiple addresses, if present, on Mac and Windows

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

25 years agoFixed missing include gssapi.h
Miro Jurisic [Fri, 20 Aug 1999 19:32:15 +0000 (19:32 +0000)]
Fixed missing include gssapi.h

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

25 years agoadded ccache cleanup to CFM termination procs
Miro Jurisic [Fri, 20 Aug 1999 19:07:24 +0000 (19:07 +0000)]
added ccache cleanup to CFM termination procs

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

25 years agoAdded ccache cleanup to CFm termination procs
Miro Jurisic [Fri, 20 Aug 1999 19:06:44 +0000 (19:06 +0000)]
Added ccache cleanup to CFm termination procs

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

25 years ago2.5a3 became 2.5b1, fixed version numbers
Miro Jurisic [Fri, 20 Aug 1999 19:02:04 +0000 (19:02 +0000)]
2.5a3 became 2.5b1, fixed version numbers

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

25 years agoUpdated for 2.5b1
Miro Jurisic [Fri, 20 Aug 1999 19:01:18 +0000 (19:01 +0000)]
Updated for 2.5b1

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

25 years ago * krb524d.c (do_connection): Convert to using new symbol for
Tom Yu [Thu, 19 Aug 1999 00:25:21 +0000 (00:25 +0000)]
* krb524d.c (do_connection): Convert to using new symbol for
DES3.

* cnv_tkt_skey.c (krb524_convert_tkt_skey): Convert to using new
symbol for DES3.

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

25 years ago * kerberos_v4.c (compat_decrypt_key): Align DES3 enctypes with
Tom Yu [Wed, 18 Aug 1999 23:43:04 +0000 (23:43 +0000)]
* kerberos_v4.c (compat_decrypt_key): Align DES3 enctypes with
current names.
(kerb_get_principal): Align DES3 enctypes with current names.

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

25 years ago * etypes.c: Update des3-cbc-sha1 to alignt with new number
Tom Yu [Wed, 18 Aug 1999 23:41:58 +0000 (23:41 +0000)]
* etypes.c: Update des3-cbc-sha1 to alignt with new number
assignments.

* cksumtypes.c: Update hmac-sha1-des3 to align with new number
assignments.

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

25 years ago * krb5.hin: Re-align des3-cbc-sha1 and hmac-sha1-des3 to agree
Tom Yu [Wed, 18 Aug 1999 23:40:48 +0000 (23:40 +0000)]
* krb5.hin: Re-align des3-cbc-sha1 and hmac-sha1-des3 to agree
with new number assignments; also rename symbols a little bit.

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

25 years agoRemoved com_err functions from profile.exp
Miro Jurisic [Wed, 18 Aug 1999 19:53:14 +0000 (19:53 +0000)]
Removed com_err functions from profile.exp

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

25 years agoAdded et.exp
Miro Jurisic [Wed, 18 Aug 1999 19:34:42 +0000 (19:34 +0000)]
Added et.exp

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

25 years agoRemoved com_err exports
Miro Jurisic [Wed, 18 Aug 1999 19:32:47 +0000 (19:32 +0000)]
Removed com_err exports

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

25 years agoAdded com_err library
Miro Jurisic [Wed, 18 Aug 1999 19:31:31 +0000 (19:31 +0000)]
Added com_err library

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

25 years agoAdded com_err file lists
Miro Jurisic [Wed, 18 Aug 1999 19:31:20 +0000 (19:31 +0000)]
Added com_err file lists

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

25 years ago* ktutil_funcs.c (ktutil_add): Cleanup newly allocated keytab
Geoffrey King [Wed, 18 Aug 1999 00:38:13 +0000 (00:38 +0000)]
* ktutil_funcs.c (ktutil_add): Cleanup newly allocated keytab
entry and tail of linked list when an error occurs.

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

25 years ago * mkrel (reldate): Fix to deal with release branch snapshots
Tom Yu [Tue, 17 Aug 1999 02:09:49 +0000 (02:09 +0000)]
* mkrel (reldate): Fix to deal with release branch snapshots

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

25 years agoUpdated for 2.5a2
Miro Jurisic [Mon, 16 Aug 1999 18:09:56 +0000 (18:09 +0000)]
Updated for 2.5a2

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

25 years agoAdded "addent" command to allow creation of new keytab entries by
Geoffrey King [Mon, 16 Aug 1999 11:50:19 +0000 (11:50 +0000)]
Added "addent" command to allow creation of new keytab entries by
specifying a key or password, a principal, a kvno, and an enctype.

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

25 years ago * README.NOT.SLEEPYCAT.DB: New file; pointer to README to
Tom Yu [Mon, 16 Aug 1999 00:48:26 +0000 (00:48 +0000)]
* README.NOT.SLEEPYCAT.DB: New file; pointer to README to
hopefully unconfuse people.

* README: Add notice to the effect that this is not Berkeley or
Sleepycat DB.

* README.db2: Renamed from README.

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

25 years agoconfig.sub: Now recognizes MacOS 10 as a valid OS
Brad Thompson [Fri, 13 Aug 1999 23:40:45 +0000 (23:40 +0000)]
config.sub: Now recognizes MacOS 10 as a valid OS

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

25 years agoaclocal.m4: Added MacOS X shared library support
Brad Thompson [Fri, 13 Aug 1999 23:38:56 +0000 (23:38 +0000)]
aclocal.m4: Added MacOS X shared library support

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

25 years agoInitializes some variables so that they do not end up in the common block
Brad Thompson [Fri, 13 Aug 1999 23:34:27 +0000 (23:34 +0000)]
Initializes some variables so that they do not end up in the common block

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

25 years agoInitialize __krb_sendauth_hidden_tkt_len so it doesn't end up in the
Brad Thompson [Fri, 13 Aug 1999 23:23:00 +0000 (23:23 +0000)]
Initialize __krb_sendauth_hidden_tkt_len so it doesn't end up in the
common block.

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

25 years agoInitialize swap_bytes so that it doesn't end up in the common block
Brad Thompson [Fri, 13 Aug 1999 23:21:31 +0000 (23:21 +0000)]
Initialize swap_bytes so that it doesn't end up in the common block

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

25 years agoNow recognizes MacOS 10 as a valid OS
Brad Thompson [Fri, 13 Aug 1999 23:19:39 +0000 (23:19 +0000)]
Now recognizes MacOS 10 as a valid OS

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

25 years agoAdded MacOS X shared library support
Brad Thompson [Fri, 13 Aug 1999 23:18:54 +0000 (23:18 +0000)]
Added MacOS X shared library support

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

25 years agochpw.c (krb5_mk_chpw_req):
Alexandra Ellwood [Tue, 10 Aug 1999 20:18:47 +0000 (20:18 +0000)]
chpw.c (krb5_mk_chpw_req):
Added call to free cipherpw.data.  cipherpw.data is allocated
by krb5_mk_priv and passed back.  Since cipherpw is never
passed back, krb5_mk_chpw_req should free it.

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

25 years ago1999-08-10 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Tue, 10 Aug 1999 20:18:27 +0000 (20:18 +0000)]
1999-08-10 Alexandra Ellwood <lxs@mit.edu>

* chpw.c (krb5_mk_chpw_req):
Added call to free cipherpw.data.  cipherpw.data is allocated
by krb5_mk_priv and passed back.  Since cipherpw is never
passed back, krb5_mk_chpw_req should free it.

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

25 years ago(krb5_change_password):
Alexandra Ellwood [Tue, 10 Aug 1999 20:16:15 +0000 (20:16 +0000)]
(krb5_change_password):
Reorganized code so that krb5_change_password actually frees
everything it allocated on error.  Also fixed some memory
leaks which happened even without an error occurring.

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

25 years ago1999-08-10 Alexandra Ellwood <lxs@mit.edu>
Alexandra Ellwood [Tue, 10 Aug 1999 20:15:51 +0000 (20:15 +0000)]
1999-08-10 Alexandra Ellwood <lxs@mit.edu>

* changepw.c (krb5_change_password):
Reorganized code so that krb5_change_password actually frees
everything it allocated on error.  Also fixed some memory
leaks which happened even without an error occurring.

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

25 years agoDefine MAXPATHLEN only if not already define. This helps avoid
Danilo Almeida [Tue, 10 Aug 1999 02:02:36 +0000 (02:02 +0000)]
Define MAXPATHLEN only if not already define.  This helps avoid
build warnings.

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