summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
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 cbf5a4a365..c6a0425022 100644
--- a/source4/include/doserr.h
+++ b/source4/include/doserr.h
@@ -188,6 +188,7 @@
#define WERR_MORE_DATA W_ERROR(234)
#define WERR_CAN_NOT_COMPLETE W_ERROR(1003)
#define WERR_INVALID_DOMAINNAME W_ERROR(1212)
+#define WERR_REVISION_MISMATCH W_ERROR(1306)
#define WERR_INVALID_OWNER W_ERROR(1307)
#define WERR_NO_SUCH_USER W_ERROR(1317)
#define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338)
@@ -251,6 +252,7 @@
#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_SINGLE_VALUE_CONSTRAINT W_ERROR(0x00002081)
#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)
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index 577c004422..4f977b7e75 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -69,6 +69,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_DFS_INTERNAL_ERROR", WERR_DFS_INTERNAL_ERROR },
{ "WERR_DFS_CANT_CREATE_JUNCT", WERR_DFS_CANT_CREATE_JUNCT },
{ "WERR_INVALID_SECURITY_DESCRIPTOR", WERR_INVALID_SECURITY_DESCRIPTOR },
+ { "WERR_REVISION_MISMATCH", WERR_REVISION_MISMATCH },
{ "WERR_INVALID_OWNER", WERR_INVALID_OWNER },
{ "WERR_INVALID_DOMAINNAME", WERR_INVALID_DOMAINNAME },
{ "WERR_NO_SUCH_USER", WERR_NO_SUCH_USER },
@@ -80,6 +81,7 @@ static const struct werror_code_struct dos_errs[] =
{ "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_SINGLE_VALUE_CONSTRAINT", WERR_DS_SINGLE_VALUE_CONSTRAINT },
{ "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 },