Commit Graph

1192 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ec4eebc3bc Reset out variables, fix memory leak.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 14:59:22 +00:00
Love Hörnquist Åstrand
a91751a349 Reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 13:56:18 +00:00
Love Hörnquist Åstrand
d12e6d103d Zero out outbuffer on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19957 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 13:48:11 +00:00
Love Hörnquist Åstrand
0db124f817 Reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 12:04:16 +00:00
Love Hörnquist Åstrand
0197cd7901 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 11:50:33 +00:00
Love Hörnquist Åstrand
01dec4c58f Reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 11:50:23 +00:00
Love Hörnquist Åstrand
b23d37808e Reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 11:16:35 +00:00
Love Hörnquist Åstrand
8391e794cb Reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:16:15 +00:00
Love Hörnquist Åstrand
8688e0470a Reset out variables using propper macros.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:14:58 +00:00
Love Hörnquist Åstrand
a6f8a10e7e Reset out variables.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:10:08 +00:00
Love Hörnquist Åstrand
0406f11498 Reset out variables using propper macros.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:05:51 +00:00
Love Hörnquist Åstrand
c441e760b5 (_mg_buffer_zero): new macro that zaps a gss_buffer_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 10:03:07 +00:00
Love Hörnquist Åstrand
fab851c067 mechsrc += mech/context.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 12:30:12 +00:00
Love Hörnquist Åstrand
8ed92d4e85 sprinkel _gss_mg_error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:37:54 +00:00
Love Hörnquist Åstrand
0a7d314165 (gss_display_status): use _gss_mg_get_error to fetch the error from
underlaying mech, if it failes, let do the regular dance for GSS-CODE
version and a generic print-the-error code for MECH-CODE.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:35:09 +00:00
Love Hörnquist Åstrand
5138355930 Don't include the NUL in the length of the string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:26:07 +00:00
Love Hörnquist Åstrand
d2752533aa Protoypes for _gss_mg_.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:19:27 +00:00
Love Hörnquist Åstrand
545bb59019 Glue to catch the error from the lower gss-api layer and save that for
later so gss_display_status() can show the error.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 10:17:01 +00:00
Love Hörnquist Åstrand
0353cc0b50 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 09:32:52 +00:00
Love Hörnquist Åstrand
4ddf0e6cc1 Detect NTLM.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 09:32:03 +00:00
Love Hörnquist Åstrand
79dbf65cce x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:48:14 +00:00
Love Hörnquist Åstrand
48eb7bea6f spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:40:42 +00:00
Love Hörnquist Åstrand
555c798962 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:54:30 +00:00
Love Hörnquist Åstrand
b1e2db09df fix name of krb5-gss private header
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 14:13:16 +00:00
Love Hörnquist Åstrand
a41368a46c Include build (private) prototypes header files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 14:06:35 +00:00
Love Hörnquist Åstrand
e6bfa2b2dd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:40:16 +00:00
Love Hörnquist Åstrand
6c800c5ae7 (ntlmsrc): add ntlm/ntlm-private.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 23:39:59 +00:00
Love Hörnquist Åstrand
ead67afe06 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:49:56 +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
3cc3d6398b (_gss_ntlm_set_key): add signseal argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:49:01 +00:00
Love Hörnquist Åstrand
a06a8d8e14 add ntlmv2 test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:39:38 +00:00
Love Hörnquist Åstrand
d3a2df7306 break out struct ntlmv2_key;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:38:52 +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
2412c6be41 (_gss_ntlm_set_key): set ntlm v2 keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:38:07 +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
9421ec31ba Set dummy ntlmv2 keys and Check TI.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:08:06 +00:00
Love Hörnquist Åstrand
95d767da33 NTLMv2 keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:00:27 +00:00
Love Hörnquist Åstrand
3f4a53cda3 NTLMv2 sign and verify.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19525 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 13:58:52 +00:00
Love Hörnquist Åstrand
1384d00d1d add v2 sign and seal function (commented out, key derivation still missing).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 18:16:38 +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
688957a2f0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 20:03:28 +00:00
Love Hörnquist Åstrand
fca448bd23 Don't send targetinfo now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 20:02:28 +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
afff6fd22a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 16:53:25 +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
a9f3a45bde x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 07:36:53 +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
9221d73d7d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 18:23:11 +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