Correct domain controller server type constants

The should be specified in hex as BAKCTRL is 16, not 10. CTRL should
be 8. See documentation for NetServerEnum.
bug/bundler_fix
Jon Cave 2015-04-05 11:12:18 +01:00
parent 57395deb1d
commit b1a7e77fa9
1 changed files with 2 additions and 2 deletions

View File

@ -8,8 +8,8 @@ module NetAPI
MAX_PREFERRED_LENGTH = -1
SV_TYPE_ALL = 0xFFFFFFFF
SV_TYPE_DOMAIN_ENUM = 0x80000000
SV_TYPE_DOMAIN_BAKCTRL = 10
SV_TYPE_DOMAIN_CTRL = 4
SV_TYPE_DOMAIN_BAKCTRL = 0x00000010
SV_TYPE_DOMAIN_CTRL = 0x00000008
ERROR_ACCESS_DENIED = 5
ERROR_NOT_ENOUGH_MEMORY = 8