summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-06-12 12:22:53 +1000
committerAndrew Tridgell <tridge@samba.org>2009-06-12 12:23:46 +1000
commitddce3b5ac8a5d308c276f05750ee111b8e429e46 (patch)
treea6d9d11a9ebc1f847d7f6fac4db67bbf3a7548ed
parentf5a47dc4bf2793ab328c8b0e35adace497819e7d (diff)
downloadsamba-ddce3b5ac8a5d308c276f05750ee111b8e429e46.tar.gz
samba-ddce3b5ac8a5d308c276f05750ee111b8e429e46.tar.bz2
samba-ddce3b5ac8a5d308c276f05750ee111b8e429e46.zip
two more NT status codes that we get on DRS with w2k8-R2
-rw-r--r--libcli/util/ntstatus.h3
-rw-r--r--source4/libcli/util/nterr.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h
index dc1fcc41a4..5f05f9a6ac 100644
--- a/libcli/util/ntstatus.h
+++ b/libcli/util/ntstatus.h
@@ -606,7 +606,8 @@ typedef uint32_t NTSTATUS;
#define NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED NT_STATUS(0xC0000000 | 0x20004)
#define NT_STATUS_RPC_UNSUPPORTED_NAME_SYNTAX NT_STATUS(0xC0000000 | 0x20026)
#define NT_STATUS_RPC_NT_CALL_FAILED NT_STATUS(0xC0000000 | 0x2001B)
-
+#define NT_STATUS_ERROR_DS_OBJ_STRING_NAME_EXISTS NT_STATUS(0xC0000000 | 0x2071)
+#define NT_STATUS_ERROR_DS_INCOMPATIBLE_VERSION NT_STATUS(0xC0000000 | 0x00002177)
/* I use NT_STATUS_FOOBAR when I have no idea what error code to use -
* this means we need a torture test */
diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c
index c196433710..e9db904053 100644
--- a/source4/libcli/util/nterr.c
+++ b/source4/libcli/util/nterr.c
@@ -550,6 +550,8 @@ static const nt_err_code_struct nt_errs[] =
{ "NT_STATUS_DOWNGRADE_DETECTED", NT_STATUS_DOWNGRADE_DETECTED },
{ "NT_STATUS_DS_BUSY", NT_STATUS_DS_BUSY },
{ "NT_STATUS_INVALID_LOCK_RANGE", NT_STATUS_INVALID_LOCK_RANGE },
+ { "NT_STATUS_ERROR_DS_OBJ_STRING_NAME_EXISTS", NT_STATUS_ERROR_DS_OBJ_STRING_NAME_EXISTS },
+ { "NT_STATUS_ERROR_DS_INCOMPATIBLE_VERSION", NT_STATUS_ERROR_DS_INCOMPATIBLE_VERSION },
{ "STATUS_MORE_ENTRIES", STATUS_MORE_ENTRIES },
{ "STATUS_SOME_UNMAPPED", STATUS_SOME_UNMAPPED },
{ "STATUS_NOTIFY_CLEANUP", STATUS_NOTIFY_CLEANUP },