Commit Graph

521 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
851acf88cd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-16 12:12:52 +00:00
Love Hörnquist Åstrand
6a38642fc0 (*): set minor_status
(gss_wrap): set conf_state to conf_req_flags on success
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-16 12:12:42 +00:00
Love Hörnquist Åstrand
e2a057b359 (gss_wrap_size_limit): use existing function
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-16 12:00:25 +00:00
Love Hörnquist Åstrand
45984d2d2c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-12 21:18:09 +00:00
Love Hörnquist Åstrand
07970b6175 (gss_indicate_mechs): in case of error, free mech_set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-12 21:15:42 +00:00
Love Hörnquist Åstrand
2a072a6aeb (gss_indicate_mechs): add SPNEGO
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-12 21:12:52 +00:00
Love Hörnquist Åstrand
ceb75e1f48 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 20:50:15 +00:00
Love Hörnquist Åstrand
b1576251e1 (spnego_initial): add #if 0 out version of the CHOICE branch encoding,
also where here, free no longer used memory


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-10 20:49:11 +00:00
Love Hörnquist Åstrand
bb22f358b1 (spnego_initial): catch errors and return them
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 23:44:25 +00:00
Love Hörnquist Åstrand
36c72f770b update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 10:57:48 +00:00
Love Hörnquist Åstrand
dd9620c56f now support for GSS_SPNEGO_MECHANISM
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 10:57:08 +00:00
Love Hörnquist Åstrand
1448ad988f SPNEGO doesn't include gss wrapping on SubsequentContextToken like the
Kerberos 5 mech does.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 10:54:09 +00:00
Love Hörnquist Åstrand
c65c7ace38 (spnego_reply): SPNEGO doesn't include gss wrapping on
SubsequentContextToken like the Kerberos 5 mech does. Lets check for
it anyway.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 10:40:12 +00:00
Love Hörnquist Åstrand
250a05b38c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:44:26 +00:00
Love Hörnquist Åstrand
aa2eabd394 Add support for SPNEGO on the initator side. Implementation initially
from Assar Westerlund, passes though quite a lot of hands before I
commited it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 03:28:54 +00:00
Love Hörnquist Åstrand
790b9ab1bd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:33:49 +00:00
Love Hörnquist Åstrand
c94bb7e568 Add support for SPNEGO on the initator side. Tested with ldap server
on a Windows 2000 DC. Implementation initially from Assar Westerlund,
passes though quite a lot of hands before I commited it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:31:47 +00:00
Love Hörnquist Åstrand
db4289a379 export GSS_SPNEGO_MECHANISM
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:11:21 +00:00
Love Hörnquist Åstrand
c3326093b4 include spnego_as.h
add prototype for gssapi_krb5_get_mech


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:10:00 +00:00
Love Hörnquist Åstrand
a3139e092e (gssapi_krb5_get_mech): make non static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:09:03 +00:00
Love Hörnquist Åstrand
50d2a24176 build SPNEGO file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-09 02:05:51 +00:00
Love Hörnquist Åstrand
73e27ffc4c SPENGO and IAKERB oids
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:34:19 +00:00
Love Hörnquist Åstrand
5d190295aa add context argument to krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:28:20 +00:00
Love Hörnquist Åstrand
135ef50acb SPENGO ASN1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 14:39:34 +00:00
Love Hörnquist Åstrand
addecb38ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-05 09:50:17 +00:00
Love Hörnquist Åstrand
653d7b010b RRC also need to be zero before wraping them
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-05 09:49:22 +00:00
Love Hörnquist Åstrand
5097c486af (gssapi_krb5_encap_length): don't return void
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-04 18:08:55 +00:00
Love Hörnquist Åstrand
ce72892e20 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 11:11:20 +00:00
Love Hörnquist Åstrand
33efaf1f26 switch from the des_ to the DES_ api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:29:36 +00:00
Love Hörnquist Åstrand
992f32ca35 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 08:42:04 +00:00
Love Hörnquist Åstrand
6cdb4003eb EC is not included in the checksum since the length might change
depending on the data.
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 08:36:57 +00:00
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
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
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
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