Module: Windows::Network::Management

Defined in:
lib/windows/network/management.rb

Constant Summary

NERR_Success =
0
NERR_BASE =
2100
NERR_NetNotStarted =
NERR_BASE + 2
NERR_UnknownServer =
NERR_BASE + 3
NERR_ShareMem =
NERR_BASE + 4
NERR_NoNetworkResource =
NERR_BASE + 5
NERR_RemoteOnly =
NERR_BASE + 6
NERR_DevNotRedirected =
NERR_BASE + 7
NERR_AlreadyLoggedOn =
NERR_BASE + 100
NERR_NotLoggedOn =
NERR_BASE + 101
NERR_BadUsername =
NERR_BASE + 102
NERR_BadPassword =
NERR_BASE + 103
NERR_UnableToAddName_W =
NERR_BASE + 104
NERR_UnableToAddName_F =
NERR_BASE + 105
NERR_UnableToDelName_W =
NERR_BASE + 106
NERR_UnableToDelName_F =
NERR_BASE + 107
NERR_LogonsPaused =
NERR_BASE + 109
NERR_LogonServerConflict =
NERR_BASE + 110
NERR_LogonNoUserPath =
NERR_BASE + 111
NERR_LogonScriptError =
NERR_BASE + 112
NERR_StandaloneLogon =
NERR_BASE + 114
NERR_LogonServerNotFound =
NERR_BASE + 115
NERR_LogonDomainExists =
NERR_BASE + 116
NERR_NonValidatedLogon =
NERR_BASE + 117
NERR_ACFNotFound =
NERR_BASE + 119
NERR_GroupNotFound =
NERR_BASE + 120
NERR_UserNotFound =
NERR_BASE + 121
NERR_ResourceNotFound =
NERR_BASE + 122
NERR_GroupExists =
NERR_BASE + 123
NERR_UserExists =
NERR_BASE + 124
NERR_ResourceExists =
NERR_BASE + 125
NERR_NotPrimary =
NERR_BASE + 126
NERR_ACFNotLoaded =
NERR_BASE + 127
NERR_ACFNoRoom =
NERR_BASE + 128
NERR_ACFFileIOFail =
NERR_BASE + 129
NERR_ACFTooManyLists =
NERR_BASE + 130
NERR_UserLogon =
NERR_BASE + 131
NERR_ACFNoParent =
NERR_BASE + 132
NERR_CanNotGrowSegment =
NERR_BASE + 133
NERR_SpeGroupOp =
NERR_BASE + 134
NERR_NotInCache =
NERR_BASE + 135
NERR_UserInGroup =
NERR_BASE + 136
NERR_UserNotInGroup =
NERR_BASE + 137
NERR_AccountUndefined =
NERR_BASE + 138
NERR_AccountExpired =
NERR_BASE + 139
NERR_InvalidWorkstation =
NERR_BASE + 140
NERR_InvalidLogonHours =
NERR_BASE + 141
NERR_PasswordExpired =
NERR_BASE + 142
NERR_PasswordCantChange =
NERR_BASE + 143
NERR_PasswordHistConflict =
NERR_BASE + 144
NERR_PasswordTooShort =
NERR_BASE + 145
NERR_PasswordTooRecent =
NERR_BASE + 146
NERR_InvalidDatabase =
NERR_BASE + 147
NERR_DatabaseUpToDate =
NERR_BASE + 148
NERR_SyncRequired =
NERR_BASE + 149
NERR_UseNotFound =
NERR_BASE + 150
NERR_BadAsgType =
NERR_BASE + 151
NERR_DeviceIsShared =
NERR_BASE + 152
MAX_PREFERRED_LENGTH =
0xFFFFFFFF
SV_TYPE_WORKSTATION =

Taken from LMServer.h

0x00000001
SV_TYPE_SERVER =
0x00000002
SV_TYPE_SQLSERVER =
0x00000004
SV_TYPE_DOMAIN_CTRL =
0x00000008
SV_TYPE_DOMAIN_BAKCTRL =
0x00000010
SV_TYPE_TIME_SOURCE =
0x00000020
SV_TYPE_AFP =
0x00000040
SV_TYPE_NOVELL =
0x00000080
SV_TYPE_DOMAIN_MEMBER =
0x00000100
SV_TYPE_PRINTQ_SERVER =
0x00000200
SV_TYPE_DIALIN_SERVER =
0x00000400
SV_TYPE_XENIX_SERVER =
0x00000800
SV_TYPE_SERVER_UNIX =
SV_TYPE_XENIX_SERVER
SV_TYPE_NT =
0x00001000
SV_TYPE_WFW =
0x00002000
SV_TYPE_SERVER_MFPN =
0x00004000
SV_TYPE_SERVER_NT =
0x00008000
SV_TYPE_POTENTIAL_BROWSER =
0x00010000
SV_TYPE_BACKUP_BROWSER =
0x00020000
SV_TYPE_MASTER_BROWSER =
0x00040000
SV_TYPE_DOMAIN_MASTER =
0x00080000
SV_TYPE_SERVER_OSF =
0x00100000
SV_TYPE_SERVER_VMS =
0x00200000
SV_TYPE_WINDOWS =
0x00400000
SV_TYPE_DFS =
0x00800000
SV_TYPE_CLUSTER_NT =
0x01000000
SV_TYPE_TERMINALSERVER =
0x02000000
SV_TYPE_CLUSTER_VS_NT =
0x04000000
SV_TYPE_DCE =
0x10000000
SV_TYPE_ALTERNATE_XPORT =
0x20000000
SV_TYPE_LOCAL_LIST_ONLY =
0x40000000
SV_TYPE_DOMAIN_ENUM =
0x80000000
SV_TYPE_ALL =
0xFFFFFFFF