summaryrefslogtreecommitdiff
path: root/source4/libcli/util
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-28 12:17:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:30:19 -0500
commit11018b0e134bee5bd7f7680114343e9f17f529e1 (patch)
treeeef0368d3a5a3da5b7bc9568499e17df4de057d8 /source4/libcli/util
parent6d85ab62752cbc9bb7426c8df67b7dc644871099 (diff)
downloadsamba-11018b0e134bee5bd7f7680114343e9f17f529e1.tar.gz
samba-11018b0e134bee5bd7f7680114343e9f17f529e1.tar.bz2
samba-11018b0e134bee5bd7f7680114343e9f17f529e1.zip
r20378: add new error code that says the schema mismatches between DC's
metze (This used to be commit e769029f42f848db8121c7dcfe5be261861776c8)
Diffstat (limited to 'source4/libcli/util')
-rw-r--r--source4/libcli/util/doserr.c1
-rw-r--r--source4/libcli/util/doserr.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index 4b39dace47..5a4660c095 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -89,6 +89,7 @@ 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_SCHEMA_MISMATCH", WERR_DS_DRA_SCHEMA_MISMATCH },
{ "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 },
diff --git a/source4/libcli/util/doserr.h b/source4/libcli/util/doserr.h
index 0cf53c1cf2..17a9757d6e 100644
--- a/source4/libcli/util/doserr.h
+++ b/source4/libcli/util/doserr.h
@@ -261,6 +261,7 @@
#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_SCHEMA_MISMATCH W_ERROR(0x000020e2)
#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)