From: Günther Deschner Date: Thu, 3 Dec 2015 14:24:30 +0000 (+0100) Subject: werror: removed WERR_USER_ALREADY_EXISTS (unused, already known as WERR_USER_EXISTS) X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=cbc3adffe7ffcbb8da70a81ee7f3c8afc810e9a5;p=metze%2Fsamba%2Fwip.git werror: removed WERR_USER_ALREADY_EXISTS (unused, already known as WERR_USER_EXISTS) Guenther Signed-off-by: Guenther Deschner Reviewed-by: Jeremy Allison --- diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c index b333367e2e9e..8b11b7e5eda8 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 1c9e0910743c..7e08151325dc 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)