opscode/chef — pull request #853 by ameyavarade (2013-06-25 07:12:25+00:00)
Title: Ameya oc 8391 win pass policies

Cases validated are, on 2k8 and 2k12 machines
When password policy enforced and relaxed

user "user_of_fortune" do
action :create
end

user "user_of_fortune" do
password ""
action :create
end

user "user_of_fortune" do
password "Chef2UncleNed!"
action :create
end

user "user_of_fortune" do
action :lock
end

user "user_of_fortune" do
action :unlock
end

user "user_of_fortune" do
action :manage
end

user "user_of_fortune" do
action :modify
end

user "user_of_fortune" do
action :remove
end