Commit Graph

12329 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
61e14619de use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:31:42 +00:00
Love Hörnquist Åstrand
f287772b22 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:23:34 +00:00
Love Hörnquist Åstrand
d1bbbff72f use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
compare a uint32_t with 0xffffffff instead of -1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:17:09 +00:00
Love Hörnquist Åstrand
0d372b0a5b fix [Gt]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:13:07 +00:00
Love Hörnquist Åstrand
ae9f3656f7 use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:45:38 +00:00
Love Hörnquist Åstrand
eb2c032414 (krb5_get_init_creds_password): handle password passed in though context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:41:34 +00:00
Love Hörnquist Åstrand
90b82c4533 (TESTS): += test_config
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:21:23 +00:00
Love Hörnquist Åstrand
1752eb97e0 move variable thats used within a #ifdef to be defined within that #ifdef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:20:46 +00:00
Love Hörnquist Åstrand
9582b9fe1a (krb5_data_free): reset whole krb5_data when freeing it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:19:17 +00:00
Love Hörnquist Åstrand
70efc47aa7 (krb5_keyblock_zero): new function, zeros out a keyblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:17:59 +00:00
Love Hörnquist Åstrand
aa3701f551 rewrite/implement krb5_get_init_creds_password with new preauth
handing, still it can only work with krb5-pa-enc-timestamp for
preauth, but now it can handle etype-info2


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:17:08 +00:00
Love Hörnquist Åstrand
ca9d0c8062 (krb5_get_init_creds_opt_alloc): allocate a opt structure
(krb5_get_init_creds_opt_free): free a opt structure
(krb5_get_init_creds_opt_set_pa_password): set preauth info for enc-timestamp


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:12:54 +00:00
Love Hörnquist Åstrand
3400abc1ef add struct _krb5_get_init_creds_opt_private
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 23:11:17 +00:00
Love Hörnquist Åstrand
a14f0b93c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 20:52:27 +00:00
Love Hörnquist Åstrand
24b09630d3 add SAM keyusage numbers
add s2k proc typedef
add a pointer to a private part of krb5_get_init_creds_opt


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 20:51:48 +00:00
Love Hörnquist Åstrand
378d92a693 (main): avoid const warning by using a extra variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 03:01:58 +00:00
Love Hörnquist Åstrand
0b7b55471d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 02:50:43 +00:00
Love Hörnquist Åstrand
cf096d7787 (tgets): avoid be clobbered by longjmp' or vfork' warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12720 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-02 02:49:58 +00:00
Love Hörnquist Åstrand
036d477a1c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-01 15:11:28 +00:00
Love Hörnquist Åstrand
41ee26c847 rename gss_krb5_extract_authz_data_from_sec_context to
gsskrb5_extract_authz_data_from_sec_context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-01 15:11:09 +00:00
Love Hörnquist Åstrand
199d7998ff x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 21:58:37 +00:00
Love Hörnquist Åstrand
90b52bb83b (gss_krb5_extract_authz_data_from_sec_context):
check that we have a ticket before we start to use it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 21:56:26 +00:00
Love Hörnquist Åstrand
1f5d66620a document gss_krb5_extract_authz_data_from_sec_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 19:52:44 +00:00
Love Hörnquist Åstrand
4ddc6a08ed (gss_krb5_extract_authz_data_from_sec_context):
return the kerberos authorizationdata, from idea of Luke Howard


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 19:52:16 +00:00
Love Hörnquist Åstrand
6a722501fe (gss_verify_mic_internal): switch type and key argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 19:50:34 +00:00
Love Hörnquist Åstrand
2b9a5993d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 19:33:16 +00:00
Love Hörnquist Åstrand
a3af14abf9 (krb5_ticket_get_authorization_data_type): reindent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 19:32:57 +00:00
Love Hörnquist Åstrand
0c533c290e fix spelling in last commit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 14:51:06 +00:00
Love Hörnquist Åstrand
af371af07a (krb5_copy_ticket): free all data when failing, copy data to right
memory, the later pointed out by Luke Howard.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-31 02:05:31 +00:00
Love Hörnquist Åstrand
d305925af4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-30 14:34:17 +00:00
Love Hörnquist Åstrand
bde1acd681 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12707 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-30 13:52:44 +00:00
Love Hörnquist Åstrand
a67627e780 draft-ietf-krb-wg-gssapi-cfx-01.txt implemetation
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-30 13:51:41 +00:00
Love Hörnquist Åstrand
b28bc0ec58 cfx-01 use diffrent usage numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12705 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-30 13:45:21 +00:00
Love Hörnquist Åstrand
7e3236c811 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-29 16:53:53 +00:00
Love Hörnquist Åstrand
c0d1c74757 try to include more db headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-29 16:53:37 +00:00
Love Hörnquist Åstrand
8e7024e104 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-29 16:38:15 +00:00
Love Hörnquist Åstrand
32276ee7b7 patch for working with DB4 on heimdal-discuss
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-29 16:37:25 +00:00
Love Hörnquist Åstrand
602247aaac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 11:08:35 +00:00
Love Hörnquist Åstrand
da8892828c (arcfour_mic_cksum): use free_Checksum to free the checksum
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 11:08:26 +00:00
Love Hörnquist Åstrand
adc6d86b7d swap two last arguments to verify_mic for consistency with des3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 11:00:23 +00:00
Love Hörnquist Åstrand
ea87ec5a69 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:54:50 +00:00
Love Hörnquist Åstrand
9673c61169 prefix cfx symbols with _gssapi_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:54:06 +00:00
Love Hörnquist Åstrand
4f2548810a release the right buffer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:48:32 +00:00
Love Hörnquist Åstrand
d432d068e5 rename token structure in consistency with rest of GSS-API
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:41:36 +00:00
Love Hörnquist Åstrand
bdf7544c1b (unwrap_des3): use _gssapi_verify_pad
(unwrap_des): use _gssapi_verify_pad


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:24:45 +00:00
Love Hörnquist Åstrand
504acf338f (_gssapi_wrap_arcfour): set the correct padding
(_gssapi_unwrap_arcfour): verify and strip padding


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:23:28 +00:00
Love Hörnquist Åstrand
ff1011309d added _gssapi_verify_pad
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:22:25 +00:00
Love Hörnquist Åstrand
9ef52e1041 (_gssapi_verify_pad): verify padding of a gss wrapped message and
return its length


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:22:03 +00:00
Love Hörnquist Åstrand
819d80283e rc4 gssapi stuff fixed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 08:07:51 +00:00
Love Hörnquist Åstrand
53ad072bc7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 08:07:08 +00:00