werror: removed WERR_USER_ALREADY_EXISTS (unused, already known as WERR_USER_EXISTS)
authorGünther Deschner <gd@samba.org>
Thu, 3 Dec 2015 14:24:30 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 27 Sep 2016 22:04:25 +0000 (00:04 +0200)
Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
libcli/util/doserr.c
libcli/util/werror.h

index b333367e2e9e9f7ddf228d373d2caf8444cac1be..8b11b7e5eda8ef9a35f00c42a11eb4c27834067e 100644 (file)
@@ -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" },
index 1c9e0910743c9f7425941fcaa1508bc0da91ee8b..7e08151325dc405e05257a1841d234138613ff73 100644 (file)
@@ -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)