Love Hörnquist Åstrand
b110e33a3f
minimize layering and remove krb5_kdc_flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 12:00:59 +00:00
Love Hörnquist Åstrand
e0645d20a6
Make compile.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 11:57:36 +00:00
Love Hörnquist Åstrand
204118e4d1
Always use the kdc_flags in the right bit order.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 11:54:45 +00:00
Love Hörnquist Åstrand
df68c9c378
(digest_request): if NULL is passed in as realm, use default realm.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 10:49:56 +00:00
Love Hörnquist Åstrand
3259ff1f40
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 09:15:24 +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
246de3cc42
prefix all gss_spnego with _, use generated headers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 08:07:58 +00:00
Love Hörnquist Åstrand
0f9e86aa49
Split all mech to diffrent mechsrc variables.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 08:06:03 +00:00
Love Hörnquist Åstrand
493bd788d4
Make internal function static (and rename).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 07:29:58 +00:00
Love Hörnquist Åstrand
af7f029a28
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 18:05:53 +00:00
Love Hörnquist Åstrand
dce4b55512
Fix double free's, NULL ptr de-reference, and conform better to pkcs11.
...
From Douglas Engert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 18:05:05 +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
c667d17ea8
Include <sys/param.h> for MAXHOSTNAMELEN.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 17:50:55 +00:00
Love Hörnquist Åstrand
14f1218bfc
Grow (%p, %a, %n) tables for Solaris 10 lex. From Harald Barth.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 17:36:38 +00:00
Love Hörnquist Åstrand
9d38bdd08c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-26 19:40:12 +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
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
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
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
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
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
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
b98c29b898
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 14:09:10 +00:00
Love Hörnquist Åstrand
a8a340457c
starfield test root cert and Ralf-Philipp and Andreis correctly padded bad cert
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 14:02:43 +00:00
Love Hörnquist Åstrand
516245576b
Bleichenbacher bad cert from Ralf-Philipp Weinmann and Andrew Pyshkin, pad right.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 14:01:45 +00:00
Love Hörnquist Åstrand
961332d213
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-16 17:33:53 +00:00
Love Hörnquist Åstrand
de2de1213c
Add samba socket wrapper fragment.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-16 17:33:07 +00:00
Love Hörnquist Åstrand
64bcdf0b5d
Fixes from Björn Sandell.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-16 09:27:28 +00:00
Love Hörnquist Åstrand
364e63f12a
Add commeted out test that exponent is > 3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 14:09:28 +00:00
Love Hörnquist Åstrand
1b8fc81fde
yutaka test certs
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 06:07:55 +00:00
Love Hörnquist Åstrand
8f46285916
Add test for yutaka certs.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 06:00:11 +00:00
Love Hörnquist Åstrand
6168bc80da
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 05:59:46 +00:00
Love Hörnquist Åstrand
41e00c0c70
Add a strict rfc3280 verification flag. rfc3280 requires certificates
...
to have KeyUsage.keyCertSign if they are to be used for signing of
certificates, but the step in the verifiation is optional.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18086 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 05:59:35 +00:00
Love Hörnquist Åstrand
697eae9c9d
Improve printing and error reporting.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 05:50:17 +00:00