summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-03-11 10:33:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:11:01 -0500
commit736797ef7fe3b9cf542fa69281272501f95bfa3f (patch)
tree24a1281e5205df77525ebd09bdc9ebea72581291 /source4
parent1ecdd798471a9c40eec6a4eaf95af9d5bdc1a601 (diff)
downloadsamba-736797ef7fe3b9cf542fa69281272501f95bfa3f.tar.gz
samba-736797ef7fe3b9cf542fa69281272501f95bfa3f.tar.bz2
samba-736797ef7fe3b9cf542fa69281272501f95bfa3f.zip
r5737: add some error codes
metze (This used to be commit f543eb4ede54ac361017878574b3f4b6ffc9f2d5)
Diffstat (limited to 'source4')
-rw-r--r--source4/include/doserr.h2
-rw-r--r--source4/libcli/util/doserr.c2
2 files changed, 4 insertions, 0 deletions
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 },