Commit Graph

18113 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 6c898c9c9f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-06 17:36:25 +00:00
Love Hörnquist Åstrand 7ca637df72 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-06 17:16:10 +00:00
Love Hörnquist Åstrand 16679f8174 A few fixes to have Heimdal pass the make check under socket_wrapper.
The first is a missing 'break' before the (heimdal specific) IPv6 support.

The second works around the fact that sendto() *may* object to a
destination being specified.  It appears to be that on Linux, this
objects (with EISCONN) for unix stream sockets, but not for TCP
sockets.

The alternate fix would be to have the KDC use 'send()' in this case.

Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-06 17:12:34 +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 62430a07d1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:55:26 +00:00
Love Hörnquist Åstrand 343b2cb1c2 (hx509_query_match_cmp_func): return 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:43:24 +00:00
Love Hörnquist Åstrand 159fc828ab add context variable to cmp function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:31:41 +00:00
Love Hörnquist Åstrand c226612caa (hx509_query_match_cmp_func): allow setting the match function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 23:27:49 +00:00
Love Hörnquist Åstrand 6cf72f998b (_kdc_as_rep): More verbose time skew logging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 17:05:28 +00:00
Love Hörnquist Åstrand 23e43c8e78 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:41:23 +00:00
Love Hörnquist Åstrand ccbbd474e1 Rename various routines and constants from canonize to canonicalize.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:34:57 +00:00
Love Hörnquist Åstrand b15281a864 Add krb5_[gs]et_time_wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:27:47 +00:00
Love Hörnquist Åstrand c9ccbb40f2 Rename various routines and constants from canonize to canonicalize.
From Andrew Bartlett


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-04 03:20:57 +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 233f388038 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-03 05:22:14 +00:00
Love Hörnquist Åstrand 38270cde9d (add_list): fix alloc statement, From Alex Deiter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-03 05:21:01 +00:00
Love Hörnquist Åstrand 7a23f47ef3 (add_list): fix alloc statement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-03 05:17:56 +00:00
Love Hörnquist Åstrand 7cb1757971 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-25 05:02:16 +00:00
Love Hörnquist Åstrand 42e0d8a80b Move version.h and version.h.in to DISTCLEANFILES.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-25 05:01:12 +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 32df330c53 Only log when there are resources left.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 23:30:56 +00:00
Love Hörnquist Åstrand 653bb59432 Try free all resources.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 23:29:34 +00:00
Love Hörnquist Åstrand faa8db30a9 Sleep some longer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 23:12:43 +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 cb603a5624 Avoid leaking memory. rename ->handle to ->handles.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 22:35:53 +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 f8be4f2e63 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:03:12 +00:00
Love Hörnquist Åstrand ef5a0a83f1 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 21:01:40 +00:00
Love Hörnquist Åstrand a79baec2e3 (AcquireCreds): free krb5_get_init_creds_opt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 20:16:29 +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 1186389444 set more error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 19:58:16 +00:00
Love Hörnquist Åstrand 77e4ca555d Return less EINVAL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 19:57:16 +00:00
Love Hörnquist Åstrand b80776d43c add more pkcs11 errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 19:56:02 +00:00
Love Hörnquist Åstrand 896bc81f54 Default to always print subject dn for pk-init authorization.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 17:51:33 +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 9a6b638fb0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-24 14:39:27 +00:00