From 542c839dbb5c50f47ebc0c206a38199030e37ef4 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 21 Oct 2004 01:55:46 +0000 Subject: r3104: My Win2k3 server, with current updates, still sends the LM key for level 6. I'm not quite sure what's going on here, but adjust expected values till I can find out how to reproduce this the other way... Andrew Bartlett (This used to be commit 3f0f6b38f2401e3654f73f46a22d5c10fbacaeca) --- source4/torture/rpc/netlogon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index b0509659e7..881d413b5c 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -442,7 +442,7 @@ static BOOL test_lm_ntlm_broken(struct samlogon_state *samlogon_state, enum ntlm ZERO_STRUCT(user_session_key); lm_good = SMBencrypt(samlogon_state->password, samlogon_state->chall.data, lm_response.data); - if (samlogon_state->r.in.logon_level == 6 || !lm_good) { + if (!lm_good) { ZERO_STRUCT(lm_hash); } else { E_deshash(samlogon_state->password, lm_hash); -- cgit