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
efcaa7828a
(krb5_ntlm_rep_get_sessionkey): return value is krb5_error_code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 12:30:05 +00:00
Love Hörnquist Åstrand
fb5567f09c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19522 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 20:41:18 +00:00
Love Hörnquist Åstrand
e36ba820f2
catch test that should fail but didn't
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19521 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 20:40:56 +00:00
Love Hörnquist Åstrand
ce533a60e2
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 20:34:36 +00:00
Love Hörnquist Åstrand
ae8c9ae9b9
Test more quoting variants.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 20:34:20 +00:00
Love Hörnquist Åstrand
9dbf95ffae
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 20:27:49 +00:00
Love Hörnquist Åstrand
bcd946b04e
Include <ctype.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 20:27:00 +00:00
Love Hörnquist Åstrand
ee1346749b
Add test_sl as a TEST
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 20:25:29 +00:00
Love Hörnquist Åstrand
d03814a713
test sl_make_argv
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 20:24:54 +00:00
Love Hörnquist Åstrand
76a544ec4e
(sl_make_argv): Add quoting support (both "" and \ style).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 20:24:16 +00:00
Love Hörnquist Åstrand
874a6ccd1c
(_krb5_mk_req_internal): use md5 for des-cbc-md4 and des-cbc-md5.
...
This is for (older) windows that will be unhappy anything older.
From Inna Bort-Shatsky
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 12:07:22 +00:00
Love Hörnquist Åstrand
52d1e8ab82
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 00:06:25 +00:00
Love Hörnquist Åstrand
f58f1599d2
make sure built headers are copied to the ${build_topdir}/include
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-27 00:05:19 +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
9c6454c235
Add krb5_ntlm_init_get_targetinfo.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 13:19:56 +00:00
Love Hörnquist Åstrand
529149a437
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 00:28:14 +00:00
Love Hörnquist Åstrand
8c53b863e9
Verify infotarget.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 00:26:11 +00:00
Love Hörnquist Åstrand
2904a66bb1
Extract the infotarget from the answer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-26 00:25:17 +00:00
Love Hörnquist Åstrand
5809ab6a85
(heim_ntlm_verify_ntlm2): verify the ntlmv2 reply
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-25 23:40:45 +00:00
Love Hörnquist Åstrand
e174024fae
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 22:52:06 +00:00
Love Hörnquist Åstrand
36f0777805
Include <limits.h>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 22:51:29 +00:00
Love Hörnquist Åstrand
6250ffe2b8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 14:43:55 +00:00
Love Hörnquist Åstrand
7d3572d5f0
use top_builddir for libasn1.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 14:43:23 +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
cf5e2e451d
add some new tests.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 19:59:11 +00:00
Love Hörnquist Åstrand
a93ff932a2
Add ntlmv2 answer calculating functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 19:58:38 +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
3008492b15
Add key exchange (NTLM_NEG_KEYEX).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 07:28:37 +00:00
Love Hörnquist Åstrand
546a1f0f6c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:48:05 +00:00
Love Hörnquist Åstrand
e42b5f4049
sent lm hashes, needed for NTLM2 session
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:47:32 +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
df5c3ff11d
Add NTLM_NEG_NTLM2_SESSION, NTLMv2 session security.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-20 00:13:10 +00:00
Love Hörnquist Åstrand
89e1ccd48f
Add sessionkey accessor functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 19:46:17 +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
Love Hörnquist Åstrand
026563966f
Implement SEAL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19456 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 18:19:07 +00:00
Love Hörnquist Åstrand
5e734075a4
Overwrite the first 4 bytes of the encrypted checksum with a random
...
number (or so davenport tells me). Interesting question, is this
really how it worked, not that the first 4 bytes is a nonce/iv to hide
first bytes of the rc4 stream, in the end it doesn't matter, it fact
the bits didn't even need to go over the network.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19454 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 17:03:01 +00:00
Love Hörnquist Åstrand
02e6aa25a4
remove ntlm/{,un}wrap.c, move functions to ntlm/crypto.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19453 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 16:09:28 +00:00
Love Hörnquist Åstrand
056c0a96ed
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-19 16:08:35 +00:00