add NTLMMinServerSec test

This commit is contained in:
Alex Pop 2015-11-23 14:43:47 +00:00
parent a387d405bb
commit 25acd86c88
2 changed files with 9 additions and 0 deletions

View file

@ -66,4 +66,9 @@ if node['platform_family'] == 'windows'
action :create
end
registry_key 'HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0' do
values [{ name: 'NTLMMinServerSec', type: :dword, data: 537_395_200 }]
recursive true
action :create
end
end

View file

@ -50,4 +50,8 @@ if os.windows?
its('MinEncryptionLevel') { should eq 3 }
end
describe registry_key('HKLM\System\CurrentControlSet\Control\Lsa\MSV1_0') do
it { should exist }
its('NtlmMinClientSec') { should eq 537_395_200 }
end
end