summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-10-21 01:55:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:02:21 -0500
commit542c839dbb5c50f47ebc0c206a38199030e37ef4 (patch)
treedb668810914b757c32de1b0be90ff27972307a2d /source4
parent34f84aae5577fb1989b001cfad4de581f33eb102 (diff)
downloadsamba-542c839dbb5c50f47ebc0c206a38199030e37ef4.tar.gz
samba-542c839dbb5c50f47ebc0c206a38199030e37ef4.tar.bz2
samba-542c839dbb5c50f47ebc0c206a38199030e37ef4.zip
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)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/netlogon.c2
1 files changed, 1 insertions, 1 deletions
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);