From 245c4369479ed9d010982efd90edb5d39af7dcc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Thu, 3 Dec 2015 15:24:34 +0100 Subject: [PATCH] werror: removed WERR_USEREXISTS Guenther Signed-off-by: Guenther Deschner Reviewed-by: Jeremy Allison --- libcli/util/doserr.c | 2 -- libcli/util/werror.h | 1 - 2 files changed, 3 deletions(-) diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c index ce649245fcd..a8ef59b8dca 100644 --- a/libcli/util/doserr.c +++ b/libcli/util/doserr.c @@ -61,7 +61,6 @@ static const struct werror_code_struct dos_errs[] = { "WERR_SETUP_DOMAIN_CONTROLLER", WERR_SETUP_DOMAIN_CONTROLLER }, { "WERR_DEVICE_NOT_AVAILABLE", WERR_DEVICE_NOT_AVAILABLE }, { "WERR_DEFAULT_JOIN_REQUIRED", WERR_DEFAULT_JOIN_REQUIRED }, - { "WERR_USEREXISTS", WERR_USEREXISTS }, { "WERR_REVISION_MISMATCH", WERR_REVISION_MISMATCH }, { "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS }, { "WERR_NO_SUCH_LOGON_SESSION", WERR_NO_SUCH_LOGON_SESSION }, @@ -2693,7 +2692,6 @@ const struct werror_str_struct dos_err_strs[] = { { WERR_SETUP_ALREADY_JOINED, "Machine is already joined" }, { WERR_SETUP_DOMAIN_CONTROLLER, "Machine is a Domain Controller" }, { WERR_LOGON_FAILURE, "Invalid logon credentials" }, - { WERR_USEREXISTS, "The user account already exists." }, { 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" }, diff --git a/libcli/util/werror.h b/libcli/util/werror.h index 30241fbd34e..281b36f7ef2 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_USEREXISTS W_ERROR(0x000008B0) #define WERR_NOT_CONNECTED W_ERROR(0x000008CA) #define WERR_NAME_NOT_FOUND W_ERROR(0x000008E1) #define WERR_NET_NAME_NOT_FOUND W_ERROR(0x00000906)