]> git.ipfire.org Git - thirdparty/krb5.git/log
thirdparty/krb5.git
26 years agostop freeing heap memory
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

26 years agorelease the gssrpc names and creds before exiting
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

26 years agoactually write the trailing nul called for by the comment
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

26 years agoadd a man page for kvno
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

26 years agoupdate to new crypto api
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

26 years agotry the v2 mech, and if that fails, then the v1 mech
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

26 years agoreintegrate crypto tests into the tree
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

26 years agothe code in the tree now reflects the current spec. update the enctypes accordingly
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

26 years agoremove length from encrypted data and checksum data encodings
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

26 years agoGSS_S_GAP_TOKEN is defined in the c bindings, too
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

26 years agothe v2 c bindings define 17 and 18 now
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

26 years agoimplementation
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

26 years agofix a v1 compat bug
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

26 years agoremove a no longer accurate comment
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

26 years agotypo fixes
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

26 years agoremove bogus extern
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

26 years ago * kerberos_v4.c (check_princ): Re-order if statements that check
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

26 years ago * kdb_xdr.c (krb5_dbe_search_enctype): Re-order booleans so that
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

26 years ago * aclocal.m4 (KRB5_LIB_AUX): Do what Sam originally meant to do by
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

26 years ago * prng.c (krb5_c_random_make_octets): Fix to nfold into 15 bytes,
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

26 years ago * accept_sec_context.c (krb5_gss_accept_sec_context): Free authdat
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

26 years ago * prng.c (krb5_c_random_seed): Fix memory leak
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

26 years ago * accept_sec_context.c (krb5_gss_accept_sec_context): Only free
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

26 years agoback out previous disabling of kvno
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

26 years agomerge of tlyu-3des-k4
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

26 years agothe ivec length must be 8
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

26 years agopass a null data pointer if a null iv is passed in
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

26 years agoimplement fallback from the krb5 rfcv2 mech to the rfc1964 mech
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

26 years agocheck for krb5_init_context failure
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

26 years agodo not accept a context token for a mech type not supported by the
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

26 years agoconvert to new crypto api
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

26 years agoadd a comment
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

26 years agofix compile warning
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

26 years agoremove statements of the form "setuid(getuid());". telnet is not
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

26 years agoadd -a and -n arguments for printing ticket addresses
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

26 years agoconvert to cygnus kinit
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

26 years agoconvert from the old krb4 crypto interface to the new krb5 crypto
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

26 years agoconvert from the old krb4 interface to the new krb5 crypto interface.
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

27 years agoset ticket_reply.enc_part.kvno after encrypting the encrypted part,
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

27 years agoFixes to build shared libs on AIX
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

27 years agomake sure variables are created before freeing them
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

27 years agoadd add_cred.c to hold the now-implemented function
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

27 years agomove add_cred to its own file, since it's a real function now
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

27 years agokrb5_kt_get_type should return the prefix string, not the first
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

27 years agorearrange the code a bit to make it more clear that the logic is
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

27 years agodon't free the returned ctype array
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

27 years agorearrange a structure to match the comments
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

27 years agonastybad fencepost error if the input size is [60,63] mod 64
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

27 years agothere is code in the tree (notably, the admin server code) which uses
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

27 years agofix a typo
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

27 years agodon't free the tokens before returning them
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

27 years agothe ints are 32-bit, not 16-bit. keep enough space
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

27 years agodon't assume a nul-terminated client string. just print out the
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

27 years ago - don't add the final NUL to a command-line string
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

27 years ago - make the tmsglen size check not a strict inequality, since the old
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

27 years agodon't stomp the minor status when a call to another gss function
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

27 years agoremove the input bounds check
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

27 years agomake krb5_c_keyed_checksum_types() prototype conform with reality
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

27 years agomisc fixes
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

27 years agoadd function to free checksum contents, as filled in by
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

27 years agodon't call the nonexistent hash functions for a keyed hash
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

27 years agohave the function allocate space, and add a free function
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

27 years agoadd code to implement a new krb5 v2 gssapi mechanism.
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

27 years agoadd util_ctxsetup
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

27 years agoReturn G_WRONG_TOKID if the passed-in token id is different from the
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

27 years agoadd new error codes
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

27 years ago - print the token as ascii if the first chars are printable or whitespace
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

27 years agochanges to make kadmind4 build again
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

27 years agoUpdate major versions of libraries depending on libkrb5.
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

27 years agoupdate changes from mainline 980730
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

27 years agoFix login so that it will properly handle forwarded creds;
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

27 years agoremove a debugging printf which got checked in by accident
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

27 years agotypo
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

27 years agodon't skip a ks_tuple unless the enctype and salttype both match
Marc Horowitz [Sun, 26 Jul 1998 01:53:51 +0000 (01:53 +0000)] 
don't skip a ks_tuple unless the enctype and salttype both match
something prior in the list.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10747 dc483132-0cff-0310-8789-dd5450dbe970

27 years agofix the new crypto api stuff I missed before
Marc Horowitz [Sat, 25 Jul 1998 22:56:05 +0000 (22:56 +0000)] 
fix the new crypto api stuff I missed before

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10746 dc483132-0cff-0310-8789-dd5450dbe970

