Ken Raeburn [Sat, 22 Jan 2000 04:30:57 +0000 (04:30 +0000)]
* krb5.conf: Put primary KDC for Cygnus first. Add GNU.ORG realm
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11961
dc483132-0cff-0310-8789-
dd5450dbe970
Miro Jurisic [Sat, 22 Jan 2000 04:04:36 +0000 (04:04 +0000)]
Moved krb5, gss, and crypto library initialization/cleanup code into new dedicated functions; added code to release global state allocated in prng.c
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11960
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 22 Jan 2000 03:49:56 +0000 (03:49 +0000)]
Various changes to:
* make most non-changing data const
* silence "gcc -Wall -Werror" complaints on sparc-solaris2.6
** delete unused functions and variables
** change if(a=b) ... to if((a=b)) or if((a=b)!=0) [yeah, kinda gratuitous]
** insert extra braces for 2-D arrays
* some basic thread safety checks
Not changing afsstring2key.c until I make sure I've got some tests for it.
Currently, prng.c and afsstring2key.c, at least, still aren't thread-safe.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11959
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 22 Jan 2000 02:53:02 +0000 (02:53 +0000)]
* prng.c (enc): Now static and const, and points to const
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11958
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Sat, 22 Jan 2000 02:42:19 +0000 (02:42 +0000)]
Avoid non-const static data, and gcc warnings Solaris, except afsstring2key.c:
* f_sched.c (PC2_C, PC2_D): Put braces around sub-arrays.
* f_tables.c (des_SP_table): Ditto.
* weak_key.c (weak): Now const.
(mit_des_is_weak_key): Adjust pointer type accordingly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11957
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 15 Dec 1999 02:14:55 +0000 (02:14 +0000)]
from 1.1 branch: use init_secure_context
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11956
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 15 Dec 1999 02:10:15 +0000 (02:10 +0000)]
* krb5.hin (krb5_secure_config_files): Delete declaration.
(krb5_init_secure_context): Declare.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11955
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Wed, 15 Dec 1999 02:09:32 +0000 (02:09 +0000)]
1.1 branch changes -> trunk
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11954
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:57:03 +0000 (21:57 +0000)]
merge from 1.1 branch
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11952
dc483132-0cff-0310-8789-
dd5450dbe970
Ken Raeburn [Mon, 6 Dec 1999 21:54:10 +0000 (21:54 +0000)]
* logger.c (klog_vsyslog): Convert pid_t to long for printing
* alt_prof.c (kadm5_get_config_params): Fix bug in direction of
test while walking through whitespace. Thanks to Matt Crawford.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11951
dc483132-0cff-0310-8789-
dd5450dbe970
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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