Commit Graph

1448 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1e6e0f52c0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-03 05:32:36 +00:00
Love Hörnquist Åstrand
41f3c8369b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-03 05:32:12 +00:00
Love Hörnquist Åstrand
9972ce7b46 Don't add asn1 wrapping to token when using DCE_STYLE.
Patch from Stefan Metze.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-03 05:29:21 +00:00
Love Hörnquist Åstrand
4fcad60455 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:14:12 +00:00
Love Hörnquist Åstrand
8fc05f54ad use krb5_get_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:13:56 +00:00
Love Hörnquist Åstrand
693a4c4358 Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:12:26 +00:00
Love Hörnquist Åstrand
a3bc3e9fed add krb5_gss_register_acceptor_identity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:12:11 +00:00
Love Hörnquist Åstrand
fd67ddb9c7 add krb5_gss_register_acceptor_identity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:11:53 +00:00
Love Hörnquist Åstrand
d1fff1d49c add krb5_gss_register_acceptor_identity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-29 02:11:36 +00:00
Love Hörnquist Åstrand
7d5e45d1ff x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-05 10:01:43 +00:00
Love Hörnquist Åstrand
ef70ee1c5a Add back "mech/utils.h", its needed for oid/buffer functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-05 09:56:20 +00:00
Love Hörnquist Åstrand
fc518d9fca Changes from doug barton to make spnego indepedant of the heimdal version of the plugin system.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-02 09:45:28 +00:00
Love Hörnquist Åstrand
81d68d4ee2 use DES_set_key_unchecked()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:51:26 +00:00
Love Hörnquist Åstrand
795ee939ea Add declspec for Windows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:01:57 +00:00
Love Hörnquist Åstrand
7a8595a588 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22998 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 19:36:29 +00:00
Love Hörnquist Åstrand
ab06e765d6 Use tmp to read ac->flags value to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-15 19:36:25 +00:00
Love Hörnquist Åstrand
523675b99b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:52 +00:00
Love Hörnquist Åstrand
405a435327 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:48 +00:00
Love Hörnquist Åstrand
784ffbfa6a Make delegated credentials delegated directly, Oleg Sharoiko pointed out that it always didnt work with the old code. Also add som missing cred and context pass-thou functions in the SPNEGO layer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-16 11:33:58 +00:00
Love Hörnquist Åstrand
df1cca124b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 21:11:21 +00:00
Love Hörnquist Åstrand
49dffae447 Add test for gsskrb5_register_acceptor_identity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-14 21:10:43 +00:00
Love Hörnquist Åstrand
1828420cc3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:58:11 +00:00
Love Hörnquist Åstrand
2d405842ad (init_auth): use right variable to detect if we want to free or not.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:57:54 +00:00
Love Hörnquist Åstrand
fe254dd716 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 15:10:18 +00:00
Love Hörnquist Åstrand
c130ec0a6a add missing \
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 15:09:34 +00:00
Love Hörnquist Åstrand
d9e70f4359 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 12:54:59 +00:00
Love Hörnquist Åstrand
82ece7c43d reshuffle depenencies
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 12:51:46 +00:00
Love Hörnquist Åstrand
27a3ca100e Add flag to not add gss-api INT|CONF to the negotiation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-26 12:40:35 +00:00
Love Hörnquist Åstrand
2b90d952c6 (_gss_spnego_inquire_context): make work, based on patch from Ryan Sleevi.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 21:12:48 +00:00
Love Hörnquist Åstrand
9ec788771d Add gss_mg_collect_error;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 16:04:58 +00:00
Love Hörnquist Åstrand
3673482a9b make the SPNEGO mech store the error itself instead, works for everything except other stackable mechs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 12:46:24 +00:00
Love Hörnquist Åstrand
a7b1b3b1aa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-18 18:21:23 +00:00
Love Hörnquist Åstrand
c2bc1d4b03 (spnego_reply): if the reply token was of length 0, make it the same
as no token. Pointed out by Zeqing Xia.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-18 18:19:51 +00:00
Love Hörnquist Åstrand
74bb34d6f0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-18 18:06:21 +00:00
Love Hörnquist Åstrand
088ad9f97d (acquire_initiator_cred): handle the credential cache better, use
destroy/close when appriate and for all cases. Thanks to Michael Allen
for point out the memory-leak that I also fixed.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-18 18:05:55 +00:00
Love Hörnquist Åstrand
5897dd8af9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-03 18:39:48 +00:00
Love Hörnquist Åstrand
b53c90da08 Make error reporting somewhat more correct for SPNEGO.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-03 18:20:24 +00:00
Love Hörnquist Åstrand
d977aceada x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-27 12:16:38 +00:00
Love Hörnquist Åstrand
9dd73c2b0a update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-27 12:10:20 +00:00
Love Hörnquist Åstrand
590105f28d Improve the error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-27 12:03:22 +00:00
Love Hörnquist Åstrand
dac269b329 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-24 11:51:47 +00:00
Love Hörnquist Åstrand
1a28e89e61 Avoid free-ing type1 message before its allocated.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-24 11:51:29 +00:00
Love Hörnquist Åstrand
bf2cc4e5a5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-13 09:45:22 +00:00
Love Hörnquist Åstrand
6dbf687f5a Test source name (and make the acceptor in ntlm gss mech useful).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-13 09:45:03 +00:00
Love Hörnquist Åstrand
f282936479 drop file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-11 14:28:13 +00:00
Love Hörnquist Åstrand
2a28b81eab Add mech/mech.5 and move stuff around.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-11 14:25:47 +00:00
Love Hörnquist Åstrand
807e2db542 drop freebsd Makefile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-11 14:19:59 +00:00
Love Hörnquist Åstrand
bb2223351f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-30 12:13:51 +00:00
Love Hörnquist Åstrand
bad0701a5d Don't confuse target name and source name, make regressiont tests pass again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-30 12:13:17 +00:00
Love Hörnquist Åstrand
6a3f4c58a5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-29 18:46:13 +00:00