summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/include/doserr.h4
-rw-r--r--source4/libcli/util/doserr.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/source4/include/doserr.h b/source4/include/doserr.h
index 6d63e1a6a2..bc5143b127 100644
--- a/source4/include/doserr.h
+++ b/source4/include/doserr.h
@@ -239,10 +239,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_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_WRONG_LINKED_ATTRIBUTE_SYNTAX W_ERROR(0x00002150)
-
#define WERR_FOOBAR WERR_GENERAL_FAILURE
#endif /* _DOSERR_H */
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index d81280bff6..ee2ca25435 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -74,7 +74,10 @@ 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_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_WRONG_LINKED_ATTRIBUTE_SYNTAX", WERR_DS_WRONG_LINKED_ATTRIBUTE_SYNTAX },
{ "WERR_GENERAL_FAILURE", WERR_GENERAL_FAILURE },
{ "WERR_PRINTQ_FULL", WERR_PRINTQ_FULL },