Commit Graph

1069 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
07a8f134e8 Make bitfields unsigned, add maybe_open.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 11:37:25 +00:00
Love Hörnquist Åstrand
a4908290ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 11:10:54 +00:00
Love Hörnquist Åstrand
b60aecaebf Use ASN.1 encoder functions to encode CHOICE structure now that we can handle it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 11:10:46 +00:00
Love Hörnquist Åstrand
062328fffc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:31:33 +00:00
Love Hörnquist Åstrand
75b517309f (_gss_spnego_accept_sec_context): send back ad accept_completed when
the security context is ->open, w/o this the client doesn't know that
the server have completed the transaction.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:31:21 +00:00
Love Hörnquist Åstrand
db9e36b915 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:19:54 +00:00
Love Hörnquist Åstrand
0be2851d8e Add delegate flag and check that the delegated cred works.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:19:41 +00:00
Love Hörnquist Åstrand
c00799be18 Keep track of the opportunistic token in the inital message, it might
be a complete gss-api context, in that case we'll get back
accept_completed without any token. With this change, krb5 w/o mutual
authentication works.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:18:55 +00:00
Love Hörnquist Åstrand
c8fd5412ce Use ASN.1 encoder functions to encode CHOICE structure now that we can handle it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 09:01:45 +00:00
Love Hörnquist Åstrand
774e93dac2 Filter out SPNEGO from the out supported mechs list and make sure we
don't select that for the preferred mechamism.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 08:42:36 +00:00
Love Hörnquist Åstrand
576019c819 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 12:35:04 +00:00
Love Hörnquist Åstrand
f34964d46f (_gss_mech_cred_find): break out the cred finding to its own function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 12:33:11 +00:00
Love Hörnquist Åstrand
882845f819 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 10:05:56 +00:00
Love Hörnquist Åstrand
92486672bd Better error strings, from Andrew Bartlet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 09:49:56 +00:00
Love Hörnquist Åstrand
3e0139bc20 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 18:06:45 +00:00
Love Hörnquist Åstrand
00bcd44370 Switch from using a specific error message context in the TLS to have
a whole krb5_context in TLS. This have some interestion side-effekts
for the configruration setting options since they operate on
per-thread basis now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 18:02:57 +00:00
Love Hörnquist Åstrand
a16e0b633c Create our own krb5_context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 18:01:39 +00:00
Love Hörnquist Åstrand
b88907807b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 09:01:20 +00:00
Love Hörnquist Åstrand
d1aeb0f6ce When calling ->gm_set_cred_option and checking for success, use
GSS_S_COMPLETE. From Andrew Bartlet.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:59:43 +00:00
Love Hörnquist Åstrand
71d3953a5b Help solaris make even more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 20:14:33 +00:00
Love Hörnquist Åstrand
ed1a5f6565 Help solaris make.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19002 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 20:13:54 +00:00
Love Hörnquist Åstrand
fd4e210f07 remove include $(srcdir)/Makefile-digest.am for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 07:07:21 +00:00
Love Hörnquist Åstrand
290f195ef3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 03:32:11 +00:00
Love Hörnquist Åstrand
53eeb7198a Try better guessing what is mech we are going to select by looking
harder at the input_token, idea from Luke Howard's mechglue branch.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 03:30:12 +00:00
Love Hörnquist Åstrand
22a8c87461 libgssapi_la_OBJECTS: add depency on gkrb5_err.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 01:24:16 +00:00
Love Hörnquist Åstrand
ed1e1a5b9e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 01:07:43 +00:00
Love Hörnquist Åstrand
98e6018ae2 add GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 01:05:34 +00:00
Love Hörnquist Åstrand
b402bc547b Use int32_t for enctypes for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 01:00:30 +00:00
Love Hörnquist Åstrand
c4b2189f09 Implement gss_krb5_set_allowable_enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 00:57:27 +00:00
Love Hörnquist Åstrand
75ecdd2c1e GSS_KRB5_S_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 00:39:50 +00:00
Love Hörnquist Åstrand
edbd07c470 Include <gkrb5_err.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 00:36:40 +00:00
Love Hörnquist Åstrand
67070a0b2f Add gss_krb5_set_allowable_enctypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 00:29:12 +00:00
Love Hörnquist Åstrand
a26200a62a Build and install gkrb5_err.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 00:15:43 +00:00
Love Hörnquist Åstrand
4fc98d8003 Move the GSS_KRB5_S error here.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-09 23:52:17 +00:00
Love Hörnquist Åstrand
3be9d131ea x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 23:11:41 +00:00
Love Hörnquist Åstrand
e91161433a Add gsskrb5_set_default_realm.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 23:11:03 +00:00
Love Hörnquist Åstrand
1d743b581c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 23:07:35 +00:00
Love Hörnquist Åstrand
d72c44110c Support GSS_KRB5_SET_DEFAULT_REALM_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 23:06:42 +00:00
Love Hörnquist Åstrand
6c70ad3bff add GSS_KRB5_SET_DEFAULT_REALM_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 23:01:01 +00:00
Love Hörnquist Åstrand
a0c377d2fd Add gsskrb5_set_default_realm.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 22:55:56 +00:00
Love Hörnquist Åstrand
2c0779168f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 02:58:19 +00:00
Love Hörnquist Åstrand
adeeb5222e rename krb5_[gs]et_time_wrap to krb5_[gs]et_max_time_skew
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 02:56:28 +00:00
Love Hörnquist Åstrand
69eaa1a026 use krb5_get_time_wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 02:51:46 +00:00
Love Hörnquist Åstrand
f46e738880 Check that authtime is sane, From Andrew Bartlet
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 02:49:40 +00:00
Love Hörnquist Åstrand
0ed5fc55f9 _gsskrb5_extract_authz_data_from_sec_context no longer used, bye bye
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-08 02:42:50 +00:00
Love Hörnquist Åstrand
9b4cecc20f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 22:16:28 +00:00
Love Hörnquist Åstrand
c978e4fb68 No depenency of the krb5 gssapi mech.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 22:15:52 +00:00
Love Hörnquist Åstrand
3dd9bbd06d (gsskrb5_extract_authtime_from_sec_context): use _gsskrb5_decode_om_uint32
From Andrew Bartlet


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 22:03:29 +00:00
Love Hörnquist Åstrand
79be8d802d Add dummy gss_krb5_set_allowable_enctypes for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 21:57:47 +00:00
Love Hörnquist Åstrand
0b2f6c4188 Add GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 21:05:03 +00:00