diff options
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/netlogon.c | 2 |
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); |