summaryrefslogtreecommitdiff
path: root/lib/chef/util/windows/net_user.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/util/windows/net_user.rb')
-rw-r--r--lib/chef/util/windows/net_user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/windows/net_user.rb b/lib/chef/util/windows/net_user.rb
index b60ffdc075..615e666b66 100644
--- a/lib/chef/util/windows/net_user.rb
+++ b/lib/chef/util/windows/net_user.rb
@@ -95,7 +95,7 @@ class Chef::Util::Windows::NetUser < Chef::Util::Windows
# XXX for an extra painful alternative, see: http://support.microsoft.com/kb/180548
def validate_credentials(passwd)
token = Security.logon_user(@username, nil, passwd,
- LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT)
+ LOGON32_LOGON_NETWORK, LOGON32_PROVIDER_DEFAULT)
true
rescue Chef::Exceptions::Win32APIError => e
Chef::Log.trace(e)