diff options
Diffstat (limited to 'libcli/util/doserr.c')
-rw-r--r-- | libcli/util/doserr.c | 292 |
1 files changed, 140 insertions, 152 deletions
diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c index 6efe43d88c6..ca0d3ce2f0b 100644 --- a/libcli/util/doserr.c +++ b/libcli/util/doserr.c @@ -29,110 +29,10 @@ struct werror_code_struct { static const struct werror_code_struct dos_errs[] = { { "WERR_OK", WERR_OK }, - { "WERR_ACCESS_DENIED", WERR_ACCESS_DENIED }, - { "WERR_BAD_NETPATH", WERR_BAD_NETPATH }, - { "WERR_BAD_NET_RESP", WERR_BAD_NET_RESP }, - { "WERR_UNEXP_NET_ERR", WERR_UNEXP_NET_ERR }, - { "WERR_INSUFFICIENT_BUFFER", WERR_INSUFFICIENT_BUFFER }, - { "WERR_SEM_TIMEOUT", WERR_SEM_TIMEOUT }, - { "WERR_FILE_EXISTS", WERR_FILE_EXISTS }, - { "WERR_NOT_SUPPORTED", WERR_NOT_SUPPORTED }, - { "WERR_DUP_NAME", WERR_DUP_NAME }, - { "WERR_INVALID_NAME", WERR_INVALID_NAME }, - { "WERR_ALREADY_EXISTS", WERR_ALREADY_EXISTS }, - { "WERR_NO_MORE_ITEMS", WERR_NO_MORE_ITEMS }, - { "WERR_MORE_DATA", WERR_MORE_DATA }, - { "WERR_UNKNOWN_PRINTER_DRIVER", WERR_UNKNOWN_PRINTER_DRIVER }, - { "WERR_UNKNOWN_PRINTPROCESSOR", WERR_UNKNOWN_PRINTPROCESSOR }, - { "WERR_INVALID_SEPARATOR_FILE", WERR_INVALID_SEPARATOR_FILE }, - { "WERR_INVALID_PRIORITY", WERR_INVALID_PRIORITY }, - { "WERR_UNKNOWN_PORT", WERR_UNKNOWN_PORT }, - { "WERR_INVALID_PRINTER_NAME", WERR_INVALID_PRINTER_NAME }, - { "WERR_PRINTER_ALREADY_EXISTS", WERR_PRINTER_ALREADY_EXISTS }, - { "WERR_INVALID_DATATYPE", WERR_INVALID_DATATYPE }, - { "WERR_INVALID_ENVIRONMENT", WERR_INVALID_ENVIRONMENT }, - { "WERR_INVALID_FORM_NAME", WERR_INVALID_FORM_NAME }, - { "WERR_INVALID_FORM_SIZE", WERR_INVALID_FORM_SIZE }, - { "WERR_DOMAIN_CONTROLLER_NOT_FOUND", WERR_DOMAIN_CONTROLLER_NOT_FOUND }, - { "WERR_DEVICE_NOT_AVAILABLE", WERR_DEVICE_NOT_AVAILABLE }, - { "WERR_REVISION_MISMATCH", WERR_REVISION_MISMATCH }, - { "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS }, - { "WERR_NO_SUCH_LOGON_SESSION", WERR_NO_SUCH_LOGON_SESSION }, - { "WERR_NO_SUCH_USER", WERR_NO_SUCH_USER }, - { "WERR_GROUP_EXISTS", WERR_GROUP_EXISTS }, - { "WERR_NO_SUCH_GROUP", WERR_NO_SUCH_GROUP }, - { "WERR_MEMBER_IN_GROUP", WERR_MEMBER_IN_GROUP }, - { "WERR_PRINTER_DRIVER_IN_USE", WERR_PRINTER_DRIVER_IN_USE }, { "WERR_STATUS_MORE_ENTRIES", WERR_STATUS_MORE_ENTRIES }, - { "WERR_LOGON_FAILURE", WERR_LOGON_FAILURE }, - { "WERR_INVALID_DOMAIN_ROLE", WERR_INVALID_DOMAIN_ROLE }, - { "WERR_UNKNOWN_REVISION", WERR_UNKNOWN_REVISION }, - { "WERR_REVISION_MISMATCH", WERR_REVISION_MISMATCH }, - { "WERR_INVALID_OWNER", WERR_INVALID_OWNER }, - { "WERR_INVALID_PRIMARY_GROUP", WERR_INVALID_PRIMARY_GROUP }, - { "WERR_INVALID_COMPUTERNAME", WERR_INVALID_COMPUTERNAME }, - { "WERR_INVALID_DOMAINNAME", WERR_INVALID_DOMAINNAME }, - { "WERR_MACHINE_LOCKED", WERR_MACHINE_LOCKED }, - { "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS }, - { "WERR_NO_SUCH_LOGON_SESSION", WERR_NO_SUCH_LOGON_SESSION }, - { "WERR_NO_SUCH_PRIVILEGE", WERR_NO_SUCH_PRIVILEGE }, - { "WERR_PRIVILEGE_NOT_HELD", WERR_PRIVILEGE_NOT_HELD }, - { "WERR_NO_SUCH_USER", WERR_NO_SUCH_USER }, - { "WERR_NO_SUCH_DOMAIN", WERR_NO_SUCH_DOMAIN }, - { "WERR_NO_SYSTEM_RESOURCES", WERR_NO_SYSTEM_RESOURCES }, - { "WERR_DS_NO_ATTRIBUTE_OR_VALUE", WERR_DS_NO_ATTRIBUTE_OR_VALUE }, { "WERR_DS_INVALID_ATTRIBUTE_SYNTAX", WERR_DS_INVALID_ATTRIBUTE_SYNTAX }, - { "WERR_DS_ATTRIBUTE_TYPE_UNDEFINED", WERR_DS_ATTRIBUTE_TYPE_UNDEFINED }, - { "WERR_DS_ATTRIBUTE_OR_VALUE_EXISTS", WERR_DS_ATTRIBUTE_OR_VALUE_EXISTS }, - { "WERR_DS_BUSY", WERR_DS_BUSY }, - { "WERR_DS_UNAVAILABLE", WERR_DS_UNAVAILABLE }, - { "WERR_DS_OBJ_CLASS_VIOLATION", WERR_DS_OBJ_CLASS_VIOLATION }, - { "WERR_DS_CANT_ON_NON_LEAF", WERR_DS_CANT_ON_NON_LEAF }, - { "WERR_DS_CANT_ON_RDN", WERR_DS_CANT_ON_RDN }, - { "WERR_DS_CANT_MOD_OBJ_CLASS", WERR_DS_CANT_MOD_OBJ_CLASS }, - { "WERR_DS_OPERATIONS_ERROR", WERR_DS_OPERATIONS_ERROR }, - { "WERR_DS_PROTOCOL_ERROR", WERR_DS_PROTOCOL_ERROR }, { "WERR_DS_TIMELIMIT_EXCEEEDED", WERR_DS_TIMELIMIT_EXCEEDED }, { "WERR_DS_ADMIN_LIMIT_EXCEEEDED", WERR_DS_ADMIN_LIMIT_EXCEEDED }, - { "WERR_DS_COMPARE_FALSE", WERR_DS_COMPARE_FALSE }, - { "WERR_DS_COMPARE_TRUE", WERR_DS_COMPARE_TRUE }, - { "WERR_DS_AUTH_METHOD_NOT_SUPPORTED", WERR_DS_AUTH_METHOD_NOT_SUPPORTED }, - { "WERR_DS_STRONG_AUTH_REQUIRED", WERR_DS_STRONG_AUTH_REQUIRED }, - { "WERR_DS_INAPPROPRIATE_AUTH", WERR_DS_INAPPROPRIATE_AUTH }, - { "WERR_DS_REFERRAL", WERR_DS_REFERRAL }, - { "WERR_DS_UNAVAILABLE_CRIT_EXTENSION", WERR_DS_UNAVAILABLE_CRIT_EXTENSION }, - { "WERR_DS_CONFIDENTIALITY_REQUIRED", WERR_DS_CONFIDENTIALITY_REQUIRED }, - { "WERR_DS_INAPPROPRIATE_MATCHING", WERR_DS_INAPPROPRIATE_MATCHING }, - { "WERR_DS_CONSTRAINT_VIOLATION", WERR_DS_CONSTRAINT_VIOLATION }, - { "WERR_DS_NO_SUCH_OBJECT", WERR_DS_NO_SUCH_OBJECT }, - { "WERR_DS_ALIAS_PROBLEM", WERR_DS_ALIAS_PROBLEM }, - { "WERR_DS_INVALID_DN_SYNTAX", WERR_DS_INVALID_DN_SYNTAX }, - { "WERR_DS_ALIAS_DEREF_PROBLEM", WERR_DS_ALIAS_DEREF_PROBLEM }, - { "WERR_DS_UNWILLING_TO_PERFORM", WERR_DS_UNWILLING_TO_PERFORM }, - { "WERR_DS_LOOP_DETECT", WERR_DS_LOOP_DETECT }, - { "WERR_DS_NAMING_VIOLATION", WERR_DS_NAMING_VIOLATION }, - { "WERR_DS_AFFECTS_MULTIPLE_DSAS", WERR_DS_AFFECTS_MULTIPLE_DSAS }, - { "WERR_DS_OBJ_STRING_NAME_EXISTS", WERR_DS_OBJ_STRING_NAME_EXISTS }, - { "WERR_DS_OBJ_NOT_FOUND", WERR_DS_OBJ_NOT_FOUND }, - { "WERR_DS_GENERIC_ERROR", WERR_DS_GENERIC_ERROR }, - { "WERR_DS_INSUFF_ACCESS_RIGHTS", WERR_DS_INSUFF_ACCESS_RIGHTS }, - { "WERR_DS_SCHEMA_NOT_LOADED", WERR_DS_SCHEMA_NOT_LOADED }, - { "WERR_DS_SCHEMA_ALLOC_FAILED", WERR_DS_SCHEMA_ALLOC_FAILED }, - { "WERR_DS_ATT_SCHEMA_REQ_SYNTAX", WERR_DS_ATT_SCHEMA_REQ_SYNTAX }, - { "WERR_DS_DRA_SCHEMA_MISMATCH", WERR_DS_DRA_SCHEMA_MISMATCH }, - { "WERR_DS_DRA_INVALID_PARAMETER", WERR_DS_DRA_INVALID_PARAMETER }, - { "WERR_DS_DRA_BAD_DN", WERR_DS_DRA_BAD_DN }, - { "WERR_DS_DRA_BAD_NC", WERR_DS_DRA_BAD_NC }, - { "WERR_DS_DRA_INTERNAL_ERROR", WERR_DS_DRA_INTERNAL_ERROR }, - { "WERR_DS_DRA_OUT_OF_MEM", WERR_DS_DRA_OUT_OF_MEM }, - { "WERR_DS_SINGLE_VALUE_CONSTRAINT", WERR_DS_SINGLE_VALUE_CONSTRAINT }, - { "WERR_DS_DRA_DB_ERROR", WERR_DS_DRA_DB_ERROR }, - { "WERR_DS_DRA_NO_REPLICA", WERR_DS_DRA_NO_REPLICA }, - { "WERR_DS_DRA_ACCESS_DENIED", WERR_DS_DRA_ACCESS_DENIED }, - { "WERR_DS_DRA_SOURCE_DISABLED", WERR_DS_DRA_SOURCE_DISABLED }, - { "WERR_DS_DNS_LOOKUP_FAILURE", WERR_DS_DNS_LOOKUP_FAILURE }, - { "WERR_DS_NO_MSDS_INTID", WERR_DS_NO_MSDS_INTID }, - { "WERR_DS_DUP_MSDS_INTID", WERR_DS_DUP_MSDS_INTID }, { "WERR_DNS_ERROR_RCODE_FORMAT_ERROR", WERR_DNS_ERROR_RCODE_FORMAT_ERROR }, { "WERR_DNS_ERROR_RCODE_SERVER_FAILURE", WERR_DNS_ERROR_RCODE_SERVER_FAILURE }, { "WERR_DNS_ERROR_RCODE_NAME_ERROR", WERR_DNS_ERROR_RCODE_NAME_ERROR }, @@ -227,44 +127,11 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DNS_ERROR_DP_ALREADY_ENLISTED", WERR_DNS_ERROR_DP_ALREADY_ENLISTED }, { "WERR_DNS_ERROR_DP_NOT_AVAILABLE", WERR_DNS_ERROR_DP_NOT_AVAILABLE }, { "WERR_DNS_ERROR_DP_FSMO_ERROR", WERR_DNS_ERROR_DP_FSMO_ERROR }, - { "WERR_PRINTQ_FULL", WERR_PRINTQ_FULL }, - { "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE }, - { "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE }, - { "WERR_INVALID_FLAGS", WERR_INVALID_FLAGS }, - { "WERR_DEVICE_NOT_CONNECTED", WERR_DEVICE_NOT_CONNECTED }, - { "WERR_NOT_FOUND", WERR_NOT_FOUND }, - { "WERR_INVALID_USER_BUFFER", WERR_INVALID_USER_BUFFER }, - { "WERR_NO_TRUST_SAM_ACCOUNT", WERR_NO_TRUST_SAM_ACCOUNT }, - { "WERR_INVALID_PRINTER_COMMAND", WERR_INVALID_PRINTER_COMMAND }, - { "WERR_NO_SHUTDOWN_IN_PROGRESS", WERR_NO_SHUTDOWN_IN_PROGRESS }, { "WERR_SEC_E_ENCRYPT_FAILURE", WERR_SEC_E_ENCRYPT_FAILURE }, { "WERR_SEC_E_DECRYPT_FAILURE", WERR_SEC_E_DECRYPT_FAILURE }, { "WERR_SEC_E_ALGORITHM_MISMATCH", WERR_SEC_E_ALGORITHM_MISMATCH }, - { "WERR_NOT_AUTHENTICATED", WERR_NOT_AUTHENTICATED }, - { "WERR_CALL_NOT_IMPLEMENTED", WERR_CALL_NOT_IMPLEMENTED }, { "WERR_RPC_E_REMOTE_DISABLED", WERR_RPC_E_REMOTE_DISABLED }, - { "WERR_NONE_MAPPED", WERR_NONE_MAPPED }, - { "WERR_INVALID_DOMAIN_STATE", WERR_INVALID_DOMAIN_STATE }, - { "WERR_SPECIAL_ACCOUNT", WERR_SPECIAL_ACCOUNT }, - { "WERR_ALIAS_EXISTS", WERR_ALIAS_EXISTS }, - { "WERR_NO_SUCH_ALIAS", WERR_NO_SUCH_ALIAS }, - { "WERR_MEMBER_IN_ALIAS", WERR_MEMBER_IN_ALIAS }, - { "WERR_TIME_SKEW", WERR_TIME_SKEW }, - { "WERR_IO_PENDING", WERR_IO_PENDING }, - { "WERR_INVALID_SERVICE_CONTROL", WERR_INVALID_SERVICE_CONTROL }, - { "WERR_SERVICE_ALREADY_RUNNING", WERR_SERVICE_ALREADY_RUNNING }, - { "WERR_SERVICE_DISABLED", WERR_SERVICE_DISABLED }, - { "WERR_SERVICE_MARKED_FOR_DELETE", WERR_SERVICE_MARKED_FOR_DELETE }, - { "WERR_SERVICE_EXISTS", WERR_SERVICE_EXISTS }, - { "WERR_SERVICE_NEVER_STARTED", WERR_SERVICE_NEVER_STARTED }, - { "WERR_DUPLICATE_SERVICE_NAME", WERR_DUPLICATE_SERVICE_NAME }, - { "WERR_PASSWORD_MUST_CHANGE", WERR_PASSWORD_MUST_CHANGE }, - { "WERR_ACCOUNT_LOCKED_OUT", WERR_ACCOUNT_LOCKED_OUT }, - { "WERR_UNKNOWN_PRINT_MONITOR", WERR_UNKNOWN_PRINT_MONITOR }, - { "WERR_PASSWORD_RESTRICTION", WERR_PASSWORD_RESTRICTION }, - { "WERR_WRONG_PASSWORD", WERR_WRONG_PASSWORD }, { "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED }, - { "WERR_PRINT_PROCESSOR_ALREADY_INSTALLED", WERR_PRINT_PROCESSOR_ALREADY_INSTALLED }, /***************************************************************************** Auto-generated Win32 error from: http://msdn.microsoft.com/en-us/library/cc231199%28PROT.10%29.aspx @@ -275,6 +142,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_FILE_NOT_FOUND", WERR_FILE_NOT_FOUND }, { "WERR_PATH_NOT_FOUND", WERR_PATH_NOT_FOUND }, { "WERR_TOO_MANY_OPEN_FILES", WERR_TOO_MANY_OPEN_FILES }, + { "WERR_ACCESS_DENIED", WERR_ACCESS_DENIED }, { "WERR_INVALID_HANDLE", WERR_INVALID_HANDLE }, { "WERR_ARENA_TRASHED", WERR_ARENA_TRASHED }, { "WERR_NOT_ENOUGH_MEMORY", WERR_NOT_ENOUGH_MEMORY }, @@ -307,12 +175,19 @@ static const struct werror_code_struct dos_errs[] = { "WERR_SHARING_BUFFER_EXCEEDED", WERR_SHARING_BUFFER_EXCEEDED }, { "WERR_HANDLE_EOF", WERR_HANDLE_EOF }, { "WERR_HANDLE_DISK_FULL", WERR_HANDLE_DISK_FULL }, + { "WERR_NOT_SUPPORTED", WERR_NOT_SUPPORTED }, { "WERR_REM_NOT_LIST", WERR_REM_NOT_LIST }, + { "WERR_DUP_NAME", WERR_DUP_NAME }, + { "WERR_BAD_NETPATH", WERR_BAD_NETPATH }, { "WERR_NETWORK_BUSY", WERR_NETWORK_BUSY }, { "WERR_DEV_NOT_EXIST", WERR_DEV_NOT_EXIST }, { "WERR_TOO_MANY_CMDS", WERR_TOO_MANY_CMDS }, { "WERR_ADAP_HDW_ERR", WERR_ADAP_HDW_ERR }, + { "WERR_BAD_NET_RESP", WERR_BAD_NET_RESP }, + { "WERR_UNEXP_NET_ERR", WERR_UNEXP_NET_ERR }, { "WERR_BAD_REM_ADAP", WERR_BAD_REM_ADAP }, + { "WERR_PRINTQ_FULL", WERR_PRINTQ_FULL }, + { "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE }, { "WERR_PRINT_CANCELLED", WERR_PRINT_CANCELLED }, { "WERR_NETNAME_DELETED", WERR_NETNAME_DELETED }, { "WERR_NETWORK_ACCESS_DENIED", WERR_NETWORK_ACCESS_DENIED }, @@ -323,6 +198,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_SHARING_PAUSED", WERR_SHARING_PAUSED }, { "WERR_REQ_NOT_ACCEP", WERR_REQ_NOT_ACCEP }, { "WERR_REDIR_PAUSED", WERR_REDIR_PAUSED }, + { "WERR_FILE_EXISTS", WERR_FILE_EXISTS }, { "WERR_CANNOT_MAKE", WERR_CANNOT_MAKE }, { "WERR_FAIL_I24", WERR_FAIL_I24 }, { "WERR_OUT_OF_STRUCTURES", WERR_OUT_OF_STRUCTURES }, @@ -349,6 +225,10 @@ static const struct werror_code_struct dos_errs[] = { "WERR_INVALID_CATEGORY", WERR_INVALID_CATEGORY }, { "WERR_INVALID_VERIFY_SWITCH", WERR_INVALID_VERIFY_SWITCH }, { "WERR_BAD_DRIVER_LEVEL", WERR_BAD_DRIVER_LEVEL }, + { "WERR_CALL_NOT_IMPLEMENTED", WERR_CALL_NOT_IMPLEMENTED }, + { "WERR_SEM_TIMEOUT", WERR_SEM_TIMEOUT }, + { "WERR_INSUFFICIENT_BUFFER", WERR_INSUFFICIENT_BUFFER }, + { "WERR_INVALID_NAME", WERR_INVALID_NAME }, { "WERR_INVALID_LEVEL", WERR_INVALID_LEVEL }, { "WERR_NO_VOLUME_LABEL", WERR_NO_VOLUME_LABEL }, { "WERR_MOD_NOT_FOUND", WERR_MOD_NOT_FOUND }, @@ -389,6 +269,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_ATOMIC_LOCKS_NOT_SUPPORTED", WERR_ATOMIC_LOCKS_NOT_SUPPORTED }, { "WERR_INVALID_SEGMENT_NUMBER", WERR_INVALID_SEGMENT_NUMBER }, { "WERR_INVALID_ORDINAL", WERR_INVALID_ORDINAL }, + { "WERR_ALREADY_EXISTS", WERR_ALREADY_EXISTS }, { "WERR_INVALID_FLAG_NUMBER", WERR_INVALID_FLAG_NUMBER }, { "WERR_SEM_NOT_FOUND", WERR_SEM_NOT_FOUND }, { "WERR_INVALID_STARTING_CODESEG", WERR_INVALID_STARTING_CODESEG }, @@ -431,10 +312,12 @@ static const struct werror_code_struct dos_errs[] = { "WERR_PIPE_BUSY", WERR_PIPE_BUSY }, { "WERR_NO_DATA", WERR_NO_DATA }, { "WERR_PIPE_NOT_CONNECTED", WERR_PIPE_NOT_CONNECTED }, + { "WERR_MORE_DATA", WERR_MORE_DATA }, { "WERR_VC_DISCONNECTED", WERR_VC_DISCONNECTED }, { "WERR_INVALID_EA_NAME", WERR_INVALID_EA_NAME }, { "WERR_EA_LIST_INCONSISTENT", WERR_EA_LIST_INCONSISTENT }, { "WERR_WAIT_TIMEOUT", WERR_WAIT_TIMEOUT }, + { "WERR_NO_MORE_ITEMS", WERR_NO_MORE_ITEMS }, { "WERR_CANNOT_COPY", WERR_CANNOT_COPY }, { "WERR_DIRECTORY", WERR_DIRECTORY }, { "WERR_EAS_DIDNT_FIT", WERR_EAS_DIDNT_FIT }, @@ -709,10 +592,13 @@ static const struct werror_code_struct dos_errs[] = { "WERR_EA_ACCESS_DENIED", WERR_EA_ACCESS_DENIED }, { "WERR_OPERATION_ABORTED", WERR_OPERATION_ABORTED }, { "WERR_IO_INCOMPLETE", WERR_IO_INCOMPLETE }, + { "WERR_IO_PENDING", WERR_IO_PENDING }, { "WERR_NOACCESS", WERR_NOACCESS }, { "WERR_SWAPERROR", WERR_SWAPERROR }, { "WERR_STACK_OVERFLOW", WERR_STACK_OVERFLOW }, { "WERR_INVALID_MESSAGE", WERR_INVALID_MESSAGE }, + { "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE }, + { "WERR_INVALID_FLAGS", WERR_INVALID_FLAGS }, { "WERR_UNRECOGNIZED_VOLUME", WERR_UNRECOGNIZED_VOLUME }, { "WERR_FILE_INVALID", WERR_FILE_INVALID }, { "WERR_FULLSCREEN_MODE", WERR_FULLSCREEN_MODE }, @@ -732,10 +618,13 @@ static const struct werror_code_struct dos_errs[] = { "WERR_CHILD_MUST_BE_VOLATILE", WERR_CHILD_MUST_BE_VOLATILE }, { "WERR_NOTIFY_ENUM_DIR", WERR_NOTIFY_ENUM_DIR }, { "WERR_DEPENDENT_SERVICES_RUNNING", WERR_DEPENDENT_SERVICES_RUNNING }, + { "WERR_INVALID_SERVICE_CONTROL", WERR_INVALID_SERVICE_CONTROL }, { "WERR_SERVICE_REQUEST_TIMEOUT", WERR_SERVICE_REQUEST_TIMEOUT }, { "WERR_SERVICE_NO_THREAD", WERR_SERVICE_NO_THREAD }, { "WERR_SERVICE_DATABASE_LOCKED", WERR_SERVICE_DATABASE_LOCKED }, + { "WERR_SERVICE_ALREADY_RUNNING", WERR_SERVICE_ALREADY_RUNNING }, { "WERR_INVALID_SERVICE_ACCOUNT", WERR_INVALID_SERVICE_ACCOUNT }, + { "WERR_SERVICE_DISABLED", WERR_SERVICE_DISABLED }, { "WERR_CIRCULAR_DEPENDENCY", WERR_CIRCULAR_DEPENDENCY }, { "WERR_SERVICE_DOES_NOT_EXIST", WERR_SERVICE_DOES_NOT_EXIST }, { "WERR_SERVICE_CANNOT_ACCEPT_CTRL", WERR_SERVICE_CANNOT_ACCEPT_CTRL }, @@ -749,9 +638,13 @@ static const struct werror_code_struct dos_errs[] = { "WERR_SERVICE_LOGON_FAILED", WERR_SERVICE_LOGON_FAILED }, { "WERR_SERVICE_START_HANG", WERR_SERVICE_START_HANG }, { "WERR_INVALID_SERVICE_LOCK", WERR_INVALID_SERVICE_LOCK }, + { "WERR_SERVICE_MARKED_FOR_DELETE", WERR_SERVICE_MARKED_FOR_DELETE }, + { "WERR_SERVICE_EXISTS", WERR_SERVICE_EXISTS }, { "WERR_ALREADY_RUNNING_LKG", WERR_ALREADY_RUNNING_LKG }, { "WERR_SERVICE_DEPENDENCY_DELETED", WERR_SERVICE_DEPENDENCY_DELETED }, { "WERR_BOOT_ALREADY_ACCEPTED", WERR_BOOT_ALREADY_ACCEPTED }, + { "WERR_SERVICE_NEVER_STARTED", WERR_SERVICE_NEVER_STARTED }, + { "WERR_DUPLICATE_SERVICE_NAME", WERR_DUPLICATE_SERVICE_NAME }, { "WERR_DIFFERENT_SERVICE_ACCOUNT", WERR_DIFFERENT_SERVICE_ACCOUNT }, { "WERR_CANNOT_DETECT_DRIVER_FAILURE", WERR_CANNOT_DETECT_DRIVER_FAILURE }, { "WERR_CANNOT_DETECT_PROCESS_ABORT", WERR_CANNOT_DETECT_PROCESS_ABORT }, @@ -774,6 +667,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_NO_UNICODE_TRANSLATION", WERR_NO_UNICODE_TRANSLATION }, { "WERR_DLL_INIT_FAILED", WERR_DLL_INIT_FAILED }, { "WERR_SHUTDOWN_IN_PROGRESS", WERR_SHUTDOWN_IN_PROGRESS }, + { "WERR_NO_SHUTDOWN_IN_PROGRESS", WERR_NO_SHUTDOWN_IN_PROGRESS }, { "WERR_IO_DEVICE", WERR_IO_DEVICE }, { "WERR_SERIAL_NO_DEVICE", WERR_SERIAL_NO_DEVICE }, { "WERR_IRQ_BUSY", WERR_IRQ_BUSY }, @@ -810,6 +704,8 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DEVICE_REINITIALIZATION_NEEDED", WERR_DEVICE_REINITIALIZATION_NEEDED }, { "WERR_DEVICE_REQUIRES_CLEANING", WERR_DEVICE_REQUIRES_CLEANING }, { "WERR_DEVICE_DOOR_OPEN", WERR_DEVICE_DOOR_OPEN }, + { "WERR_DEVICE_NOT_CONNECTED", WERR_DEVICE_NOT_CONNECTED }, + { "WERR_NOT_FOUND", WERR_NOT_FOUND }, { "WERR_NO_MATCH", WERR_NO_MATCH }, { "WERR_SET_NOT_FOUND", WERR_SET_NOT_FOUND }, { "WERR_POINT_NOT_FOUND", WERR_POINT_NOT_FOUND }, @@ -834,7 +730,9 @@ static const struct werror_code_struct dos_errs[] = { "WERR_NOT_CONTAINER", WERR_NOT_CONTAINER }, { "WERR_EXTENDED_ERROR", WERR_EXTENDED_ERROR }, { "WERR_INVALID_GROUPNAME", WERR_INVALID_GROUPNAME }, + { "WERR_INVALID_COMPUTERNAME", WERR_INVALID_COMPUTERNAME }, { "WERR_INVALID_EVENTNAME", WERR_INVALID_EVENTNAME }, + { "WERR_INVALID_DOMAINNAME", WERR_INVALID_DOMAINNAME }, { "WERR_INVALID_SERVICENAME", WERR_INVALID_SERVICENAME }, { "WERR_INVALID_NETNAME", WERR_INVALID_NETNAME }, { "WERR_INVALID_SHARENAME", WERR_INVALID_SHARENAME }, @@ -866,6 +764,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_INCORRECT_ADDRESS", WERR_INCORRECT_ADDRESS }, { "WERR_ALREADY_REGISTERED", WERR_ALREADY_REGISTERED }, { "WERR_SERVICE_NOT_FOUND", WERR_SERVICE_NOT_FOUND }, + { "WERR_NOT_AUTHENTICATED", WERR_NOT_AUTHENTICATED }, { "WERR_NOT_LOGGED_ON", WERR_NOT_LOGGED_ON }, { "WERR_CONTINUE", WERR_CONTINUE }, { "WERR_ALREADY_INITIALIZED", WERR_ALREADY_INITIALIZED }, @@ -887,6 +786,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_PKINIT_FAILURE", WERR_PKINIT_FAILURE }, { "WERR_SMARTCARD_SUBSYSTEM_FAILURE", WERR_SMARTCARD_SUBSYSTEM_FAILURE }, { "WERR_DOWNGRADE_DETECTED", WERR_DOWNGRADE_DETECTED }, + { "WERR_MACHINE_LOCKED", WERR_MACHINE_LOCKED }, { "WERR_CALLBACK_SUPPLIED_INVALID_DATA", WERR_CALLBACK_SUPPLIED_INVALID_DATA }, { "WERR_SYNC_FOREGROUND_REFRESH_REQUIRED", WERR_SYNC_FOREGROUND_REFRESH_REQUIRED }, { "WERR_DRIVER_BLOCKED", WERR_DRIVER_BLOCKED }, @@ -917,18 +817,34 @@ static const struct werror_code_struct dos_errs[] = { "WERR_NO_QUOTAS_FOR_ACCOUNT", WERR_NO_QUOTAS_FOR_ACCOUNT }, { "WERR_LOCAL_USER_SESSION_KEY", WERR_LOCAL_USER_SESSION_KEY }, { "WERR_NULL_LM_PASSWORD", WERR_NULL_LM_PASSWORD }, + { "WERR_UNKNOWN_REVISION", WERR_UNKNOWN_REVISION }, + { "WERR_REVISION_MISMATCH", WERR_REVISION_MISMATCH }, + { "WERR_INVALID_OWNER", WERR_INVALID_OWNER }, + { "WERR_INVALID_PRIMARY_GROUP", WERR_INVALID_PRIMARY_GROUP }, { "WERR_NO_IMPERSONATION_TOKEN", WERR_NO_IMPERSONATION_TOKEN }, { "WERR_CANT_DISABLE_MANDATORY", WERR_CANT_DISABLE_MANDATORY }, + { "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS }, + { "WERR_NO_SUCH_LOGON_SESSION", WERR_NO_SUCH_LOGON_SESSION }, + { "WERR_NO_SUCH_PRIVILEGE", WERR_NO_SUCH_PRIVILEGE }, + { "WERR_PRIVILEGE_NOT_HELD", WERR_PRIVILEGE_NOT_HELD }, { "WERR_INVALID_ACCOUNT_NAME", WERR_INVALID_ACCOUNT_NAME }, { "WERR_USER_EXISTS", WERR_USER_EXISTS }, + { "WERR_NO_SUCH_USER", WERR_NO_SUCH_USER }, + { "WERR_GROUP_EXISTS", WERR_GROUP_EXISTS }, + { "WERR_NO_SUCH_GROUP", WERR_NO_SUCH_GROUP }, + { "WERR_MEMBER_IN_GROUP", WERR_MEMBER_IN_GROUP }, { "WERR_MEMBER_NOT_IN_GROUP", WERR_MEMBER_NOT_IN_GROUP }, { "WERR_LAST_ADMIN", WERR_LAST_ADMIN }, + { "WERR_WRONG_PASSWORD", WERR_WRONG_PASSWORD }, { "WERR_ILL_FORMED_PASSWORD", WERR_ILL_FORMED_PASSWORD }, + { "WERR_PASSWORD_RESTRICTION", WERR_PASSWORD_RESTRICTION }, + { "WERR_LOGON_FAILURE", WERR_LOGON_FAILURE }, { "WERR_ACCOUNT_RESTRICTION", WERR_ACCOUNT_RESTRICTION }, { "WERR_INVALID_LOGON_HOURS", WERR_INVALID_LOGON_HOURS }, { "WERR_INVALID_WORKSTATION", WERR_INVALID_WORKSTATION }, { "WERR_PASSWORD_EXPIRED", WERR_PASSWORD_EXPIRED }, { "WERR_ACCOUNT_DISABLED", WERR_ACCOUNT_DISABLED }, + { "WERR_NONE_MAPPED", WERR_NONE_MAPPED }, { "WERR_TOO_MANY_LUIDS_REQUESTED", WERR_TOO_MANY_LUIDS_REQUESTED }, { "WERR_LUIDS_EXHAUSTED", WERR_LUIDS_EXHAUSTED }, { "WERR_INVALID_SUB_AUTHORITY", WERR_INVALID_SUB_AUTHORITY }, @@ -948,6 +864,9 @@ static const struct werror_code_struct dos_errs[] = { "WERR_NO_SECURITY_ON_OBJECT", WERR_NO_SECURITY_ON_OBJECT }, { "WERR_CANT_ACCESS_DOMAIN_INFO", WERR_CANT_ACCESS_DOMAIN_INFO }, { "WERR_INVALID_SERVER_STATE", WERR_INVALID_SERVER_STATE }, + { "WERR_INVALID_DOMAIN_STATE", WERR_INVALID_DOMAIN_STATE }, + { "WERR_INVALID_DOMAIN_ROLE", WERR_INVALID_DOMAIN_ROLE }, + { "WERR_NO_SUCH_DOMAIN", WERR_NO_SUCH_DOMAIN }, { "WERR_DOMAIN_EXISTS", WERR_DOMAIN_EXISTS }, { "WERR_DOMAIN_LIMIT_EXCEEDED", WERR_DOMAIN_LIMIT_EXCEEDED }, { "WERR_INTERNAL_DB_CORRUPTION", WERR_INTERNAL_DB_CORRUPTION }, @@ -963,11 +882,15 @@ static const struct werror_code_struct dos_errs[] = { "WERR_CANNOT_IMPERSONATE", WERR_CANNOT_IMPERSONATE }, { "WERR_RXACT_INVALID_STATE", WERR_RXACT_INVALID_STATE }, { "WERR_RXACT_COMMIT_FAILURE", WERR_RXACT_COMMIT_FAILURE }, + { "WERR_SPECIAL_ACCOUNT", WERR_SPECIAL_ACCOUNT }, { "WERR_SPECIAL_GROUP", WERR_SPECIAL_GROUP }, { "WERR_SPECIAL_USER", WERR_SPECIAL_USER }, { "WERR_MEMBERS_PRIMARY_GROUP", WERR_MEMBERS_PRIMARY_GROUP }, { "WERR_TOKEN_ALREADY_IN_USE", WERR_TOKEN_ALREADY_IN_USE }, + { "WERR_NO_SUCH_ALIAS", WERR_NO_SUCH_ALIAS }, { "WERR_MEMBER_NOT_IN_ALIAS", WERR_MEMBER_NOT_IN_ALIAS }, + { "WERR_MEMBER_IN_ALIAS", WERR_MEMBER_IN_ALIAS }, + { "WERR_ALIAS_EXISTS", WERR_ALIAS_EXISTS }, { "WERR_LOGON_NOT_GRANTED", WERR_LOGON_NOT_GRANTED }, { "WERR_TOO_MANY_SECRETS", WERR_TOO_MANY_SECRETS }, { "WERR_SECRET_TOO_LONG", WERR_SECRET_TOO_LONG }, @@ -986,6 +909,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_LICENSE_QUOTA_EXCEEDED", WERR_LICENSE_QUOTA_EXCEEDED }, { "WERR_WRONG_TARGET_NAME", WERR_WRONG_TARGET_NAME }, { "WERR_MUTUAL_AUTH_FAILED", WERR_MUTUAL_AUTH_FAILED }, + { "WERR_TIME_SKEW", WERR_TIME_SKEW }, { "WERR_CURRENT_DOMAIN_NOT_ALLOWED", WERR_CURRENT_DOMAIN_NOT_ALLOWED }, { "WERR_INVALID_WINDOW_HANDLE", WERR_INVALID_WINDOW_HANDLE }, { "WERR_INVALID_MENU_HANDLE", WERR_INVALID_MENU_HANDLE }, @@ -1037,6 +961,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_NO_SCROLLBARS", WERR_NO_SCROLLBARS }, { "WERR_INVALID_SCROLLBAR_RANGE", WERR_INVALID_SCROLLBAR_RANGE }, { "WERR_INVALID_SHOWWIN_COMMAND", WERR_INVALID_SHOWWIN_COMMAND }, + { "WERR_NO_SYSTEM_RESOURCES", WERR_NO_SYSTEM_RESOURCES }, { "WERR_NONPAGED_SYSTEM_RESOURCES", WERR_NONPAGED_SYSTEM_RESOURCES }, { "WERR_PAGED_SYSTEM_RESOURCES", WERR_PAGED_SYSTEM_RESOURCES }, { "WERR_WORKING_SET_QUOTA", WERR_WORKING_SET_QUOTA }, @@ -1051,6 +976,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_INCORRECT_SIZE", WERR_INCORRECT_SIZE }, { "WERR_SYMLINK_CLASS_DISABLED", WERR_SYMLINK_CLASS_DISABLED }, { "WERR_SYMLINK_NOT_SUPPORTED", WERR_SYMLINK_NOT_SUPPORTED }, + { "WERR_EVENTLOG_FILE_CORRUPT", WERR_EVENTLOG_FILE_CORRUPT }, { "WERR_EVENTLOG_CANT_START", WERR_EVENTLOG_CANT_START }, { "WERR_LOG_FILE_FULL", WERR_LOG_FILE_FULL }, { "WERR_EVENTLOG_FILE_CHANGED", WERR_EVENTLOG_FILE_CHANGED }, @@ -1190,8 +1116,10 @@ static const struct werror_code_struct dos_errs[] = { "WERR_RPC_X_ENUM_VALUE_OUT_OF_RANGE", WERR_RPC_X_ENUM_VALUE_OUT_OF_RANGE }, { "WERR_RPC_X_BYTE_COUNT_TOO_SMALL", WERR_RPC_X_BYTE_COUNT_TOO_SMALL }, { "WERR_RPC_X_BAD_STUB_DATA", WERR_RPC_X_BAD_STUB_DATA }, + { "WERR_INVALID_USER_BUFFER", WERR_INVALID_USER_BUFFER }, { "WERR_UNRECOGNIZED_MEDIA", WERR_UNRECOGNIZED_MEDIA }, { "WERR_NO_TRUST_LSA_SECRET", WERR_NO_TRUST_LSA_SECRET }, + { "WERR_NO_TRUST_SAM_ACCOUNT", WERR_NO_TRUST_SAM_ACCOUNT }, { "WERR_TRUSTED_DOMAIN_FAILURE", WERR_TRUSTED_DOMAIN_FAILURE }, { "WERR_TRUSTED_RELATIONSHIP_FAILURE", WERR_TRUSTED_RELATIONSHIP_FAILURE }, { "WERR_TRUST_FAILURE", WERR_TRUST_FAILURE }, @@ -1199,6 +1127,17 @@ static const struct werror_code_struct dos_errs[] = { "WERR_NETLOGON_NOT_STARTED", WERR_NETLOGON_NOT_STARTED }, { "WERR_ACCOUNT_EXPIRED", WERR_ACCOUNT_EXPIRED }, { "WERR_REDIRECTOR_HAS_OPEN_HANDLES", WERR_REDIRECTOR_HAS_OPEN_HANDLES }, + { "WERR_PRINTER_DRIVER_ALREADY_INSTALLED", WERR_PRINTER_DRIVER_ALREADY_INSTALLED }, + { "WERR_UNKNOWN_PORT", WERR_UNKNOWN_PORT }, + { "WERR_UNKNOWN_PRINTER_DRIVER", WERR_UNKNOWN_PRINTER_DRIVER }, + { "WERR_UNKNOWN_PRINTPROCESSOR", WERR_UNKNOWN_PRINTPROCESSOR }, + { "WERR_INVALID_SEPARATOR_FILE", WERR_INVALID_SEPARATOR_FILE }, + { "WERR_INVALID_PRIORITY", WERR_INVALID_PRIORITY }, + { "WERR_INVALID_PRINTER_NAME", WERR_INVALID_PRINTER_NAME }, + { "WERR_PRINTER_ALREADY_EXISTS", WERR_PRINTER_ALREADY_EXISTS }, + { "WERR_INVALID_PRINTER_COMMAND", WERR_INVALID_PRINTER_COMMAND }, + { "WERR_INVALID_DATATYPE", WERR_INVALID_DATATYPE }, + { "WERR_INVALID_ENVIRONMENT", WERR_INVALID_ENVIRONMENT }, { "WERR_RPC_S_NO_MORE_BINDINGS", WERR_RPC_S_NO_MORE_BINDINGS }, { "WERR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT", WERR_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT }, { "WERR_NOLOGON_WORKSTATION_TRUST_ACCOUNT", WERR_NOLOGON_WORKSTATION_TRUST_ACCOUNT }, @@ -1230,9 +1169,14 @@ static const struct werror_code_struct dos_errs[] = { "WERR_EPT_S_CANT_CREATE", WERR_EPT_S_CANT_CREATE }, { "WERR_RPC_S_INVALID_OBJECT", WERR_RPC_S_INVALID_OBJECT }, { "WERR_INVALID_TIME", WERR_INVALID_TIME }, + { "WERR_INVALID_FORM_NAME", WERR_INVALID_FORM_NAME }, + { "WERR_INVALID_FORM_SIZE", WERR_INVALID_FORM_SIZE }, { "WERR_ALREADY_WAITING", WERR_ALREADY_WAITING }, { "WERR_PRINTER_DELETED", WERR_PRINTER_DELETED }, { "WERR_INVALID_PRINTER_STATE", WERR_INVALID_PRINTER_STATE }, + { "WERR_PASSWORD_MUST_CHANGE", WERR_PASSWORD_MUST_CHANGE }, + { "WERR_DOMAIN_CONTROLLER_NOT_FOUND", WERR_DOMAIN_CONTROLLER_NOT_FOUND }, + { "WERR_ACCOUNT_LOCKED_OUT", WERR_ACCOUNT_LOCKED_OUT }, { "WERR_OR_INVALID_OXID", WERR_OR_INVALID_OXID }, { "WERR_OR_INVALID_OID", WERR_OR_INVALID_OID }, { "WERR_OR_INVALID_SET", WERR_OR_INVALID_SET }, @@ -1591,6 +1535,16 @@ static const struct werror_code_struct dos_errs[] = { "WERR_NERR_PASSWORDTOOLONG", WERR_NERR_PASSWORDTOOLONG }, { "WERR_NERR_PASSWORDNOTCOMPLEXENOUGH", WERR_NERR_PASSWORDNOTCOMPLEXENOUGH }, { "WERR_NERR_PASSWORDFILTERERROR", WERR_NERR_PASSWORDFILTERERROR }, + { "WERR_UNKNOWN_PRINT_MONITOR", WERR_UNKNOWN_PRINT_MONITOR }, + { "WERR_PRINTER_DRIVER_IN_USE", WERR_PRINTER_DRIVER_IN_USE }, + { "WERR_SPOOL_FILE_NOT_FOUND", WERR_SPOOL_FILE_NOT_FOUND }, + { "WERR_SPL_NO_STARTDOC", WERR_SPL_NO_STARTDOC }, + { "WERR_SPL_NO_ADDJOB", WERR_SPL_NO_ADDJOB }, + { "WERR_PRINT_PROCESSOR_ALREADY_INSTALLED", WERR_PRINT_PROCESSOR_ALREADY_INSTALLED }, + { "WERR_PRINT_MONITOR_ALREADY_INSTALLED", WERR_PRINT_MONITOR_ALREADY_INSTALLED }, + { "WERR_INVALID_PRINT_MONITOR", WERR_INVALID_PRINT_MONITOR }, + { "WERR_PRINT_MONITOR_IN_USE", WERR_PRINT_MONITOR_IN_USE }, + { "WERR_PRINTER_HAS_JOBS_QUEUED", WERR_PRINTER_HAS_JOBS_QUEUED }, { "WERR_SUCCESS_REBOOT_REQUIRED", WERR_SUCCESS_REBOOT_REQUIRED }, { "WERR_SUCCESS_RESTART_REQUIRED", WERR_SUCCESS_RESTART_REQUIRED }, { "WERR_PRINTER_NOT_FOUND", WERR_PRINTER_NOT_FOUND }, @@ -1643,6 +1597,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_RESOURCE_NOT_PRESENT", WERR_RESOURCE_NOT_PRESENT }, { "WERR_INVALID_OPERATION", WERR_INVALID_OPERATION }, { "WERR_MEDIA_NOT_AVAILABLE", WERR_MEDIA_NOT_AVAILABLE }, + { "WERR_DEVICE_NOT_AVAILABLE", WERR_DEVICE_NOT_AVAILABLE }, { "WERR_REQUEST_REFUSED", WERR_REQUEST_REFUSED }, { "WERR_INVALID_DRIVE_OBJECT", WERR_INVALID_DRIVE_OBJECT }, { "WERR_LIBRARY_FULL", WERR_LIBRARY_FULL }, @@ -2010,10 +1965,19 @@ static const struct werror_code_struct dos_errs[] = { "WERR_FRS_ERR_INVALID_SERVICE_PARAMETER", WERR_FRS_ERR_INVALID_SERVICE_PARAMETER }, { "WERR_DS_NOT_INSTALLED", WERR_DS_NOT_INSTALLED }, { "WERR_DS_MEMBERSHIP_EVALUATED_LOCALLY", WERR_DS_MEMBERSHIP_EVALUATED_LOCALLY }, + { "WERR_DS_NO_ATTRIBUTE_OR_VALUE", WERR_DS_NO_ATTRIBUTE_OR_VALUE }, + { "WERR_DS_ATTRIBUTE_TYPE_UNDEFINED", WERR_DS_ATTRIBUTE_TYPE_UNDEFINED }, + { "WERR_DS_ATTRIBUTE_OR_VALUE_EXISTS", WERR_DS_ATTRIBUTE_OR_VALUE_EXISTS }, + { "WERR_DS_BUSY", WERR_DS_BUSY }, + { "WERR_DS_UNAVAILABLE", WERR_DS_UNAVAILABLE }, { "WERR_DS_NO_RIDS_ALLOCATED", WERR_DS_NO_RIDS_ALLOCATED }, { "WERR_DS_NO_MORE_RIDS", WERR_DS_NO_MORE_RIDS }, { "WERR_DS_INCORRECT_ROLE_OWNER", WERR_DS_INCORRECT_ROLE_OWNER }, { "WERR_DS_RIDMGR_INIT_ERROR", WERR_DS_RIDMGR_INIT_ERROR }, + { "WERR_DS_OBJ_CLASS_VIOLATION", WERR_DS_OBJ_CLASS_VIOLATION }, + { "WERR_DS_CANT_ON_NON_LEAF", WERR_DS_CANT_ON_NON_LEAF }, + { "WERR_DS_CANT_ON_RDN", WERR_DS_CANT_ON_RDN }, + { "WERR_DS_CANT_MOD_OBJ_CLASS", WERR_DS_CANT_MOD_OBJ_CLASS }, { "WERR_DS_CROSS_DOM_MOVE_ERROR", WERR_DS_CROSS_DOM_MOVE_ERROR }, { "WERR_DS_GC_NOT_AVAILABLE", WERR_DS_GC_NOT_AVAILABLE }, { "WERR_SHARED_POLICY", WERR_SHARED_POLICY }, @@ -2021,10 +1985,32 @@ static const struct werror_code_struct dos_errs[] = { "WERR_POLICY_ONLY_IN_DS", WERR_POLICY_ONLY_IN_DS }, { "WERR_PROMOTION_ACTIVE", WERR_PROMOTION_ACTIVE }, { "WERR_NO_PROMOTION_ACTIVE", WERR_NO_PROMOTION_ACTIVE }, + { "WERR_DS_OPERATIONS_ERROR", WERR_DS_OPERATIONS_ERROR }, + { "WERR_DS_PROTOCOL_ERROR", WERR_DS_PROTOCOL_ERROR }, + { "WERR_DS_TIMELIMIT_EXCEEDED", WERR_DS_TIMELIMIT_EXCEEDED }, { "WERR_DS_SIZELIMIT_EXCEEDED", WERR_DS_SIZELIMIT_EXCEEDED }, + { "WERR_DS_ADMIN_LIMIT_EXCEEDED", WERR_DS_ADMIN_LIMIT_EXCEEDED }, + { "WERR_DS_COMPARE_FALSE", WERR_DS_COMPARE_FALSE }, + { "WERR_DS_COMPARE_TRUE", WERR_DS_COMPARE_TRUE }, + { "WERR_DS_AUTH_METHOD_NOT_SUPPORTED", WERR_DS_AUTH_METHOD_NOT_SUPPORTED }, + { "WERR_DS_STRONG_AUTH_REQUIRED", WERR_DS_STRONG_AUTH_REQUIRED }, + { "WERR_DS_INAPPROPRIATE_AUTH", WERR_DS_INAPPROPRIATE_AUTH }, { "WERR_DS_AUTH_UNKNOWN", WERR_DS_AUTH_UNKNOWN }, + { "WERR_DS_REFERRAL", WERR_DS_REFERRAL }, + { "WERR_DS_UNAVAILABLE_CRIT_EXTENSION", WERR_DS_UNAVAILABLE_CRIT_EXTENSION }, + { "WERR_DS_CONFIDENTIALITY_REQUIRED", WERR_DS_CONFIDENTIALITY_REQUIRED }, + { "WERR_DS_INAPPROPRIATE_MATCHING", WERR_DS_INAPPROPRIATE_MATCHING }, + { "WERR_DS_CONSTRAINT_VIOLATION", WERR_DS_CONSTRAINT_VIOLATION }, + { "WERR_DS_NO_SUCH_OBJECT", WERR_DS_NO_SUCH_OBJECT }, + { "WERR_DS_ALIAS_PROBLEM", WERR_DS_ALIAS_PROBLEM }, + { "WERR_DS_INVALID_DN_SYNTAX", WERR_DS_INVALID_DN_SYNTAX }, { "WERR_DS_IS_LEAF", WERR_DS_IS_LEAF }, + { "WERR_DS_ALIAS_DEREF_PROBLEM", WERR_DS_ALIAS_DEREF_PROBLEM }, + { "WERR_DS_UNWILLING_TO_PERFORM", WERR_DS_UNWILLING_TO_PERFORM }, + { "WERR_DS_LOOP_DETECT", WERR_DS_LOOP_DETECT }, + { "WERR_DS_NAMING_VIOLATION", WERR_DS_NAMING_VIOLATION }, { "WERR_DS_OBJECT_RESULTS_TOO_LARGE", WERR_DS_OBJECT_RESULTS_TOO_LARGE }, + { "WERR_DS_AFFECTS_MULTIPLE_DSAS", WERR_DS_AFFECTS_MULTIPLE_DSAS }, { "WERR_DS_SERVER_DOWN", WERR_DS_SERVER_DOWN }, { "WERR_DS_LOCAL_ERROR", WERR_DS_LOCAL_ERROR }, { "WERR_DS_ENCODING_ERROR", WERR_DS_ENCODING_ERROR }, @@ -2042,6 +2028,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DS_ADD_REPLICA_INHIBITED", WERR_DS_ADD_REPLICA_INHIBITED }, { "WERR_DS_ATT_NOT_DEF_IN_SCHEMA", WERR_DS_ATT_NOT_DEF_IN_SCHEMA }, { "WERR_DS_MAX_OBJ_SIZE_EXCEEDED", WERR_DS_MAX_OBJ_SIZE_EXCEEDED }, + { "WERR_DS_OBJ_STRING_NAME_EXISTS", WERR_DS_OBJ_STRING_NAME_EXISTS }, { "WERR_DS_NO_RDN_DEFINED_IN_SCHEMA", WERR_DS_NO_RDN_DEFINED_IN_SCHEMA }, { "WERR_DS_RDN_DOESNT_MATCH_SCHEMA", WERR_DS_RDN_DOESNT_MATCH_SCHEMA }, { "WERR_DS_NO_REQUESTED_ATTS_FOUND", WERR_DS_NO_REQUESTED_ATTS_FOUND }, @@ -2056,6 +2043,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DS_ATT_NOT_DEF_FOR_CLASS", WERR_DS_ATT_NOT_DEF_FOR_CLASS }, { "WERR_DS_ATT_ALREADY_EXISTS", WERR_DS_ATT_ALREADY_EXISTS }, { "WERR_DS_CANT_ADD_ATT_VALUES", WERR_DS_CANT_ADD_ATT_VALUES }, + { "WERR_DS_SINGLE_VALUE_CONSTRAINT", WERR_DS_SINGLE_VALUE_CONSTRAINT }, { "WERR_DS_RANGE_CONSTRAINT", WERR_DS_RANGE_CONSTRAINT }, { "WERR_DS_ATT_VAL_ALREADY_EXISTS", WERR_DS_ATT_VAL_ALREADY_EXISTS }, { "WERR_DS_CANT_REM_MISSING_ATT", WERR_DS_CANT_REM_MISSING_ATT }, @@ -2067,6 +2055,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DS_PARENT_IS_AN_ALIAS", WERR_DS_PARENT_IS_AN_ALIAS }, { "WERR_DS_CANT_MIX_MASTER_AND_REPS", WERR_DS_CANT_MIX_MASTER_AND_REPS }, { "WERR_DS_CHILDREN_EXIST", WERR_DS_CHILDREN_EXIST }, + { "WERR_DS_OBJ_NOT_FOUND", WERR_DS_OBJ_NOT_FOUND }, { "WERR_DS_ALIASED_OBJ_MISSING", WERR_DS_ALIASED_OBJ_MISSING }, { "WERR_DS_BAD_NAME_SYNTAX", WERR_DS_BAD_NAME_SYNTAX }, { "WERR_DS_ALIAS_POINTS_TO_ALIAS", WERR_DS_ALIAS_POINTS_TO_ALIAS }, @@ -2074,8 +2063,10 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DS_OUT_OF_SCOPE", WERR_DS_OUT_OF_SCOPE }, { "WERR_DS_OBJECT_BEING_REMOVED", WERR_DS_OBJECT_BEING_REMOVED }, { "WERR_DS_CANT_DELETE_DSA_OBJ", WERR_DS_CANT_DELETE_DSA_OBJ }, + { "WERR_DS_GENERIC_ERROR", WERR_DS_GENERIC_ERROR }, { "WERR_DS_DSA_MUST_BE_INT_MASTER", WERR_DS_DSA_MUST_BE_INT_MASTER }, { "WERR_DS_CLASS_NOT_DSA", WERR_DS_CLASS_NOT_DSA }, + { "WERR_DS_INSUFF_ACCESS_RIGHTS", WERR_DS_INSUFF_ACCESS_RIGHTS }, { "WERR_DS_ILLEGAL_SUPERIOR", WERR_DS_ILLEGAL_SUPERIOR }, { "WERR_DS_ATTRIBUTE_OWNED_BY_SAM", WERR_DS_ATTRIBUTE_OWNED_BY_SAM }, { "WERR_DS_NAME_TOO_MANY_PARTS", WERR_DS_NAME_TOO_MANY_PARTS }, @@ -2144,7 +2135,11 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DS_MISSING_EXPECTED_ATT", WERR_DS_MISSING_EXPECTED_ATT }, { "WERR_DS_NCNAME_MISSING_CR_REF", WERR_DS_NCNAME_MISSING_CR_REF }, { "WERR_DS_SECURITY_CHECKING_ERROR", WERR_DS_SECURITY_CHECKING_ERROR }, + { "WERR_DS_SCHEMA_NOT_LOADED", WERR_DS_SCHEMA_NOT_LOADED }, + { "WERR_DS_SCHEMA_ALLOC_FAILED", WERR_DS_SCHEMA_ALLOC_FAILED }, + { "WERR_DS_ATT_SCHEMA_REQ_SYNTAX", WERR_DS_ATT_SCHEMA_REQ_SYNTAX }, { "WERR_DS_GCVERIFY_ERROR", WERR_DS_GCVERIFY_ERROR }, + { "WERR_DS_DRA_SCHEMA_MISMATCH", WERR_DS_DRA_SCHEMA_MISMATCH }, { "WERR_DS_CANT_FIND_DSA_OBJ", WERR_DS_CANT_FIND_DSA_OBJ }, { "WERR_DS_CANT_FIND_EXPECTED_NC", WERR_DS_CANT_FIND_EXPECTED_NC }, { "WERR_DS_CANT_FIND_NC_IN_CACHE", WERR_DS_CANT_FIND_NC_IN_CACHE }, @@ -2163,17 +2158,26 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DS_MISSING_FSMO_SETTINGS", WERR_DS_MISSING_FSMO_SETTINGS }, { "WERR_DS_UNABLE_TO_SURRENDER_ROLES", WERR_DS_UNABLE_TO_SURRENDER_ROLES }, { "WERR_DS_DRA_GENERIC", WERR_DS_DRA_GENERIC }, + { "WERR_DS_DRA_INVALID_PARAMETER", WERR_DS_DRA_INVALID_PARAMETER }, { "WERR_DS_DRA_BUSY", WERR_DS_DRA_BUSY }, + { "WERR_DS_DRA_BAD_DN", WERR_DS_DRA_BAD_DN }, + { "WERR_DS_DRA_BAD_NC", WERR_DS_DRA_BAD_NC }, { "WERR_DS_DRA_DN_EXISTS", WERR_DS_DRA_DN_EXISTS }, + { "WERR_DS_DRA_INTERNAL_ERROR", WERR_DS_DRA_INTERNAL_ERROR }, { "WERR_DS_DRA_INCONSISTENT_DIT", WERR_DS_DRA_INCONSISTENT_DIT }, { "WERR_DS_DRA_CONNECTION_FAILED", WERR_DS_DRA_CONNECTION_FAILED }, { "WERR_DS_DRA_BAD_INSTANCE_TYPE", WERR_DS_DRA_BAD_INSTANCE_TYPE }, + { "WERR_DS_DRA_OUT_OF_MEM", WERR_DS_DRA_OUT_OF_MEM }, { "WERR_DS_DRA_MAIL_PROBLEM", WERR_DS_DRA_MAIL_PROBLEM }, { "WERR_DS_DRA_REF_ALREADY_EXISTS", WERR_DS_DRA_REF_ALREADY_EXISTS }, { "WERR_DS_DRA_REF_NOT_FOUND", WERR_DS_DRA_REF_NOT_FOUND }, { "WERR_DS_DRA_OBJ_IS_REP_SOURCE", WERR_DS_DRA_OBJ_IS_REP_SOURCE }, + { "WERR_DS_DRA_DB_ERROR", WERR_DS_DRA_DB_ERROR }, + { "WERR_DS_DRA_NO_REPLICA", WERR_DS_DRA_NO_REPLICA }, + { "WERR_DS_DRA_ACCESS_DENIED", WERR_DS_DRA_ACCESS_DENIED }, { "WERR_DS_DRA_NOT_SUPPORTED", WERR_DS_DRA_NOT_SUPPORTED }, { "WERR_DS_DRA_RPC_CANCELLED", WERR_DS_DRA_RPC_CANCELLED }, + { "WERR_DS_DRA_SOURCE_DISABLED", WERR_DS_DRA_SOURCE_DISABLED }, { "WERR_DS_DRA_SINK_DISABLED", WERR_DS_DRA_SINK_DISABLED }, { "WERR_DS_DRA_NAME_COLLISION", WERR_DS_DRA_NAME_COLLISION }, { "WERR_DS_DRA_SOURCE_REINSTALLED", WERR_DS_DRA_SOURCE_REINSTALLED }, @@ -2239,6 +2243,7 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DS_HAVE_PRIMARY_MEMBERS", WERR_DS_HAVE_PRIMARY_MEMBERS }, { "WERR_DS_STRING_SD_CONVERSION_FAILED", WERR_DS_STRING_SD_CONVERSION_FAILED }, { "WERR_DS_NAMING_MASTER_GC", WERR_DS_NAMING_MASTER_GC }, + { "WERR_DS_DNS_LOOKUP_FAILURE", WERR_DS_DNS_LOOKUP_FAILURE }, { "WERR_DS_COULDNT_UPDATE_SPNS", WERR_DS_COULDNT_UPDATE_SPNS }, { "WERR_DS_CANT_RETRIEVE_SD", WERR_DS_CANT_RETRIEVE_SD }, { "WERR_DS_KEY_NOT_UNIQUE", WERR_DS_KEY_NOT_UNIQUE }, @@ -2308,6 +2313,8 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DS_DIFFERENT_REPL_EPOCHS", WERR_DS_DIFFERENT_REPL_EPOCHS }, { "WERR_DS_DRS_EXTENSIONS_CHANGED", WERR_DS_DRS_EXTENSIONS_CHANGED }, { "WERR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR", WERR_DS_REPLICA_SET_CHANGE_NOT_ALLOWED_ON_DISABLED_CR }, + { "WERR_DS_NO_MSDS_INTID", WERR_DS_NO_MSDS_INTID }, + { "WERR_DS_DUP_MSDS_INTID", WERR_DS_DUP_MSDS_INTID }, { "WERR_DS_EXISTS_IN_RDNATTID", WERR_DS_EXISTS_IN_RDNATTID }, { "WERR_DS_AUTHORIZATION_FAILED", WERR_DS_AUTHORIZATION_FAILED }, { "WERR_DS_INVALID_SCRIPT", WERR_DS_INVALID_SCRIPT }, @@ -2661,25 +2668,6 @@ struct werror_str_struct { }; const struct werror_str_struct dos_err_strs[] = { - { WERR_OK, "Success" }, - { WERR_ACCESS_DENIED, "Access is denied" }, - { WERR_NOT_SUPPORTED, "Not supported" }, - { WERR_NO_LOGON_SERVERS, "No logon servers found" }, - { WERR_NO_SUCH_LOGON_SESSION, "No such logon session" }, - { WERR_DOMAIN_CONTROLLER_NOT_FOUND, "A domain controller could not be found" }, - { WERR_LOGON_FAILURE, "Invalid logon credentials" }, - { WERR_PASSWORD_MUST_CHANGE, "The password must be changed" }, - { WERR_ACCOUNT_LOCKED_OUT, "Account locked out" }, - { WERR_TIME_SKEW, "Time difference between client and server" }, - { WERR_PASSWORD_RESTRICTION, "Password does not meet restrictions" }, - { WERR_NONE_MAPPED, "Could not map names to SIDs" }, - { WERR_NO_SUCH_USER, "No such User" }, - { WERR_GROUP_EXISTS, "Group already exists" }, - { WERR_NO_SUCH_GROUP, "No such Group" }, - { WERR_INVALID_PRIMARY_GROUP, "The account's primary group is invalid" }, - { WERR_DS_DRA_BAD_DN, "An invalid distinguished name was specified for this replication" }, - { WERR_DS_DRA_BAD_NC, "An invalid naming context was specified for this replication operation" }, - { WERR_WRONG_PASSWORD, "The current password is incorrect" }, /***************************************************************************** Auto-generated Win32 error from: http://msdn.microsoft.com/en-us/library/cc231199%28PROT.10%29.aspx |