Commit Graph

18692 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
07a8f134e8 Make bitfields unsigned, add maybe_open.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 11:37:25 +00:00
Love Hörnquist Åstrand
a4908290ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 11:10:54 +00:00
Love Hörnquist Åstrand
b60aecaebf Use ASN.1 encoder functions to encode CHOICE structure now that we can handle it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 11:10:46 +00:00
Love Hörnquist Åstrand
062328fffc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19047 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:31:33 +00:00
Love Hörnquist Åstrand
75b517309f (_gss_spnego_accept_sec_context): send back ad accept_completed when
the security context is ->open, w/o this the client doesn't know that
the server have completed the transaction.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:31:21 +00:00
Love Hörnquist Åstrand
db9e36b915 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19045 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:19:54 +00:00
Love Hörnquist Åstrand
0be2851d8e Add delegate flag and check that the delegated cred works.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19044 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:19:41 +00:00
Love Hörnquist Åstrand
c00799be18 Keep track of the opportunistic token in the inital message, it might
be a complete gss-api context, in that case we'll get back
accept_completed without any token. With this change, krb5 w/o mutual
authentication works.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 10:18:55 +00:00
Love Hörnquist Åstrand
c8fd5412ce Use ASN.1 encoder functions to encode CHOICE structure now that we can handle it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 09:01:45 +00:00
Love Hörnquist Åstrand
8f4072982a Add dce-style context building test.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 08:49:28 +00:00
Love Hörnquist Åstrand
0f08e9941a test more combination of context building
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 08:45:51 +00:00
Love Hörnquist Åstrand
774e93dac2 Filter out SPNEGO from the out supported mechs list and make sure we
don't select that for the preferred mechamism.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-15 08:42:36 +00:00
Love Hörnquist Åstrand
576019c819 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19038 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 12:35:04 +00:00
Love Hörnquist Åstrand
f34964d46f (_gss_mech_cred_find): break out the cred finding to its own function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19037 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 12:33:11 +00:00
Love Hörnquist Åstrand
882845f819 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 10:05:56 +00:00
Love Hörnquist Åstrand
92486672bd Better error strings, from Andrew Bartlet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 09:49:56 +00:00
Love Hörnquist Åstrand
891f46953e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 09:48:24 +00:00
Love Hörnquist Åstrand
8e8a2d46f4 Forward decl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-14 09:47:07 +00:00
Love Hörnquist Åstrand
3e0139bc20 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 18:06:45 +00:00
Love Hörnquist Åstrand
00bcd44370 Switch from using a specific error message context in the TLS to have
a whole krb5_context in TLS. This have some interestion side-effekts
for the configruration setting options since they operate on
per-thread basis now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 18:02:57 +00:00
Love Hörnquist Åstrand
a16e0b633c Create our own krb5_context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 18:01:39 +00:00
Love Hörnquist Åstrand
073e1a2052 (fill_zeros): stop using MIN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 17:45:27 +00:00
Love Hörnquist Åstrand
9cfefab1b3 Forward decl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 17:39:45 +00:00
Love Hörnquist Åstrand
bbb3facabd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 10:11:33 +00:00
Love Hörnquist Åstrand
c1fc563b38 switch to test.h5l.se
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 10:09:12 +00:00
Love Hörnquist Åstrand
b88907807b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 09:01:20 +00:00
Love Hörnquist Åstrand
d1aeb0f6ce When calling ->gm_set_cred_option and checking for success, use
GSS_S_COMPLETE. From Andrew Bartlet.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:59:43 +00:00
Love Hörnquist Åstrand
3580cf19b8 Change realm to TEST.H5L.SE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:22:52 +00:00
Love Hörnquist Åstrand
edd8dd277c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:20:46 +00:00
Love Hörnquist Åstrand
73d8cedc12 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:20:13 +00:00
Love Hörnquist Åstrand
8835bc2f1f Update all strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 08:19:07 +00:00
Love Hörnquist Åstrand
ef6a951382 SE not ORG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 07:44:50 +00:00
Love Hörnquist Åstrand
bd69f9fb24 regen with TEST.H5L.SE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:50:22 +00:00
Love Hörnquist Åstrand
17fd0d123f use TEST2.H5L.SE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:41:55 +00:00
Love Hörnquist Åstrand
6a065ff0a7 use TEST.H5L.SE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19016 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:41:54 +00:00
Love Hörnquist Åstrand
314fb19bfd Use TEST.H5L.ORG instead of EXAMPLE.ORG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:34:56 +00:00
Love Hörnquist Åstrand
19712268d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:32:46 +00:00
Love Hörnquist Åstrand
cfb4caacee Use NOTHERE.H5L.SE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:28:43 +00:00
Love Hörnquist Åstrand
e53d2e7d9a Use 127.0.0.2 to make us slightly diffrent from the rest of the world.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:11:39 +00:00
Love Hörnquist Åstrand
fc7e9e82d2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:06:30 +00:00
Love Hörnquist Åstrand
feca1fb894 Fill in hints for picky getaddrinfo()s.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:06:08 +00:00
Love Hörnquist Åstrand
8ba76d2ba8 Set sin_len if it exists.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 05:01:03 +00:00
Love Hörnquist Åstrand
35ac6d4651 Use plugin for the other realm locate types too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-13 04:46:37 +00:00
Love Hörnquist Åstrand
b000964b53 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:49:19 +00:00
Love Hörnquist Åstrand
1bbf3e6917 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:42:18 +00:00
Love Hörnquist Åstrand
f6b6bb58e3 Add plugin types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:40:19 +00:00
Love Hörnquist Åstrand
ec21016cde Read config file and allow multi directories.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 21:39:43 +00:00
Love Hörnquist Åstrand
71d3953a5b Help solaris make even more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 20:14:33 +00:00
Love Hörnquist Åstrand
ed1a5f6565 Help solaris make.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19002 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 20:13:54 +00:00
Love Hörnquist Åstrand
c16f8fcd4e Add plugin api.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-12 20:06:52 +00:00