Commit Graph

19 Commits

Author SHA1 Message Date
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
ba22a47a93 add _gss_ntlm_allocate_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:04:07 +00:00
Love Hörnquist Åstrand
fd0d5b4e0f Check that the KDC seem to there and answering us, we can't do better
then that wen checking if we will accept the credential.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:03:45 +00:00
Love Hörnquist Åstrand
ae966fe266 return GSS_S_UNAVAILABLE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 13:02:25 +00:00
Love Hörnquist Åstrand
b51a41e7d1 Allocate the buffer from the right length.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19392 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-16 08:31:47 +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
af03eba4a5 free username and password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19387 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:49:13 +00:00
Love Hörnquist Åstrand
0ccb9c8444 (_gss_ntlm_release_name): free name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:48:13 +00:00
Love Hörnquist Åstrand
7ccd5835db store username and password in the ntlm_ctx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:47:31 +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
c3c1fa1aaa (_gss_ntlm_import_name): add support for GSS_C_NT_HOSTBASED_SERVICE names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:24:18 +00:00
Love Hörnquist Åstrand
1babec8943 Add ntlm_name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 22:23:13 +00:00
Love Hörnquist Åstrand
5ba324eae7 (handle_type3): verify that the kdc approved of the ntlm exchange too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:06:54 +00:00
Love Hörnquist Åstrand
792c38eaf4 Switch OID to the ms ntlmssp oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:01:48 +00:00
Love Hörnquist Åstrand
aac9035b3d Catch more error errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 18:49:08 +00:00
Love Hörnquist Åstrand
0188d9ca47 Check after a credential to use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 16:40:28 +00:00
Love Hörnquist Åstrand
fbb7a0e925 Don't fail, mech glue layer can't stand that.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 16:33:19 +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