two more NT status codes that we get on DRS with w2k8-R2
authorAndrew Tridgell <tridge@samba.org>
Fri, 12 Jun 2009 02:22:53 +0000 (12:22 +1000)
committerAndrew Tridgell <tridge@samba.org>
Fri, 12 Jun 2009 02:23:46 +0000 (12:23 +1000)
libcli/util/ntstatus.h
source4/libcli/util/nterr.c

index dc1fcc41a4fc8146f2e82cfd43a8028013373c8c..5f05f9a6ac00450b4380d1999d30538b422a1183 100644 (file)
@@ -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 */
index c19643371049f1a50e3a1d24607b576d8cbb3c0b..e9db904053080002c988e5fa3d2d06786ab9e9c3 100644 (file)
@@ -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 },