From 4b7960a091916613ad89e9ef9e4de857b08c8e24 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 7 Dec 2004 09:18:56 +0000 Subject: r4084: add some more error codes metze (This used to be commit e5db58526825476fd6d8d80c8ee6c3bca0e23c84) --- 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 687bd6fdce..6d63e1a6a2 100644 --- a/source4/include/doserr.h +++ b/source4/include/doserr.h @@ -239,6 +239,8 @@ #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_DB_ERROR W_ERROR(0x00002103) +#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 0e2270d8f6..d81280bff6 100644 --- a/source4/libcli/util/doserr.c +++ b/source4/libcli/util/doserr.c @@ -74,6 +74,8 @@ 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_DB_ERROR", WERR_DS_DRA_DB_ERROR }, + { "WERR_DS_WRONG_LINKED_ATTRIBUTE_SYNTAX", WERR_DS_WRONG_LINKED_ATTRIBUTE_SYNTAX }, { "WERR_GENERAL_FAILURE", WERR_GENERAL_FAILURE }, { "WERR_PRINTQ_FULL", WERR_PRINTQ_FULL }, { "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE }, -- cgit