summaryrefslogtreecommitdiff
path: root/lib/chef/win32/api
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2014-08-22 15:31:03 -0400
committerBryan McLellan <btm@loftninjas.org>2014-08-22 19:07:23 -0400
commitec0ff9515757443b07a50a412a0a9b70a68de689 (patch)
tree3deb50d7dc540ac16a2465b6a96eb964b6585a89 /lib/chef/win32/api
parentb82a5272ec6798cf26bcf9feaf39faae451b574d (diff)
downloadchef-ec0ff9515757443b07a50a412a0a9b70a68de689.tar.gz
Make exception for a user not existing more explicit
Diffstat (limited to 'lib/chef/win32/api')
-rw-r--r--lib/chef/win32/api/net.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/win32/api/net.rb b/lib/chef/win32/api/net.rb
index cb028020cf..eeb2b078a4 100644
--- a/lib/chef/win32/api/net.rb
+++ b/lib/chef/win32/api/net.rb
@@ -33,6 +33,7 @@ class Chef
MAX_PREFERRED_LENGTH = 0xFFFF
NERR_Success = 0
+ NERR_UserNotFound = 2221
ffi_lib "netapi32"