Commit Graph

865 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
144e5ea208 add GSS_SASL_DIGEST_MD5_MECHANISM (for now)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 07:11:56 +00:00
Love Hörnquist Åstrand
b391925d80 try new subkey handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 15:59:33 +00:00
Love Hörnquist Åstrand
3215eeedae Add GSS_KRB5_GET_ACCEPTOR_SUBKEY_X.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 15:58:24 +00:00
Love Hörnquist Åstrand
19d57df33c add GSS_KRB5_GET_INITIATOR_SUBKEY_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-18 12:44:56 +00:00
Love Hörnquist Åstrand
6c4ca854ef implement GSS_KRB5_SET_DNS_CANONIZE_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:38:54 +00:00
Love Hörnquist Åstrand
903ee91df2 add GSS_KRB5_SET_DNS_CANONIZE_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 09:26:12 +00:00
Love Hörnquist Åstrand
00c5c484a9 Prefix der primitives with der_.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-14 10:12:16 +00:00
Love Hörnquist Åstrand
8b046e1d4f Make it work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-12 11:01:30 +00:00
Love Hörnquist Åstrand
4860ab5db8 Add lucid interface.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-12 08:50:42 +00:00
Love Hörnquist Åstrand
5c858395e5 Add lucid interface, renumber oids to my delegated space.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-12 08:50:11 +00:00
Love Hörnquist Åstrand
dfa6f7b248 reference all include files using krb5/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 22:16:04 +00:00
Love Hörnquist Åstrand
67b56ea02a indent comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 21:18:42 +00:00
Love Hörnquist Åstrand
d9bdb35e27 Thinker more with header lengths.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 20:57:02 +00:00
Love Hörnquist Åstrand
583be9c858 try harder to get the header calculations right
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 19:23:25 +00:00
Love Hörnquist Åstrand
563a9bf25e Improve the calcucation of header lengths. DCE-STYLE data is also
padded so remove if (1 || ...) code.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 19:04:50 +00:00
Love Hörnquist Åstrand
99f1c8cb8e (_gsskrb5_wrap_size_limit): use _gssapi_wrap_size_arcfour for arcfour
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 09:15:05 +00:00
Love Hörnquist Åstrand
0ed8497583 Move _gssapi_wrap_size_arcfour here.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 09:14:14 +00:00
Love Hörnquist Åstrand
75ece1ac48 Fix "if (x) lock(y)" bug. From Harald Barth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 17:55:35 +00:00
Love Hörnquist Åstrand
839c8fba02 DCE-style token do include padding, add it back.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 22:23:27 +00:00
Love Hörnquist Åstrand
26ae75721a Add wrap support, interrop with itself but not w2k3s-sp1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 21:42:28 +00:00
Love Hörnquist Åstrand
0ecd7e58ad move the arcfour specific stuff to the arcfour header.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 20:45:00 +00:00
Love Hörnquist Åstrand
24c75bf8eb Support DCE-style unwrap, tested with w2k3server-sp1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 20:44:03 +00:00
Love Hörnquist Åstrand
ac365a5552 Free service_keyblock and fwd_data, indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:57:22 +00:00
Love Hörnquist Åstrand
7d573742a1 Merge of the acceptor part from the samba patch by Stefan Metzmacher
and Andrew Bartlet.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:52:11 +00:00
Love Hörnquist Åstrand
67655a5dd5 Add GSS_C_DCE_STYLE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 11:22:14 +00:00
Love Hörnquist Åstrand
226ba0b6cd merge most of the initiator part from the samba patch by Stefan Metzmacher and Andrew Bartlet (still missing DCE/RPC support)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 10:41:31 +00:00
Love Hörnquist Åstrand
6fc08c2f0a Remove dup prototype of _gsskrb5_init()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 03:53:31 +00:00
Love Hörnquist Åstrand
492e9f9da2 add GSS_KRB5_REGISTER_ACCEPTOR_IDENTITY_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 02:30:07 +00:00
Love Hörnquist Åstrand
a2ea91c906 catch GSS_KRB5_REGISTER_ACCEPTOR_IDENTITY_X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 02:29:13 +00:00
Love Hörnquist Åstrand
24397fd675 reimplement gsskrb5_register_acceptor_identity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-20 02:28:37 +00:00
Love Hörnquist Åstrand
610f467aca Redo the wrap length calculations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-19 14:17:05 +00:00
Love Hörnquist Åstrand
430246f106 Expose the wrap length calculations in cfx for external testing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-19 14:16:33 +00:00
Love Hörnquist Åstrand
8938caad35 test max_wrap_size in cfx.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-07-19 14:15:07 +00:00