Commit Graph

7154 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
8447f193fb make samba_forwardable a krb5_boolean
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:34:46 +00:00
Love Hörnquist Åstrand
1824e16f28 make samba forwarding a runtime configure option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:33:26 +00:00
Love Hörnquist Åstrand
f83d4958cb (LDAP_message2entry): allow samba entires to be forwarded
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:24:57 +00:00
Love Hörnquist Åstrand
d5b83091fb (LDAP_message2entry): fix [] test
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:22:06 +00:00
Love Hörnquist Åstrand
89494bfa4b (LDAP_message2entry): remove bogus length check
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:20:02 +00:00
Love Hörnquist Åstrand
ffa9994f58 (LDAP_message2entry): in the sambaNTPassword case, make sure
ent->etypes are allocated, From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-23 21:17:27 +00:00
Johan Danielsson
554cb7fae3 if not local time set tm_isdst to 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-13 18:20:06 +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
e24a5cf820 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-06 15:57:24 +00:00
Love Hörnquist Åstrand
86a93da7e5 spelling from Josef El-Rayes <josef@FreeBSD.org>
while here, write some text about the SPNEGO situation


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-06 15:57:10 +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
c65f0e94ca (libasn1_la_SOURCES) += der_cmp.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:01:01 +00:00
Love Hörnquist Åstrand
7bc2e8f782 add heim_oid_cmp and heim_octet_string_cmp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:54:02 +00:00
Love Hörnquist Åstrand
5d186c03b3 add heim_oid_cmp heim_octet_string_cmp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:52:36 +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
3c71c948b6 add ETYPE_AESNNN_CBC_NONE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:54:16 +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
45c5b47131 add CMS symmetrical parameters
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:14:13 +00:00
Love Hörnquist Åstrand
d36b180200 add CMS symmetrical parameters here, enctype rc2-cbc
XXX RC2CBCParameter is wrong because the compiler is broken


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 19:11: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
Love Hörnquist Åstrand
76a580ad8a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:07:56 +00:00
Love Hörnquist Åstrand
6357f48500 handle non blocksized cbc messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:06:51 +00:00
Love Hörnquist Åstrand
234befda59 add AES_cbc_encrypt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:05:05 +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