diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-13 11:37:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:23 -0500 |
commit | a7c70d4c5e11c515f1d09b88a83fb79baaf47e15 (patch) | |
tree | bc2653ae3eb790ee6297299b80ae9c371d141a14 /source4 | |
parent | 985e86b04d4035c133a29a6a681523b9ca247a19 (diff) | |
download | samba-a7c70d4c5e11c515f1d09b88a83fb79baaf47e15.tar.gz samba-a7c70d4c5e11c515f1d09b88a83fb79baaf47e15.tar.bz2 samba-a7c70d4c5e11c515f1d09b88a83fb79baaf47e15.zip |
r4177: add some more error codes
metze
(This used to be commit e624bb52886db80a3600b79494ad1150592efebe)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/include/doserr.h | 4 | ||||
-rw-r--r-- | source4/libcli/util/doserr.c | 3 |
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 }, |