From cbc3adffe7ffcbb8da70a81ee7f3c8afc810e9a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Thu, 3 Dec 2015 15:24:30 +0100 Subject: [PATCH] werror: removed WERR_USER_ALREADY_EXISTS (unused, already known as WERR_USER_EXISTS) 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 b333367e2e9..8b11b7e5eda 100644 --- a/libcli/util/doserr.c +++ b/libcli/util/doserr.c @@ -71,7 +71,6 @@ static const struct werror_code_struct dos_errs[] = { "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_USER_ALREADY_EXISTS", WERR_USER_ALREADY_EXISTS }, { "WERR_NO_SUCH_USER", WERR_NO_SUCH_USER }, { "WERR_GROUP_EXISTS", WERR_GROUP_EXISTS }, { "WERR_NO_SUCH_GROUP", WERR_NO_SUCH_GROUP }, @@ -2707,7 +2706,6 @@ const struct werror_str_struct dos_err_strs[] = { { 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_USER_ALREADY_EXISTS, "User already exists" }, { WERR_PASSWORD_RESTRICTION, "Password does not meet restrictions" }, { WERR_NONE_MAPPED, "Could not map names to SIDs" }, { WERR_NO_SUCH_USER, "No such User" }, diff --git a/libcli/util/werror.h b/libcli/util/werror.h index 1c9e0910743..7e08151325d 100644 --- a/libcli/util/werror.h +++ b/libcli/util/werror.h @@ -123,7 +123,6 @@ typedef uint32_t WERROR; #define WERR_NO_SUCH_LOGON_SESSION W_ERROR(0x00000520) #define WERR_NO_SUCH_PRIVILEGE W_ERROR(0x00000521) #define WERR_PRIVILEGE_NOT_HELD W_ERROR(0x00000522) -#define WERR_USER_ALREADY_EXISTS W_ERROR(0x00000524) #define WERR_NO_SUCH_USER W_ERROR(0x00000525) #define WERR_GROUP_EXISTS W_ERROR(0x00000526) #define WERR_NO_SUCH_GROUP W_ERROR(0x00000527)