libcli/util: remove unused WERR_BAD_PASSWORD
authorStefan Metzmacher <metze@samba.org>
Thu, 26 Mar 2015 10:00:10 +0000 (11:00 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 27 Mar 2015 00:26:17 +0000 (01:26 +0100)
The values are the same, but WERR_INVALID_PASSWORD matches the documentation.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
libcli/util/doserr.c
libcli/util/werror.h

index 124d4c5801de8d1708921b690ac31e73a8d9e799..5076c37bbf86b417fba4cedbe23c2fbfdbf2c468 100644 (file)
@@ -43,7 +43,6 @@ static const struct werror_code_struct dos_errs[] =
        { "WERR_INVALID_PARAM", WERR_INVALID_PARAM },
        { "WERR_NOT_SUPPORTED", WERR_NOT_SUPPORTED },
        { "WERR_DUP_NAME", WERR_DUP_NAME },
-       { "WERR_BAD_PASSWORD", WERR_BAD_PASSWORD },
        { "WERR_NOMEM", WERR_NOMEM },
        { "WERR_INVALID_NAME", WERR_INVALID_NAME },
        { "WERR_OBJECT_PATH_INVALID", WERR_OBJECT_PATH_INVALID },
@@ -2706,7 +2705,6 @@ const struct werror_str_struct dos_err_strs[] = {
        { WERR_ACCESS_DENIED, "Access is denied" },
        { WERR_INVALID_PARAM, "Invalid parameter" },
        { WERR_NOT_SUPPORTED, "Not supported" },
-       { WERR_BAD_PASSWORD, "A bad password was supplied" },
        { WERR_NOMEM, "Out of memory" },
        { WERR_NO_LOGON_SERVERS, "No logon servers found" },
        { WERR_NO_SUCH_LOGON_SESSION, "No such logon session" },
index 7e13f5da9496e1311ddf711c9b70bbda5cae9843..c23de4c736a16926012ebb28c16be98fe4ada7cf 100644 (file)
@@ -98,7 +98,6 @@ typedef uint32_t WERROR;
 #define WERR_NO_SPOOL_SPACE W_ERROR(0x0000003E)
 #define WERR_NO_SUCH_SHARE W_ERROR(0x00000043)
 #define WERR_FILE_EXISTS W_ERROR(0x00000050)
-#define WERR_BAD_PASSWORD W_ERROR(0x00000056)
 #define WERR_INVALID_PARAM W_ERROR(0x00000057)
 #define WERR_CALL_NOT_IMPLEMENTED W_ERROR(0x00000078)
 #define WERR_SEM_TIMEOUT W_ERROR(0x00000079)