]>
git.ipfire.org Git - thirdparty/krb5.git/log
Marc Horowitz [Wed, 28 Oct 1998 02:33:38 +0000 (02:33 +0000)]
merge from mainline
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@11000
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 28 Oct 1998 01:34:48 +0000 (01:34 +0000)]
add fundsxpress copyrights
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10999
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 27 Oct 1998 08:17:42 +0000 (08:17 +0000)]
Add changelog entries for all the changed and added files
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10996
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 27 Oct 1998 08:08:29 +0000 (08:08 +0000)]
do the old protocol compatibly: don't pass an ivec to the underlying
encryption functions if the enctype is similar to DES.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10995
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 27 Oct 1998 04:17:35 +0000 (04:17 +0000)]
getopt returns -1, not EOF
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10994
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 24 Oct 1998 05:32:37 +0000 (05:32 +0000)]
merge in from mainline
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10991
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 22 Oct 1998 21:21:55 +0000 (21:21 +0000)]
syslog, not printf
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10986
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 22 Oct 1998 21:21:33 +0000 (21:21 +0000)]
add ivec chaining
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10985
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 22 Oct 1998 09:30:04 +0000 (09:30 +0000)]
make a debugging printf depend on -D
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10984
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 22 Oct 1998 09:28:16 +0000 (09:28 +0000)]
compilation fixes: finish updating to new api
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10983
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 22 Oct 1998 09:22:07 +0000 (09:22 +0000)]
if the caller to decrypt provides a larger-than-necessary buffer,
deal.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10982
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 22 Oct 1998 08:12:58 +0000 (08:12 +0000)]
interim comment of update to new crypto api
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10981
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 22 Oct 1998 07:47:53 +0000 (07:47 +0000)]
intermediate commit with inband inband protocol for non-des
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10980
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 22 Oct 1998 06:44:11 +0000 (06:44 +0000)]
intermediate commit with inband protocol coded, but old-style OOB still running and working
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10979
dc483132 -0cff-0310-8789-
dd5450dbe970
no author [Wed, 21 Oct 1998 21:51:20 +0000 (21:51 +0000)]
This commit was manufactured by cvs2svn to create branch 'marc-3des'
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10977
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 21 Oct 1998 02:40:32 +0000 (02:40 +0000)]
fix the code for pointing at the master kdc addresses. purify found
some UMR's.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10975
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 21 Oct 1998 01:08:46 +0000 (01:08 +0000)]
free the return from profile_get_string()
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10974
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 08:17:23 +0000 (08:17 +0000)]
plug memory leaks
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10969
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 08:03:38 +0000 (08:03 +0000)]
print the string, then free it
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10968
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 07:36:51 +0000 (07:36 +0000)]
plug a memory leak
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10967
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 06:51:13 +0000 (06:51 +0000)]
krb5_c_make_checksum allocates the output memory. remove all code which preallocates it
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10966
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 06:45:01 +0000 (06:45 +0000)]
fix bug which would free nonexisten memory in the case of a malloc
failure.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10965
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 06:38:19 +0000 (06:38 +0000)]
plug a leak
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10964
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 06:37:59 +0000 (06:37 +0000)]
plug the leak in set_names, and add an unset_names function so we can
plug other leaks
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10963
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 06:37:20 +0000 (06:37 +0000)]
fix the set_name prototype (it's set_names now, and has been for a
long time), and add a prototype for unset_names (new function)
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10962
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 06:36:42 +0000 (06:36 +0000)]
plug a memory leak
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10961
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 06:36:20 +0000 (06:36 +0000)]
restructure the code to use the compare_enctypes function and not leak
memory
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10960
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 06:35:37 +0000 (06:35 +0000)]
stop freeing heap memory
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10959
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 6 Oct 1998 06:33:51 +0000 (06:33 +0000)]
release the gssrpc names and creds before exiting
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10958
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 3 Oct 1998 23:54:17 +0000 (23:54 +0000)]
actually write the trailing nul called for by the comment
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10957
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 30 Sep 1998 06:25:51 +0000 (06:25 +0000)]
add a man page for kvno
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10955
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 30 Sep 1998 05:47:44 +0000 (05:47 +0000)]
update to new crypto api
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10954
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 30 Sep 1998 05:47:08 +0000 (05:47 +0000)]
try the v2 mech, and if that fails, then the v1 mech
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10953
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 30 Sep 1998 03:41:07 +0000 (03:41 +0000)]
reintegrate crypto tests into the tree
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10951
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 30 Sep 1998 03:40:21 +0000 (03:40 +0000)]
the code in the tree now reflects the current spec. update the enctypes accordingly
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10950
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 28 Sep 1998 07:25:08 +0000 (07:25 +0000)]
remove length from encrypted data and checksum data encodings
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10947
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 28 Sep 1998 07:01:11 +0000 (07:01 +0000)]
GSS_S_GAP_TOKEN is defined in the c bindings, too
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10946
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 28 Sep 1998 06:57:22 +0000 (06:57 +0000)]
the v2 c bindings define 17 and 18 now
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10945
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 28 Sep 1998 06:54:47 +0000 (06:54 +0000)]
implementation
krb5_gss_inquire_cred_by_mech: check for all mech types known by this
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10944
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 28 Sep 1998 06:50:05 +0000 (06:50 +0000)]
fix a v1 compat bug
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10943
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 28 Sep 1998 06:45:58 +0000 (06:45 +0000)]
remove a no longer accurate comment
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10942
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 28 Sep 1998 06:43:04 +0000 (06:43 +0000)]
typo fixes
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10941
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 28 Sep 1998 05:12:30 +0000 (05:12 +0000)]
remove bogus extern
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10940
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 25 Sep 1998 23:48:12 +0000 (23:48 +0000)]
* kerberos_v4.c (check_princ): Re-order if statements that check
for null keys to make Purify shut up.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10938
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 25 Sep 1998 23:43:46 +0000 (23:43 +0000)]
* kdb_xdr.c (krb5_dbe_search_enctype): Re-order booleans so that
similar doesn't get checked unless (ktype >= 0) to avoid it being
stack garbage.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10937
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 23 Sep 1998 19:26:00 +0000 (19:26 +0000)]
* aclocal.m4 (KRB5_LIB_AUX): Do what Sam originally meant to do by
moving the explicit resetting of DEPLIB=$SHLIBEXT and forcing
SHLIBEXT=.so-nobuild to avoid duplicate rules on AIX and such.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10935
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Wed, 23 Sep 1998 01:19:25 +0000 (01:19 +0000)]
* prng.c (krb5_c_random_make_octets): Fix to nfold into 15 bytes,
not one byte.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10934
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 21 Sep 1998 19:26:59 +0000 (19:26 +0000)]
* accept_sec_context.c (krb5_gss_accept_sec_context): Free authdat
even on success to avoid a memory leak.
* util_cksum.c (kg_checksum_channel_bindings): Fix memory leak by
not allocating cksum->contents unless we have to return a
zero-filled one.
* k5unseal.c (kg_unseal_v1): Fix memorly leak by not allocating
md5cksum.contents.
* k5seal.c (make_seal_token_v1): Fix memory leak by not allocating
md5cksum.contents.
* accept_sec_context.c (krb5_gss_accept_sec_context): Only free
ap_req.data if it was allocated by kg2_parse_token(), otherwise we
lose very badly trying to free the middle of a potentially
malloc()'ed block, possibly coredumping.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10927
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 21 Sep 1998 19:23:37 +0000 (19:23 +0000)]
* prng.c (krb5_c_random_seed): Fix memory leak
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10926
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Mon, 21 Sep 1998 04:34:28 +0000 (04:34 +0000)]
* accept_sec_context.c (krb5_gss_accept_sec_context): Only free
ap_req.data if it was allocated by kg2_parse_token(), otherwise we
lose very badly trying to free the middle of a potentially
malloc()'ed block, possibly coredumping.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10925
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 19 Sep 1998 03:14:59 +0000 (03:14 +0000)]
back out previous disabling of kvno
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10923
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Sat, 19 Sep 1998 02:32:21 +0000 (02:32 +0000)]
merge of tlyu-3des-k4
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10922
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 23 Aug 1998 06:10:04 +0000 (06:10 +0000)]
the ivec length must be 8
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10875
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 23 Aug 1998 06:08:36 +0000 (06:08 +0000)]
pass a null data pointer if a null iv is passed in
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10873
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 23 Aug 1998 06:03:48 +0000 (06:03 +0000)]
implement fallback from the krb5 rfcv2 mech to the rfc1964 mech
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10872
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 05:25:49 +0000 (05:25 +0000)]
check for krb5_init_context failure
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10871
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 05:20:32 +0000 (05:20 +0000)]
do not accept a context token for a mech type not supported by the
credential.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10870
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 03:53:04 +0000 (03:53 +0000)]
convert to new crypto api
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10869
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 03:52:25 +0000 (03:52 +0000)]
add a comment
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10868
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 03:52:00 +0000 (03:52 +0000)]
fix compile warning
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10867
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 02:31:28 +0000 (02:31 +0000)]
remove statements of the form "setuid(getuid());". telnet is not
installed setuid, so they are meaningless, but confuse the debugger.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10866
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 02:28:40 +0000 (02:28 +0000)]
add -a and -n arguments for printing ticket addresses
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10865
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 02:28:16 +0000 (02:28 +0000)]
convert to cygnus kinit
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10864
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 02:26:36 +0000 (02:26 +0000)]
convert from the old krb4 crypto interface to the new krb5 crypto
interface. This takes advantage of the fact that crc with a zero ivec
on a single block is the same as ecb.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10863
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sat, 22 Aug 1998 02:26:09 +0000 (02:26 +0000)]
convert from the old krb4 interface to the new krb5 crypto interface.
This takes advantage of the fact that crc with a zero ivec on a single
block is the same as ecb.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10862
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Tue, 18 Aug 1998 20:26:05 +0000 (20:26 +0000)]
set ticket_reply.enc_part.kvno after encrypting the encrypted part,
since the encrypt function zeros out the kvno.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10844
dc483132 -0cff-0310-8789-
dd5450dbe970
Sam Hartman [Sun, 16 Aug 1998 21:52:59 +0000 (21:52 +0000)]
Fixes to build shared libs on AIX
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10836
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 16 Aug 1998 06:24:48 +0000 (06:24 +0000)]
make sure variables are created before freeing them
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10835
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 16 Aug 1998 05:55:55 +0000 (05:55 +0000)]
add add_cred.c to hold the now-implemented function
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10834
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 16 Aug 1998 05:53:41 +0000 (05:53 +0000)]
move add_cred to its own file, since it's a real function now
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10832
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 16 Aug 1998 05:29:02 +0000 (05:29 +0000)]
krb5_kt_get_type should return the prefix string, not the first
character of it.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10831
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 16 Aug 1998 03:44:06 +0000 (03:44 +0000)]
rearrange the code a bit to make it more clear that the logic is
correct.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10830
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 16 Aug 1998 03:39:17 +0000 (03:39 +0000)]
don't free the returned ctype array
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10829
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 16 Aug 1998 03:38:41 +0000 (03:38 +0000)]
rearrange a structure to match the comments
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10828
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 16 Aug 1998 03:37:10 +0000 (03:37 +0000)]
nastybad fencepost error if the input size is [60,63] mod 64
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10827
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 14 Aug 1998 05:41:10 +0000 (05:41 +0000)]
there is code in the tree (notably, the admin server code) which uses
globals to set the keytab which will be used by gssapi. this is
gross, and we need a better answer. However, even that didn't work if
there was an env var or krb5.conf variable, since those override
krb5_defkeyname. Add a new global, krb5_overridekeyname, which really
does override all the other keytab locators. While I'm at it, make the buffer overflow checks sane.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10823
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 14 Aug 1998 05:39:35 +0000 (05:39 +0000)]
fix a typo
don't return conf_state if the pointer is NULL
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10822
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 14 Aug 1998 05:38:33 +0000 (05:38 +0000)]
don't free the tokens before returning them
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10821
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Fri, 14 Aug 1998 05:38:12 +0000 (05:38 +0000)]
the ints are 32-bit, not 16-bit. keep enough space
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10820
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 13 Aug 1998 03:24:12 +0000 (03:24 +0000)]
don't assume a nul-terminated client string. just print out the
number of chars received.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10815
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 13 Aug 1998 03:23:13 +0000 (03:23 +0000)]
- don't add the final NUL to a command-line string
- read_file() was dealing improperly with incomplete reads. Since
only normal files are really supported, and incomplete reads are
impossible with normal files, rip the incorrect incomplete read code
out.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10814
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 13 Aug 1998 03:20:57 +0000 (03:20 +0000)]
- make the tmsglen size check not a strict inequality, since the old
cksumtypes can return padded data.
- plug a memory leak
- reorder some stuff for clarity
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10813
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 13 Aug 1998 03:18:05 +0000 (03:18 +0000)]
don't stomp the minor status when a call to another gss function
returns an error
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10812
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 13 Aug 1998 03:17:03 +0000 (03:17 +0000)]
remove the input bounds check
fix the stupid brainos.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10811
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 6 Aug 1998 23:23:58 +0000 (23:23 +0000)]
make krb5_c_keyed_checksum_types() prototype conform with reality
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10781
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 5 Aug 1998 08:03:55 +0000 (08:03 +0000)]
misc fixes
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10780
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 5 Aug 1998 07:13:18 +0000 (07:13 +0000)]
add function to free checksum contents, as filled in by
krb5_c_make_checksum. (Should this be in libcrypto?)
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10779
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 5 Aug 1998 07:12:19 +0000 (07:12 +0000)]
don't call the nonexistent hash functions for a keyed hash
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10778
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 5 Aug 1998 07:11:39 +0000 (07:11 +0000)]
have the function allocate space, and add a free function
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10777
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Wed, 5 Aug 1998 06:04:55 +0000 (06:04 +0000)]
add code to implement a new krb5 v2 gssapi mechanism.
this implementation is complete and functional, but the draft
spec and the code do not yet completely match.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10776
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 3 Aug 1998 05:34:12 +0000 (05:34 +0000)]
add util_ctxsetup
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10771
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 3 Aug 1998 05:32:29 +0000 (05:32 +0000)]
Return G_WRONG_TOKID if the passed-in token id is different from the
id in the token.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10770
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 3 Aug 1998 05:30:14 +0000 (05:30 +0000)]
add new error codes
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10769
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Mon, 3 Aug 1998 05:29:47 +0000 (05:29 +0000)]
- print the token as ascii if the first chars are printable or whitespace
- don't leak an fd per accept
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10768
dc483132 -0cff-0310-8789-
dd5450dbe970
Tom Yu [Fri, 31 Jul 1998 22:20:07 +0000 (22:20 +0000)]
changes to make kadmind4 build again
* kadm_ser_wrap.c (kadm_ser_init): Remove references to
master_encblock, as it's no longer needed in the new crypto API,
adjusting kdb calls accordingly. Also punt calls to use_enctype,
process_key, etc.
* admin_server.c (clear_secrets): Remove references to
master_encblock, due to new crypto API.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10767
dc483132 -0cff-0310-8789-
dd5450dbe970
Sam Hartman [Thu, 30 Jul 1998 18:21:24 +0000 (18:21 +0000)]
Update major versions of libraries depending on libkrb5.
Also, fix typo in tf_util.c that prevents krb524init from working
and include test for sa_len so localaddr works on NetBSD.
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10766
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Thu, 30 Jul 1998 07:10:03 +0000 (07:10 +0000)]
update changes from mainline 980730
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10759
dc483132 -0cff-0310-8789-
dd5450dbe970
Sam Hartman [Mon, 27 Jul 1998 05:36:33 +0000 (05:36 +0000)]
Fix login so that it will properly handle forwarded creds;
it didn't destroy the ccache, so that copying into the new ccache failed. Also,
it didn't try to convert forwarded creds.
Remove marc's debugging printf in krlogin.c
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10751
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 26 Jul 1998 02:31:42 +0000 (02:31 +0000)]
remove a debugging printf which got checked in by accident
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10749
dc483132 -0cff-0310-8789-
dd5450dbe970
Marc Horowitz [Sun, 26 Jul 1998 01:55:04 +0000 (01:55 +0000)]
typo
git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10748
dc483132 -0cff-0310-8789-
dd5450dbe970