diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-08-23 11:40:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:25 -0500 |
commit | 36dcb8425dfe861f74994d13a3b46ade323868d0 (patch) | |
tree | c2a0fa6aa4856477f3ffaf700d9d7b00cde44601 /source4 | |
parent | 51c10eba0dffe5b9efc1d1fc159a9f6982483226 (diff) | |
download | samba-36dcb8425dfe861f74994d13a3b46ade323868d0.tar.gz samba-36dcb8425dfe861f74994d13a3b46ade323868d0.tar.bz2 samba-36dcb8425dfe861f74994d13a3b46ade323868d0.zip |
r9514: add some new error codes I was getting with DsGetNCChanges() and DsAddEntry()
metze
(This used to be commit 2cbbb8ace215f56e4e9affd54027bbd74309ae3a)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/include/doserr.h | 2 | ||||
-rw-r--r-- | source4/libcli/util/doserr.c | 2 |
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 }, |