summaryrefslogtreecommitdiff
path: root/libcli/util
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-03 15:24:36 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:29 +0200
commitd5cef966ce7769c429107e37af12d419e8fb292e (patch)
tree9b3298456589005840bf03186abe9fe4cdb9ab9e /libcli/util
parentd97f7a48eab99840b0120f8919724b28bc44542c (diff)
downloadsamba-d5cef966ce7769c429107e37af12d419e8fb292e.tar.gz
werror: removed WERR_DCNOTFOUND
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/util')
-rw-r--r--libcli/util/doserr.c2
-rw-r--r--libcli/util/werror.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c
index 63a674c2155..86d34dc506f 100644
--- a/libcli/util/doserr.c
+++ b/libcli/util/doserr.c
@@ -83,7 +83,6 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_INVALID_COMPUTERNAME", WERR_INVALID_COMPUTERNAME },
{ "WERR_INVALID_DOMAINNAME", WERR_INVALID_DOMAINNAME },
{ "WERR_MACHINE_LOCKED", WERR_MACHINE_LOCKED },
- { "WERR_DCNOTFOUND", WERR_DCNOTFOUND },
{ "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS },
{ "WERR_NO_SUCH_LOGON_SESSION", WERR_NO_SUCH_LOGON_SESSION },
{ "WERR_NO_SUCH_PRIVILEGE", WERR_NO_SUCH_PRIVILEGE },
@@ -2682,7 +2681,6 @@ const struct werror_str_struct dos_err_strs[] = {
{ WERR_NO_LOGON_SERVERS, "No logon servers found" },
{ WERR_NO_SUCH_LOGON_SESSION, "No such logon session" },
{ WERR_DOMAIN_CONTROLLER_NOT_FOUND, "A domain controller could not be found" },
- { WERR_DCNOTFOUND, "A domain controller could not be found" },
{ WERR_SETUP_NOT_JOINED, "Join failed" },
{ WERR_SETUP_ALREADY_JOINED, "Machine is already joined" },
{ WERR_SETUP_DOMAIN_CONTROLLER, "Machine is a Domain Controller" },
diff --git a/libcli/util/werror.h b/libcli/util/werror.h
index b726fd34eed..77a1be72f48 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_DCNOTFOUND W_ERROR(0x00000995)
#define WERR_TIME_DIFF_AT_DC W_ERROR(0x00000999)
#define WERR_DFS_NO_SUCH_VOL W_ERROR(0x00000A66)
#define WERR_DFS_NO_SUCH_SHARE W_ERROR(0x00000A69)