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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Danilo Almeida [Tue, 10 Aug 1999 00:20:15 +0000 (00:20 +0000)]
Use standard windows exe link flags
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11637
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Tue, 10 Aug 1999 00:19:25 +0000 (00:19 +0000)]
Build kpasswd under windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11636
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Mon, 9 Aug 1999 21:46:49 +0000 (21:46 +0000)]
Provide Win32 implementation so that kinit and such work under Win32
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11635
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Mon, 9 Aug 1999 21:45:25 +0000 (21:45 +0000)]
Make sure we have FQDN in the case where we use gethostname
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11634
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Sat, 7 Aug 1999 17:25:20 +0000 (17:25 +0000)]
Fixed file list generation
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11631
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Fri, 6 Aug 1999 17:35:26 +0000 (17:35 +0000)]
Fixed file list generation to work from any directory
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11630
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Fri, 6 Aug 1999 16:07:04 +0000 (16:07 +0000)]
* def_realm.c (krb5_get_default_realm): Check that we have
a realm before trying to copy it (since profile_get_string
may return no error but not get anything).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11629
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Fri, 6 Aug 1999 15:58:47 +0000 (15:58 +0000)]
Fix calling convention for krb5_get_profile
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11628
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 5 Aug 1999 20:37:59 +0000 (20:37 +0000)]
Keep invariant that profile_in_memory member of context
is only sensible if KRB5_DNS_LOOKUP is defined.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11627
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 5 Aug 1999 20:37:18 +0000 (20:37 +0000)]
* t_std_conf.c (test_get_krbhst): Use krb5_free_krbhst to
free buffers allocated by krb5_get_krbhst.
* locate_kdc.c (_krb5_use_dns): Add _krb_use_dns to abstract
away looking up of whether we use DNS or not in the profile.
* ktdefname.c (krb5_kt_default_name): Use profile_release_string
instead of free to free string allocated by profile_get_string.
* get_krbhst.c (krb5_get_krbhst): Copy results from profile_get_values
into malloc'ed buffers so we can safely free them later. Also call
profile_free_list on the original values.
* locate_kdc.c (krb5_locate_kdc):
* hst_realm.c (krb5_get_host_realm):
* def_realm.c (krb5_get_default_realm): Use _krb5_use_dns to figure
out whether to use DNS or not instead of directly reading the
profile in this routine.
* realm_dom.c (krb5_get_realm_domain):
* hst_realm.c (krb5_get_host_realm):
* def_realm.c (krb5_get_default_realm): Copy results of
profile_get_string into malloc'ed buffer so it can safely be free'd
later.
* locate_kdc.c (krb5_locate_srv_conf):
* def_realm.c (krb5_get_default_realm):
* changepw.c (krb5_change_password):
* an_to_ln.c (krb5_aname_to_localname): Use profile_free_list
to free values allocated by profile_get_values.
* init_os_ctx.c (os_init_paths): Wrap use of ctx->profile_in_memory
with KRB5_DNS_LOOKUP. Use pointer value to determine whether to free
files by checking the files value rather than depending on the
return value.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11626
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 5 Aug 1999 20:36:27 +0000 (20:36 +0000)]
Document why krb5_win_ccdll_load is called way early in code.
(It is because we need to have the ccapi stuff loaded before trying
to get the OS-specific context initialization where we figure out
default cache names and such.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11625
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 5 Aug 1999 20:26:47 +0000 (20:26 +0000)]
* init_ctx.c (get_profile_etype_list): Use profile_release_string
to free string allocated by profile_get_string.
(krb5_init_context): Use a real context for krb5_win_ccdll_load.
* get_in_tkt.c (krb5_appdefault_string):
* conv_princ.c (krb5_425_conv_principal): Use profile_free_list
to free values allocated by profile_get_values.
* get_in_tkt.c (_krb5_conf_boolean, krb5_appdefault_boolean):
Rename krb5_conf_boolean to _krb5_conf_boolean to denote that
it is not public so that folks outside the libraries won't
be tempted to use it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11624
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 5 Aug 1999 20:08:52 +0000 (20:08 +0000)]
Remove profile_free_string because we already have profile_release_string
(who named these things anyhow?)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11623
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Thu, 5 Aug 1999 19:37:54 +0000 (19:37 +0000)]
Add profile_free_string to free strings allocated by profile_get_string
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11622
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Thu, 5 Aug 1999 15:40:12 +0000 (15:40 +0000)]
* stdcc_util.c (deep_free_cc_v5_creds):
Added free(creds) so that the cc_creds gets freed when a
cred_union gets freed. Before it was leaking memory.
I searched the k5 sources for folks calling deep_free_cc_v5_creds
and my change seems to not break anyone else.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11621
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Thu, 5 Aug 1999 15:35:16 +0000 (15:35 +0000)]
Added free(creds) to deep_free_cc_v5_creds so that someone is freeing the cc_creds when a cred_union gets freed. Before it was leaking memory
I searched the k5 sources for folks calling deep_free_cc_v5_creds and my change seems to not break anything.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11620
dc483132-0cff-0310-8789-
dd5450dbe970
Danilo Almeida [Wed, 4 Aug 1999 03:18:29 +0000 (03:18 +0000)]
Intialize out_creds pointer to 0 and then check whether it is 0 before
trying to dereference it, in case lower-level routine failed to assign
a value to it.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11619
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Aug 1999 21:29:17 +0000 (21:29 +0000)]
Update dump-utmp from KerbNet 1.2.
Add makefile rules for building dump-utmp on request.
Fix line id for console on Solaris. (PR561)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11618
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Tue, 3 Aug 1999 21:19:04 +0000 (21:19 +0000)]
prof_file.c (profile_open_file)
Mac OS side now sets profile->magic to PROF_MAGIC_FILE
so the rest of the functions think it's a real profile.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11617
dc483132-0cff-0310-8789-
dd5450dbe970
Alexandra Ellwood [Tue, 3 Aug 1999 21:18:24 +0000 (21:18 +0000)]
stdcc.c (krb5_stdcc_destroy):
Added code to free the krb5_ccache like krb5_stdcc_close does
so we don't leak memory.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11616
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Tue, 3 Aug 1999 20:37:37 +0000 (20:37 +0000)]
* krb5.hin: Wrap all declarations in `extern "C"' for C++, not just some. Move
header file inclusions up above extern-C block. (Fixes PR 729 from Chas
Williams.)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11615
dc483132-0cff-0310-8789-
dd5450dbe970