summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-07 09:18:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:25 -0500
commit4b7960a091916613ad89e9ef9e4de857b08c8e24 (patch)
treeba73b90d661c66047fbb91b1ed2ec75a52533b6a
parent10918b7b707eb922cb2641d4e9416fb334b1f7cb (diff)
downloadsamba-4b7960a091916613ad89e9ef9e4de857b08c8e24.tar.gz
samba-4b7960a091916613ad89e9ef9e4de857b08c8e24.tar.bz2
samba-4b7960a091916613ad89e9ef9e4de857b08c8e24.zip
r4084: add some more error codes
metze (This used to be commit e5db58526825476fd6d8d80c8ee6c3bca0e23c84)
-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 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 },