Love Hörnquist Åstrand
681c7331c4
Add krb5_digest functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-03 10:39:35 +00:00
Love Hörnquist Åstrand
900a000efe
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-03 07:54:58 +00:00
Love Hörnquist Åstrand
04c2dfb7c6
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 21:48:45 +00:00
Love Hörnquist Åstrand
d02fc9dbf1
Add more libs to libhx509
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 21:35:24 +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
4c9872cc28
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 19:05:05 +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
2d4a99078f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 12:01:07 +00:00
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
0766e2a20a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 10:51:03 +00:00
Love Hörnquist Åstrand
3bab71b31d
Don't require --kerberos-realm.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 10:50:52 +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
a888cae1f8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 08:15:08 +00:00
Love Hörnquist Åstrand
d4476e0582
build gssapi mech private files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-02 08:14:57 +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
fd557f4d6c
Add ret16.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 17:52:36 +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
54422e87f8
remove ^M, it breaks solaris 10s cc. From Harald Barth
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-01 17:43:42 +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
000e414563
Handle FIRST_CALL in the context building, better error handling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-26 19:39:20 +00:00
Love Hörnquist Åstrand
76548e0fd2
switch from wrap/unwrap to encrypt/decrypt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-26 09:55:55 +00:00
Love Hörnquist Åstrand
e4bf1ed0e8
make less exit() happy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-26 01:21:37 +00:00
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