Commit Graph

1430 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
86554555a3 clean up name handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-29 18:42:56 +00:00
Love Hörnquist Åstrand
2504ac11ca Use ntlm_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 18:48:02 +00:00
Love Hörnquist Åstrand
66f8605e07 handle username part of the ntlm name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22373 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 18:36:06 +00:00
Love Hörnquist Åstrand
a33bc65fe1 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-06 16:23:59 +00:00
Love Hörnquist Åstrand
3f24633cdb Less warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 22:19:31 +00:00
Love Hörnquist Åstrand
7393bb9715 Less warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 22:19:16 +00:00
Love Hörnquist Åstrand
ed1079182d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 22:06:49 +00:00
Love Hörnquist Åstrand
fa5d1267bc Use credential if it was passed in.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 22:06:33 +00:00
Love Hörnquist Åstrand
d189f9e9d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 21:44:40 +00:00
Love Hörnquist Åstrand
0a9f8b895b Check if there is initial creds with _gss_ntlm_get_user_cred().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 21:44:26 +00:00
Love Hörnquist Åstrand
a650e10c34 Move probe up and comment why its called.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 21:36:35 +00:00
Love Hörnquist Åstrand
8ca9a4469c add credential handling, add probe function, add better acquired cred function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 21:25:06 +00:00
Love Hörnquist Åstrand
280b58bb08 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 20:20:49 +00:00
Love Hörnquist Åstrand
01401cc9b6 Add _gss_ntlm_get_user_info() that return the user info so it can be
used by external modules.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 18:03:04 +00:00
Love Hörnquist Åstrand
529fe557b5 use the right error code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 17:59:29 +00:00
Love Hörnquist Åstrand
c11e764195 Return GSS_C_NO_CREDENTIAL if there is no credential, ntlm have (not
yet) a default credential.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 17:58:45 +00:00
Love Hörnquist Åstrand
c9f248b7f0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 17:32:33 +00:00
Love Hörnquist Åstrand
292c545215 Avoid trying to deref NULL, from Phil Fisher.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 17:31:55 +00:00