summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-27 10:29:54 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-27 10:29:54 +1000
commitca20c56b260e2799c40b0c7c0e3ef5f7308b586e (patch)
tree6d3cc6a05b00d60cb5a7c282a3385b2759b0c6f2 /source4
parent43bfcba839d0a85c0b295151721cefd2dca91998 (diff)
downloadsamba-ca20c56b260e2799c40b0c7c0e3ef5f7308b586e.tar.gz
samba-ca20c56b260e2799c40b0c7c0e3ef5f7308b586e.tar.bz2
samba-ca20c56b260e2799c40b0c7c0e3ef5f7308b586e.zip
Add definition for NT_STATUS_DOWNGRADE_DETECTED
(This used to be commit f6e227b72bb56d12cb270d76f7f458136c4ca160)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/util/nterr.c1
-rw-r--r--source4/libcli/util/ntstatus.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/util/nterr.c b/source4/libcli/util/nterr.c
index 7629a14106..ef4055adaa 100644
--- a/source4/libcli/util/nterr.c
+++ b/source4/libcli/util/nterr.c
@@ -546,6 +546,7 @@ static const nt_err_code_struct nt_errs[] =
{ "NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED", NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED },
{ "NT_STATUS_RPC_UNSUPPORTED_NAME_SYNTAX", NT_STATUS_RPC_UNSUPPORTED_NAME_SYNTAX },
{ "NT_STATUS_OBJECTID_NOT_FOUND", NT_STATUS_OBJECTID_NOT_FOUND },
+ { "NT_STATUS_DOWNGRADE_DETECTED", NT_STATUS_DOWNGRADE_DETECTED },
{ "STATUS_MORE_ENTRIES", STATUS_MORE_ENTRIES },
{ "STATUS_SOME_UNMAPPED", STATUS_SOME_UNMAPPED },
{ "STATUS_NOTIFY_CLEANUP", STATUS_NOTIFY_CLEANUP },
diff --git a/source4/libcli/util/ntstatus.h b/source4/libcli/util/ntstatus.h
index 026b5162db..527a95bd09 100644
--- a/source4/libcli/util/ntstatus.h
+++ b/source4/libcli/util/ntstatus.h
@@ -593,6 +593,7 @@ typedef uint32_t NTSTATUS;
#define NT_STATUS_NOT_A_REPARSE_POINT NT_STATUS(0xC0000000 | 0x0275)
#define NT_STATUS_OBJECTID_NOT_FOUND NT_STATUS(0xC0000000 | 0x02F0)
#define NT_STATUS_NO_SUCH_JOB NT_STATUS(0xC0000000 | 0xEDE) /* scheduler */
+#define NT_STATUS_DOWNGRADE_DETECTED NT_STATUS(0xC0000000 | 0x0388)
#define NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED NT_STATUS(0xC0000000 | 0x20004)
#define NT_STATUS_RPC_UNSUPPORTED_NAME_SYNTAX NT_STATUS(0xC0000000 | 0x20026)