From 736797ef7fe3b9cf542fa69281272501f95bfa3f Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 11 Mar 2005 10:33:01 +0000 Subject: r5737: add some error codes metze (This used to be commit f543eb4ede54ac361017878574b3f4b6ffc9f2d5) --- source4/include/doserr.h | 2 ++ source4/libcli/util/doserr.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/source4/include/doserr.h b/source4/include/doserr.h index 586ac99997..36eb3b07f1 100644 --- a/source4/include/doserr.h +++ b/source4/include/doserr.h @@ -243,10 +243,12 @@ #define WERR_DS_SERVICE_UNAVAILABLE W_ERROR(0x0000200f) #define WERR_DS_NO_SUCH_OBJECT W_ERROR(0x00002030) #define WERR_DS_OBJ_NOT_FOUND W_ERROR(0x0000208d) +#define WERR_DS_DRA_INVALID_PARAMETER W_ERROR(0x000020f5) #define WERR_DS_DRA_BAD_DN W_ERROR(0x000020f7) #define WERR_DS_DRA_BAD_NC W_ERROR(0x000020f8) #define WERR_DS_DRA_DB_ERROR W_ERROR(0x00002103) #define WERR_DS_DRA_NO_REPLICA W_ERROR(0x00002104) +#define WERR_DS_DNS_LOOKUP_FAILURE W_ERROR(0x0000214c) #define WERR_DS_WRONG_LINKED_ATTRIBUTE_SYNTAX W_ERROR(0x00002150) #define WERR_FOOBAR WERR_GENERAL_FAILURE diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c index b346fea644..83553448a3 100644 --- a/source4/libcli/util/doserr.c +++ b/source4/libcli/util/doserr.c @@ -77,10 +77,12 @@ static const struct werror_code_struct dos_errs[] = { "WERR_DS_SERVICE_UNAVAILABLE", WERR_DS_SERVICE_UNAVAILABLE }, { "WERR_DS_NO_SUCH_OBJECT", WERR_DS_NO_SUCH_OBJECT }, { "WERR_DS_OBJ_NOT_FOUND", WERR_DS_OBJ_NOT_FOUND }, + { "WERR_DS_DRA_INVALID_PARAMETER", WERR_DS_DRA_INVALID_PARAMETER }, { "WERR_DS_DRA_BAD_DN", WERR_DS_DRA_BAD_DN }, { "WERR_DS_DRA_BAD_NC", WERR_DS_DRA_BAD_NC }, { "WERR_DS_DRA_DB_ERROR", WERR_DS_DRA_DB_ERROR }, { "WERR_DS_DRA_NO_REPLICA", WERR_DS_DRA_NO_REPLICA }, + { "WERR_DS_DNS_LOOKUP_FAILURE", WERR_DS_DNS_LOOKUP_FAILURE }, { "WERR_DS_WRONG_LINKED_ATTRIBUTE_SYNTAX", WERR_DS_WRONG_LINKED_ATTRIBUTE_SYNTAX }, { "WERR_GENERAL_FAILURE", WERR_GENERAL_FAILURE }, { "WERR_PRINTQ_FULL", WERR_PRINTQ_FULL }, -- cgit