27 years agofor keyed hashes, verify that the key enctype is compatible
Marc Horowitz [Sat, 25 Jul 1998 22:52:34 +0000 (22:52 +0000)] 
for keyed hashes, verify that the key enctype is compatible

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10745 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoadd etype field to cksum records for keyed cksums
Marc Horowitz [Sat, 25 Jul 1998 22:50:42 +0000 (22:50 +0000)] 
add etype field to cksum records for keyed cksums

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10744 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoadd krb5_c_num_keyed_checksum_types, krb5_c_keyed_checksum_types functions
Marc Horowitz [Sat, 25 Jul 1998 22:49:26 +0000 (22:49 +0000)] 
add krb5_c_num_keyed_checksum_types, krb5_c_keyed_checksum_types functions
add keyusages for krb5 gssapi v2

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10743 dc483132-0cff-0310-8789-dd5450dbe970

27 years agonew file
Marc Horowitz [Sat, 25 Jul 1998 22:46:24 +0000 (22:46 +0000)] 
new file

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10742 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoadd keyed_checksum_types.c
Marc Horowitz [Sat, 25 Jul 1998 22:45:43 +0000 (22:45 +0000)] 
add keyed_checksum_types.c

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10741 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoconvert to new crypto api
Marc Horowitz [Sat, 25 Jul 1998 22:40:22 +0000 (22:40 +0000)] 
convert to new crypto api

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10740 dc483132-0cff-0310-8789-dd5450dbe970

27 years agotypo fix
Marc Horowitz [Sat, 25 Jul 1998 20:51:08 +0000 (20:51 +0000)] 
typo fix

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10739 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoAdd kvno
Sam Hartman [Sat, 25 Jul 1998 20:00:53 +0000 (20:00 +0000)] 
Add kvno

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10738 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoadd a new app to acquire a ticket for a service and print out the kvno
Marc Horowitz [Fri, 24 Jul 1998 22:45:23 +0000 (22:45 +0000)] 
add a new app to acquire a ticket for a service and print out the kvno

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10735 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoadd kvno directory
Marc Horowitz [Fri, 24 Jul 1998 22:44:44 +0000 (22:44 +0000)] 
add kvno directory

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10734 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoconvert gssapi to new crypto api
Marc Horowitz [Fri, 24 Jul 1998 06:46:10 +0000 (06:46 +0000)] 
convert gssapi to new crypto api

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10733 dc483132-0cff-0310-8789-dd5450dbe970

27 years agotypo
Marc Horowitz [Fri, 24 Jul 1998 06:30:45 +0000 (06:30 +0000)] 
typo

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10732 dc483132-0cff-0310-8789-dd5450dbe970

27 years agotypo
Marc Horowitz [Thu, 23 Jul 1998 18:28:45 +0000 (18:28 +0000)] 
typo

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10719 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoincorrect use of static string return. penalty 10 megabytes
Marc Horowitz [Thu, 23 Jul 1998 04:51:05 +0000 (04:51 +0000)] 
incorrect use of static string return.  penalty 10 megabytes

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10718 dc483132-0cff-0310-8789-dd5450dbe970

27 years agomerge mainline as of roughly 7/20 onto the branch
Marc Horowitz [Thu, 23 Jul 1998 03:52:17 +0000 (03:52 +0000)] 
merge mainline as of roughly 7/20 onto the branch

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10717 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoin the alloced case, the confounder and hash were incorrectly copied
Marc Horowitz [Thu, 23 Jul 1998 02:58:15 +0000 (02:58 +0000)] 
in the alloced case, the confounder and hash were incorrectly copied
to the output.

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10716 dc483132-0cff-0310-8789-dd5450dbe970

27 years agofix the length sanity check. the data returned could be padded
Marc Horowitz [Thu, 23 Jul 1998 02:53:54 +0000 (02:53 +0000)] 
fix the length sanity check.  the data returned could be padded

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10715 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoinitial test stub for krb5_nfold
Marc Horowitz [Sun, 19 Jul 1998 01:50:51 +0000 (01:50 +0000)] 
initial test stub for krb5_nfold

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10708 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoremove stuff no longer needed from the old crypto library
Marc Horowitz [Sun, 19 Jul 1998 01:28:24 +0000 (01:28 +0000)] 
remove stuff no longer needed from the old crypto library

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10707 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoupdate file list
Marc Horowitz [Sun, 19 Jul 1998 01:27:44 +0000 (01:27 +0000)] 
update file list

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10706 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoraw encryption decryption, checksum, and string-to-key implementation
Marc Horowitz [Sun, 19 Jul 1998 01:19:16 +0000 (01:19 +0000)] 
raw encryption decryption, checksum, and string-to-key implementation

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10705 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoold-style des encryption decryption, checksum, and string-to-key implementation
Marc Horowitz [Sun, 19 Jul 1998 01:18:48 +0000 (01:18 +0000)] 
old-style des encryption decryption, checksum, and string-to-key implementation

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10704 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoremove stuff no longer needed from the old crypto library
Marc Horowitz [Sun, 19 Jul 1998 01:17:35 +0000 (01:17 +0000)] 
remove stuff no longer needed from the old crypto library

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10703 dc483132-0cff-0310-8789-dd5450dbe970

27 years agoupdate file list
Marc Horowitz [Sun, 19 Jul 1998 01:17:10 +0000 (01:17 +0000)] 
update file list

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10702 dc483132-0cff-0310-8789-dd5450dbe970

27 years agodescbc, krb-specific des-md4 and md5 keyed hash providers
Marc Horowitz [Sun, 19 Jul 1998 01:14:33 +0000 (01:14 +0000)] 
descbc, krb-specific des-md4 and md5 keyed hash providers

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/marc-3des@10701 dc483132-0cff-0310-8789-dd5450dbe970