summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-14 15:17:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:40:48 -0500
commit15f6cf2449898432112140aea9f3f9445ca2ea68 (patch)
tree4664ee871bf31086bca82bde5cec85dac6abff5e /source4/libcli
parente8d9ccd57403910e1e1072bb46b4db63307884f8 (diff)
downloadsamba-15f6cf2449898432112140aea9f3f9445ca2ea68.tar.gz
samba-15f6cf2449898432112140aea9f3f9445ca2ea68.tar.bz2
samba-15f6cf2449898432112140aea9f3f9445ca2ea68.zip
r20765: add two more schema related error codes
metze (This used to be commit 75f5a88f2229fa604726ecb0ebb2b5a4589d5b86)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/util/doserr.c2
-rw-r--r--source4/libcli/util/doserr.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index c23e62afd8..51a633238f 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -89,6 +89,8 @@ 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_SCHEMA_NOT_LOADED", WERR_DS_SCHEMA_NOT_LOADED },
+ { "WERR_DS_SCHEMA_ALLOC_FAILED", WERR_DS_SCHEMA_ALLOC_FAILED },
{ "WERR_DS_ATT_SCHEMA_REQ_SYNTAX", WERR_DS_ATT_SCHEMA_REQ_SYNTAX },
{ "WERR_DS_DRA_SCHEMA_MISMATCH", WERR_DS_DRA_SCHEMA_MISMATCH },
{ "WERR_DS_DRA_INVALID_PARAMETER", WERR_DS_DRA_INVALID_PARAMETER },
diff --git a/source4/libcli/util/doserr.h b/source4/libcli/util/doserr.h
index 84b84bb6f5..79bbb1a4d8 100644
--- a/source4/libcli/util/doserr.h
+++ b/source4/libcli/util/doserr.h
@@ -261,6 +261,8 @@
#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_SCHEMA_NOT_LOADED W_ERROR(0x20de)
+#define WERR_DS_SCHEMA_ALLOC_FAILED W_ERROR(0x20df)
#define WERR_DS_ATT_SCHEMA_REQ_SYNTAX W_ERROR(0x000020e0)
#define WERR_DS_DRA_SCHEMA_MISMATCH W_ERROR(0x000020e2)
#define WERR_DS_DRA_INVALID_PARAMETER W_ERROR(0x000020f5)