Commit Graph

2485 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
2b5160f0ec nroff and spelling, from Jonathan Stone <jonathan@dsg.stanford.edu>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-14 06:45:21 +00:00
Love Hörnquist Åstrand
5d57b23ece (process_reply): cast ssize_t to long and print that
From NetBSD via Havard Eidnes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-14 03:03:21 +00:00
Love Hörnquist Åstrand
bcfc839f89 don't use krb5_err on error code 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-09 02:07:33 +00:00
Love Hörnquist Åstrand
8190ec78b2 (set_ptypes): make ptypes const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-02 18:41:51 +00:00
Johan Danielsson
7b6c14da59 (krb5_get_forwarded_creds): if the krbtgt is without addresses,
default to not sending our own addrport


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 15:40:09 +00:00
Johan Danielsson
40f01e011c (_krb5_get_init_creds_opt_copy): if copying a static opt, make sure to
allocate the "private" field


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 11:40:26 +00:00
Love Hörnquist Åstrand
abe49e97aa (init_tgs_req): if subkey not avaible, use session key for authorization-data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 21:39:27 +00:00
Love Hörnquist Åstrand
ee217370b1 add krb5_set_password_using_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 19:24:58 +00:00
Love Hörnquist Åstrand
36fc0ea221 implement krb5_set_password_using_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 19:21:36 +00:00
Love Hörnquist Åstrand
17d2aa987a document [kdc]hdb-ldap-create-base
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-02 13:26:10 +00:00
Love Hörnquist Åstrand
06a97d5069 some text about dbname and realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-27 10:39:49 +00:00
Love Hörnquist Åstrand
883cd45992 default value for hdb-ldap-structural-object is account
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-27 09:11:01 +00:00
Love Hörnquist Åstrand
91351971f7 add KRB5_LIB_FUNCTION to all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-25 21:46:46 +00:00
Love Hörnquist Åstrand
86e1909424 pacify pre c99 compilers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-12 15:30:02 +00:00
Love Hörnquist Åstrand
37fccbef81 (pk_rd_pa_reply_dh): use krb5_random_to_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-29 08:21:59 +00:00
Love Hörnquist Åstrand
1d8257ac92 (krb5_verify_ap_req2): clear the whole ticket, not just a pointer size of it
From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-29 07:31:45 +00:00
Love Hörnquist Åstrand
15ac7dcf54 add set_param for RC2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 22:03:02 +00:00
Love Hörnquist Åstrand
0d09bd5540 use krb5_oid_to_enctype and remove all oids that are no longer needed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:23:42 +00:00
Love Hörnquist Åstrand
51a769716d (krb5_oid_to_enctype): make sure oid exists before we compare with it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:17:19 +00:00
Love Hörnquist Åstrand
0e9441df50 (krb5_crypto_get_params): check ivec length before returning it
add aes-oids


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:08:01 +00:00
Love Hörnquist Åstrand
4354a5a5dc add krb5_enctype_to_oid and krb5_oid_to_enctype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:49:50 +00:00
Love Hörnquist Åstrand
a1bf15705c add krb5_crypto_set_params, aes aes-NNN-cbc-none
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:01:46 +00:00
Love Hörnquist Åstrand
f66d41fa79 add KEYTYPE_AES192
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:57:50 +00:00
Love Hörnquist Åstrand
fa6167819e use krb5_crypto_get_params to implement kcrypto RC2 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:18:04 +00:00
Love Hörnquist Åstrand
9ce4894fcf add KEYTYPE_RC2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:04:56 +00:00
Love Hörnquist Åstrand
054e0d01d6 add partial CMS parameter handling, this is needed for RC2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:02:56 +00:00
Johan Danielsson
5e02dc0ec1 allow parsing directly from strings with
krb5_config_parse_string_multi


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 07:14:28 +00:00
Johan Danielsson
4ac10a4c46 try to resolve hostnames
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 06:13:45 +00:00
Johan Danielsson
f3dc346f5d (krb5_storage_from_fd): dup the file descriptor so we don't have to
keep track of it in two places


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 21:27:34 +00:00
Johan Danielsson
898468d57e add krb5_compare_creds.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:31:26 +00:00
Johan Danielsson
5f9df92e40 move krb5_compare_creds to its own manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:29:53 +00:00
Johan Danielsson
26457b7135 replace krb5_free_creds_contents by krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00
Johan Danielsson
5eca4bbf39 add krb5_cc_next_cred_match() and krb5_cc_copy_cred_match()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 17:20:19 +00:00
Johan Danielsson
b24e10c46b (krb5_compare_creds): add more matching options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 16:12:04 +00:00
Johan Danielsson
851f04f5e0 add more creds match flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 16:11:37 +00:00
Love Hörnquist Åstrand
63ac41ecad use the right oid for pkauthdata
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 15:58:07 +00:00
Love Hörnquist Åstrand
fe0d0505cf always send both win2k compat version and the ietf draft one, this is
possible microsoft since they use wrong/diffrent PA number.  Make the
configuration flag boolean configuring if NOT to send the win2k compat
glue.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 15:34:29 +00:00
Johan Danielsson
8791dd6c6e (krb5_store_creds): set is_skey flag if length of second ticket is > 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:54:44 +00:00
Love Hörnquist Åstrand
8eb58824b5 document krb5_{de,en}crypt_ivec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:50:13 +00:00
Love Hörnquist Åstrand
a7f10685cc document KRB5_STORAGE_CREDS_FLAGS_WRONG_BITORDER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:23:24 +00:00
Love Hörnquist Åstrand
8550c8f01f document that krb5_data_free cleans the structure too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:21:16 +00:00
Love Hörnquist Åstrand
2b36497494 use IV for envelopeddata encryption, patch originally from Luke Howard
<lukeh@padl.com>, tweeked by me.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:20:07 +00:00
Johan Danielsson
9125cb5647 Fix the cache flags bitorder issue with a storage flag instead of a
separate function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 21:17:02 +00:00
Love Hörnquist Åstrand
227900ca1c move out the oid check from get_reply_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 16:09:42 +00:00
Love Hörnquist Åstrand
261d6cef84 uniquify error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 15:19:01 +00:00
Love Hörnquist Åstrand
0161e447c4 make the pkinit nonce same os the plain nonce for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 15:17:32 +00:00
Love Hörnquist Åstrand
ab0c82c636 more w2k compat from Luke Howard <lukeh@padl.com>
add RC2 support, clean up error messages


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 15:07:39 +00:00
Love Hörnquist Åstrand
1365676e29 remove more dependency on krb5_config->pkinit_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 13:29:23 +00:00
Love Hörnquist Åstrand
c9aac6c50e (_krb5_pk_convert_rep): convert microsoft style answer to IETF, From
Luke Howard <lukeh@padl.com>
(_krb5_pk_create_sign): ms handles NULL in param, so always send it
(_krb5_pk_mk_padata): look for [realms]REALM = { win2k_pkinit = bool }


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 13:15:01 +00:00
Love Hörnquist Åstrand
76d1e32354 (_krb5_pk_create_sign): always set the digestAlgorithm to sha1 (both
for SignerInfo and SignedData, add new function _set_digest_alg to set it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-24 12:26:38 +00:00