Commit Graph

41 Commits

Author SHA1 Message Date
Love Hornquist Astrand
2eae1a1d30 spelling 2010-10-27 21:09:41 -07:00
Asanka Herath
5dcc605f6b Fix calling conventions for Windows 2010-08-20 13:14:10 -04:00
Love Hornquist Astrand
ab1b87b557 drop RCSID 2009-11-14 11:15:57 -08:00
Love Hornquist Astrand
f030b4e59a free context 2009-08-27 18:30:29 -07:00
Love Hörnquist Åstrand
26cc8f6525 flatten namespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 20:49:54 +00:00
Love Hörnquist Åstrand
306628d12c switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:56:37 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
30d0d24121 catch error, zero out variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:20 +00:00
Love Hörnquist Åstrand
21f5c84036 Catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:08 +00:00
Love Hörnquist Åstrand
96641812d5 close-on-exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:35 +00:00
Love Hörnquist Åstrand
82570534fc pass extra argument to krb5_cc_[gs]et_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:37:07 +00:00
Love Hörnquist Åstrand
77e2e6d550 restore username parsing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:32:47 +00:00
Love Hörnquist Åstrand
23b129144f Use krb5_cc_get_config.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-26 18:26:49 +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
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
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
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
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
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
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
8b203992a0 Use heim_ntlm_calculate_ntlm2_sess.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 06:01:48 +00:00
Love Hörnquist Åstrand
877b0883e8 split out backend ntlm server processing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 00:17:59 +00:00
Love Hörnquist Åstrand
09c2d40688 ntlm-key credential entry is prefix with @
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:43:16 +00:00
Love Hörnquist Åstrand
e202c6e8c2 (get_user_ccache): pick up the ntlm creds from the krb5 credential cache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:24:43 +00:00
Love Hörnquist Åstrand
df9b71b724 move where hash is calculated to make it easier to add ccache support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 17:33:59 +00:00
Love Hörnquist Åstrand
b95c3bd0bb Pass signseal argument to _gss_ntlm_set_key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:49:48 +00:00
Love Hörnquist Åstrand
7f49c4ad56 use _gss_ntlm_set_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:38:37 +00:00
Love Hörnquist Åstrand
d296c67503 Set dummy ntlmv2 keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:08:25 +00:00
Love Hörnquist Åstrand
63abf99eb3 disable ntlmv2 since we can't handle wrap/unwrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 14:19:29 +00:00
Love Hörnquist Åstrand
6b7ecbef09 Build ntlmv2 answer buffer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 20:02:01 +00:00
Love Hörnquist Åstrand
0ee0699c46 Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 16:14:02 +00:00
Love Hörnquist Åstrand
3e8f397701 Announce that we support key exchange.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 07:34:13 +00:00
Love Hörnquist Åstrand
60e458b33b Add NTLM_NEG_NTLM2_SESSION, NTLMv2 session security (disable because
missing sign and seal).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:38:43 +00:00
Love Hörnquist Åstrand
35dc0e94d1 split RC4 send and recv keystreams
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 18:22:08 +00:00
Love Hörnquist Åstrand
ace0210c49 pass on GSS_C_CONF_FLAG and GSS_C_INTEG_FLAG, save the session master key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 15:30:44 +00:00
Love Hörnquist Åstrand
450f635e88 Calculate the NTLM version 1 "master" key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:23:24 +00:00
Love Hörnquist Åstrand
7e1c31e8c2 (init_sec_context): Tell the other side what domain we think we are
talking to.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:50:58 +00:00
Love Hörnquist Åstrand
d53618b20e Use the target_name to figure out what username/password to use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:44:14 +00:00
Love Hörnquist Åstrand
2e061ed271 ntlm gssapi module, only support context building
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-14 12:17:34 +00:00