Love Hörnquist Åstrand
8eafb063b6
Log probe message, add NTLM_TARGET_DOMAIN to the type2 message.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-28 18:36:52 +00:00
Love Hörnquist Åstrand
0db626f9e3
Implement supportedMechs request.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 19:58:55 +00:00
Love Hörnquist Åstrand
73ba3c2493
Use unsigned char * as argument to MD5_Update to please OpenSSL and gcc.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 07:03:25 +00:00
Love Hörnquist Åstrand
27425a5654
Try harder to provide better error message for digest messages.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-02 17:17:14 +00:00
Love Hörnquist Åstrand
cd291596a6
On success, print username, not ip-adress.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-28 09:03:03 +00:00
Love Hörnquist Åstrand
a0320981ed
Return an error message instead of dropping the packet for more
...
failure cases.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 11:30:19 +00:00
Love Hörnquist Åstrand
4b3ea33a6a
Factor out fetching of password and move it to the code that uses
...
it. This code would not hurt by factoring out some more code...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 20:52:29 +00:00
Love Hörnquist Åstrand
50f2521922
Remove printing of ntlmv2 hash, was running wrong version of the kdc.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 13:17:23 +00:00
Love Hörnquist Åstrand
2ee2c22b2e
More logging for ntlm v2 digest hash mismatch case.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 12:59:12 +00:00
Love Hörnquist Åstrand
f48ceb510e
(digest ntlm): provide log entires by setting ret to an error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 04:07:26 +00:00
Love Hörnquist Åstrand
4ac442a884
Remove debug output.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 07:06:24 +00:00
Love Hörnquist Åstrand
3bb7b20169
Fix ms-chap-v2 get_masterkey
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 22:26:38 +00:00
Love Hörnquist Åstrand
e4d855f06d
Fix ms-chap-v2 mutual response auth code.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 22:15:52 +00:00
Love Hörnquist Åstrand
1290d1bb74
Add get_master from RFC 3079 3.4 for MS-CHAP-V2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 21:27:21 +00:00
Love Hörnquist Åstrand
3ce495d26e
Use right size, from Klas Lindfors.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 20:51:37 +00:00
Love Hörnquist Åstrand
01ad941e9b
First version from kllin.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 20:48:23 +00:00
Love Hörnquist Åstrand
abcd0e9de6
Better logging and return status = FALSE when checksum doesn't match.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 20:28:49 +00:00
Love Hörnquist Åstrand
0fdc34167b
Check the digest response in the KDC.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 20:19:53 +00:00
Love Hörnquist Åstrand
e786c4d432
Add support for MS-CHAP v2.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 18:15:56 +00:00
Love Hörnquist Åstrand
b097b3a816
don't verify identifier in CHAP, its the client that chooses it.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-31 12:21:21 +00:00
Love Hörnquist Åstrand
837f65e1e9
Remove <digest_asn.h>, its already included in headers.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 17:03:51 +00:00
Love Hörnquist Åstrand
98e01a4744
Return session key for the NTLMv2 case too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:40:46 +00:00
Love Hörnquist Åstrand
fb1c8392d1
Prefix internal symbol with _kdc_.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 17:18:14 +00:00
Love Hörnquist Åstrand
bcd0cbcf14
return NTLM2 targetinfo structure.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 14:14:43 +00:00
Love Hörnquist Åstrand
b592e99683
Add digest acl's
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 12:47:11 +00:00
Love Hörnquist Åstrand
44c3c7620b
Add ntlm v2 processing, more verbose logging.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 11:30:06 +00:00
Love Hörnquist Åstrand
7576da2827
reorder to show slot here ntlmv2 code will be placed.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 17:27:17 +00:00
Love Hörnquist Åstrand
c40b4081cf
Announce that we support key exchange and add bits to detect when it
...
wasn't used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 07:32:40 +00:00
Love Hörnquist Åstrand
fadaad6712
Set error code on wrong lm.length.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:46:53 +00:00
Love Hörnquist Åstrand
96145a7a51
Add support for generating NTLM2 session security answer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:19:46 +00:00
Love Hörnquist Åstrand
f280e31a6b
Unwrap the NTLM session key and return it to the server.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19422 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-18 21:19:47 +00:00
Love Hörnquist Åstrand
be40e72015
Support NTLM verification, note that the KDC does no NTLM packet
...
parsing, its all done by the client side, the KDC just calculate and
verify the digest and return the result to the service.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 21:33:26 +00:00
Love Hörnquist Åstrand
0a3bd1b7b8
Try to not leak memory.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 20:13:52 +00:00
Love Hörnquist Åstrand
a01d3c5a98
Make digest argument o MD5_final unsigned char to help OpenSSL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-06 12:06:45 +00:00
Love Hörnquist Åstrand
1bb5708e19
Catch more error, add SASL DIGEST MD5.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-28 12:38:44 +00:00
Love Hörnquist Åstrand
821b7e5e20
Remove local error label and have just one exit label, set error
...
strings properly.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 11:27:42 +00:00
Love Hörnquist Åstrand
38bccc6e79
Simply the disabled-service case.
...
Check the allow-digest flag in the HDB entry for the client.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 11:05:55 +00:00
Love Hörnquist Åstrand
195903697a
Make a return a goto to avoid freeing un-inited memory in cleanup code.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 10:06:26 +00:00
Love Hörnquist Åstrand
e26ef8b690
First revision of the digest (CHAP so far) code.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-24 08:53:55 +00:00