From: Andrew Tridgell Date: Fri, 12 Jun 2009 02:22:53 +0000 (+1000) Subject: two more NT status codes that we get on DRS with w2k8-R2 X-Git-Tag: tdb-1.1.5~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddce3b5ac8a5d308c276f05750ee111b8e429e46;p=thirdparty%2Fsamba.git two more NT status codes that we get on DRS with w2k8-R2 --- diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h index dc1fcc41a4f..5f05f9a6ac0 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 c1964337104..e9db9040530 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 },