Commit Graph

17379 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
77a889cd29 Don't announce spn if there is non.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 23:33:54 +00:00
Love Hörnquist Åstrand
3cf6b97bbf Check that the pre-wrapped data is the same as afterward.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 22:33:39 +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
8cd665242d Remove stray GSS_C_DCE_STYLE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 19:29:03 +00:00
Love Hörnquist Åstrand
e88a91bffb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 19:25:06 +00:00
Love Hörnquist Åstrand
6accd4715c (gss_accept_sec_context): if the token doesn't start with [APPLICATION
0] SEQUENCE, lets assume its a DCE-style kerberos 5 connection. XXX
this needs to be made better in cause we get another GSS-API protocol
violating protocol. It should be possible to detach the Kerberos
DCE-style since it starts with a AP-REQ PDU, but that have to wait for
now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 19:24:48 +00:00
Love Hörnquist Åstrand
32f0206a80 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 18:20:51 +00:00
Love Hörnquist Åstrand
fc0fccde1c Add logsocket support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 18:20:33 +00:00
Love Hörnquist Åstrand
58de1f16ce Fix logging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 16:28:40 +00:00
Love Hörnquist Åstrand
c715d0a0aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-25 07:10:37 +00:00
Love Hörnquist Åstrand
830e100213 remove unused file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-24 09:15:10 +00:00
Love Hörnquist Åstrand
ae207c90aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-24 09:13:36 +00:00
Love Hörnquist Åstrand
4e79ae875a (decode_type): drop unused variable realtype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-24 09:13:12 +00:00
Love Hörnquist Åstrand
e44de8b05e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:49:20 +00:00
Love Hörnquist Åstrand
c7577f523b (read_string): Try to not call signaction for signal 0 and use NSIG if
it exists to determin how many signals there exists, also, only
restore those signalhandlers that we got out.

Bug reported by and patch tested by Harald Barth.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:45:57 +00:00
Love Hörnquist Åstrand
1e66a80b73 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:44:03 +00:00
Love Hörnquist Åstrand
631229648a try to not call signaction for signal 0 and use NSIG if it exists to
determin how many signals there exists, also, only restore those
signalhandlers that we got out.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 15:42:39 +00:00
Love Hörnquist Åstrand
294b75a0d6 Add GSS_C flags from draft-brezak-win2k-krb-rc4-hmac-04.txt.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:58:47 +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
057d0232fe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:53:11 +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
f103a5431d (build_context): print the step the context exchange.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 14:18:04 +00:00
Love Hörnquist Åstrand
d6d6a0ae4b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 11:22:23 +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
9bc15736ff x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 10:42:16 +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
1ade93b8c6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 10:00:04 +00:00
Love Hörnquist Åstrand
ba22863ee0 Catch failures from gssmaestro.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-22 09:59:51 +00:00
Love Hörnquist Åstrand
7b16fb34b0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 10:15:50 +00:00
Love Hörnquist Åstrand
5f4bd93468 Add GSS_C_INTEG_FLAG|GSS_C_CONF_FLAG to all flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 10:15:34 +00:00
Love Hörnquist Åstrand
8224705132 Add wrap and mic tests for all elements
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 09:57:53 +00:00
Love Hörnquist Åstrand
d8bc0ea463 Add mic tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 09:57:26 +00:00
Love Hörnquist Åstrand
aea29bec78 Add previous ETypeList code again, it was a halfbuilt context that
broke the code.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 09:00:36 +00:00
Love Hörnquist Åstrand
fca3d2bdcf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 08:54:12 +00:00
Love Hörnquist Åstrand
597c5e99e5 dont exit early then co-worker is bad.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 08:53:24 +00:00
Love Hörnquist Åstrand
4492b832ae x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 07:44:44 +00:00
Love Hörnquist Åstrand
7c180646d3 disable ETypeList parsing usage for now, cfx seems broken and its not
good to upgrade to a broken enctype.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 07:44:32 +00:00
Love Hörnquist Åstrand
5fdf405d6e limit keys to des3-cbc-sha1:pw-salt for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 07:10:52 +00:00
Love Hörnquist Åstrand
9ca18bb277 clean more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 07:10:15 +00:00
Love Hörnquist Åstrand
41251ac808 Add tests to wrap/unwrap.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 07:09:49 +00:00
Love Hörnquist Åstrand
3569862318 update useage for kafs, and add right lib (kafs) to lib_flags.
From Joakim Fallsjö.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 06:54:55 +00:00
Love Hörnquist Åstrand
9f939ee9f2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 12:16:25 +00:00
Love Hörnquist Åstrand
6f5411adfa Add wrap/unwrap ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 12:16:15 +00:00
Love Hörnquist Åstrand
5476093f39 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:35:55 +00:00
Love Hörnquist Åstrand
db11cf65a4 Add a third client
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:35:27 +00:00
Love Hörnquist Åstrand
f782011114 Add eGetVersionAndCapabilities flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:34:03 +00:00
Love Hörnquist Åstrand
04816acff0 Add permutate_all (and support functions).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-20 03:32:59 +00:00