Commit Graph

1117 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
145d124f97 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 19:27:09 +00:00
Love Hörnquist Åstrand
4806754426 Use IS_DCE_STYLE flag. There is no padding in DCE-STYLE, don't try to use to.
From Andrew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 19:05:16 +00:00
Love Hörnquist Åstrand
cc68fac9fe test wrap/unwrap, add flag for dce-style and mutual auth,
also support multi-roundtrip sessions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 19:02:54 +00:00
Love Hörnquist Åstrand
893d903659 Add IS_DCE_STYLE macro.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 17:57:43 +00:00
Love Hörnquist Åstrand
1a7ec40448 (init_auth): There is no OID wrapping on the reply token. From Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 17:40:01 +00:00
Love Hörnquist Åstrand
3dced0866c (gsskrb5_acceptor_start): use krb5_rd_req_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 14:52:05 +00:00
Love Hörnquist Åstrand
b38b62d51a (gsskrb5_get_subkey): return the per message token subkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 14:41:35 +00:00
Love Hörnquist Åstrand
439286c150 check if there is any key at all
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-07 14:34:35 +00:00
Love Hörnquist Åstrand
8e0530bcee Set more error strings, use right enum for acceptor subkey.
From Andrew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-06 18:21:23 +00:00
Love Hörnquist Åstrand
fc9d24c7de x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-05 00:50:49 +00:00
Love Hörnquist Åstrand
acaa0b8655 Test gsskrb5_extract_service_keyblock, needed in PAC valication.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-05 00:46:21 +00:00
Love Hörnquist Åstrand
15ffd5b195 Add keyblock extraction functions, set more errorstrings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-05 00:35:32 +00:00
Love Hörnquist Åstrand
d3eeb37f3d Add gsskrb5_extract_authz_data_from_sec_context and keyblock
extraction functions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-05 00:23:01 +00:00
Love Hörnquist Åstrand
51c7ede9d6 Add extraction of keyblock function, from Andrew Bartlett.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-05 00:06:09 +00:00
Love Hörnquist Åstrand
e4947d8944 Add GSS_KRB5_GET_SERVICE_KEYBLOCK_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-05 00:03:15 +00:00
Love Hörnquist Åstrand
0cd59b2fa5 Rename various routines and constants from canonize to canonicalize.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:12:46 +00:00
Love Hörnquist Åstrand
8ddaadec0e Rename various routines and constants from canonize to canonicalize.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 02:42:17 +00:00
Love Hörnquist Åstrand
416000fcde x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-25 04:20:52 +00:00
Love Hörnquist Åstrand
8051eadfb4 (gsskrb5_accept_delegated_token): need to free ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-25 04:19:45 +00:00
Love Hörnquist Åstrand
1ad6535a1d (loop): free target_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-25 03:32:08 +00:00
Love Hörnquist Åstrand
ef4ef516e5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-25 00:54:09 +00:00
Love Hörnquist Åstrand
6c33791de5 SLIST_INIT the ->gc_mc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-25 00:45:12 +00:00
Love Hörnquist Åstrand
b619dd374c Avoid leaking memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 23:03:19 +00:00
Love Hörnquist Åstrand
b9fec80080 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:55:32 +00:00
Love Hörnquist Åstrand
ab649d3154 (gss_release_buffer_set): don't leak the ->elements memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:53:02 +00:00
Love Hörnquist Åstrand
6f3ca67165 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:17:10 +00:00
Love Hörnquist Åstrand
204ee001a8 Free the security contexts when done.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:15:24 +00:00
Love Hörnquist Åstrand
14f11cf880 (_gssapi_verify_mic_cfx): always free crypto context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:13:22 +00:00
Love Hörnquist Åstrand
46e536ef18 (import_cred): free sp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 20:14:13 +00:00
Love Hörnquist Åstrand
9f02e50607 (export_lucid_sec_context_v1): remove locking around
_gsskrb5i_get_token_key since it will handle that itself.
From Kevin Coffman.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 15:55:28 +00:00
Love Hörnquist Åstrand
2eb73a3be0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 09:37:17 +00:00
Love Hörnquist Åstrand
56fa3ffc37 Use old implementation of gss_add_oid_set_member, it leaks less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 09:36:13 +00:00
Love Hörnquist Åstrand
3eb38897de x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 08:02:56 +00:00
Love Hörnquist Åstrand
d40964f04f free krb5_crypto.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 08:02:26 +00:00
Love Hörnquist Åstrand
72320e9d0c free krb5_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 08:00:15 +00:00
Love Hörnquist Åstrand
cb3930a054 (gss_release_name): free input_name it-self.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 07:59:06 +00:00
Love Hörnquist Åstrand
c6116b6f19 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 06:42:45 +00:00
Love Hörnquist Åstrand
f2192a206e Call setprogname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 06:42:28 +00:00
Love Hörnquist Åstrand
16cf6e8c7a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 22:05:37 +00:00
Love Hörnquist Åstrand
da3d6a24ab Add gsskrb5_extract_authtime_from_sec_context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 22:05:02 +00:00
Love Hörnquist Åstrand
d5fc4ef18d add gsskrb5_extract_authtime_from_sec_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 22:04:03 +00:00
Love Hörnquist Åstrand
2ec5ee4cb7 Add get_authtime.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 21:56:07 +00:00
Love Hörnquist Åstrand
e82fe544c3 add GSS_KRB5_GET_AUTHTIME_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 21:50:24 +00:00
Love Hörnquist Åstrand
98512c905d ignore spnego-private.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 20:43:33 +00:00
Love Hörnquist Åstrand
9cc58d5356 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 18:59:05 +00:00
Love Hörnquist Åstrand
01e1d3e968 Implement GSS_KRB5_SEND_TO_KDC_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 18:58:22 +00:00
Love Hörnquist Åstrand
75f1c15254 Add gsskrb5_set_send_to_kdc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 18:55:37 +00:00
Love Hörnquist Åstrand
69c4ab7ef6 Add GSS_KRB5_SEND_TO_KDC_X and gsskrb5_set_send_to_kdc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 18:55:09 +00:00
Love Hörnquist Åstrand
6be8066e7d add GSS_KRB5_SEND_TO_KDC_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 18:48:25 +00:00
Love Hörnquist Åstrand
1b9fae5253 more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 15:52:20 +00:00