diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c index effe840338b..a753eca4352 100644 --- a/libcli/util/doserr.c +++ b/libcli/util/doserr.c @@ -54,7 +54,6 @@ static const struct werror_code_struct dos_errs[] = { "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_SETUP_NOT_JOINED", WERR_SETUP_NOT_JOINED }, { "WERR_SETUP_DOMAIN_CONTROLLER", WERR_SETUP_DOMAIN_CONTROLLER }, { "WERR_DEVICE_NOT_AVAILABLE", WERR_DEVICE_NOT_AVAILABLE }, { "WERR_DEFAULT_JOIN_REQUIRED", WERR_DEFAULT_JOIN_REQUIRED }, @@ -2674,7 +2673,6 @@ const struct werror_str_struct dos_err_strs[] = { { 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_SETUP_NOT_JOINED, "Join failed" }, { WERR_SETUP_DOMAIN_CONTROLLER, "Machine is a Domain Controller" }, { WERR_LOGON_FAILURE, "Invalid logon credentials" }, { WERR_PASSWORD_MUST_CHANGE, "The password must be changed" }, diff --git a/libcli/util/werror.h b/libcli/util/werror.h index f4755a72f9a..8b13f2347b8 100644 --- a/libcli/util/werror.h +++ b/libcli/util/werror.h @@ -195,7 +195,6 @@ typedef uint32_t WERROR; #define MAX_NERR (NERR_BASE+899) #endif -#define WERR_SETUP_NOT_JOINED W_ERROR(0x00000A84) #define WERR_SETUP_DOMAIN_CONTROLLER W_ERROR(0x00000A85) #define WERR_DEFAULT_JOIN_REQUIRED W_ERROR(0x00000A86)