summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-07 16:19:34 +0100
committerGünther Deschner <gd@samba.org>2007-12-07 16:20:22 +0100
commitd3b4b69a270efd85728ac77fe23a0fb39d9dce10 (patch)
treea1d973ed162387e97eec5fa80d3bab7ee49273ce /source3
parenta23d09081fdb089c776e568418cba75c2c2e8271 (diff)
downloadsamba-d3b4b69a270efd85728ac77fe23a0fb39d9dce10.tar.gz
samba-d3b4b69a270efd85728ac77fe23a0fb39d9dce10.tar.bz2
samba-d3b4b69a270efd85728ac77fe23a0fb39d9dce10.zip
Add NT_STATUS_DOWNGRADE_DETECTED (thanks to Magnus Mertens).
Guenther (This used to be commit 970daaa0a620d8e47475909cd7b5e54869602530)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/nterr.h1
-rw-r--r--source3/libsmb/nterr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/nterr.h b/source3/include/nterr.h
index da9fab3aca..5749c4efbf 100644
--- a/source3/include/nterr.h
+++ b/source3/include/nterr.h
@@ -563,6 +563,7 @@
#define NT_STATUS_FILE_IS_OFFLINE NT_STATUS(0xC0000000 | 0x0267)
#define NT_STATUS_DS_NO_MORE_RIDS NT_STATUS(0xC0000000 | 0x02a8)
#define NT_STATUS_NOT_A_REPARSE_POINT NT_STATUS(0xC0000000 | 0x0275)
+#define NT_STATUS_DOWNGRADE_DETECTED NT_STATUS(0xC0000000 | 0x0388)
#define NT_STATUS_NO_SUCH_JOB NT_STATUS(0xC0000000 | 0xEDE) /* scheduler */
#define NT_STATUS_RPC_PROTSEQ_NOT_SUPPORTED NT_STATUS(0xC0000000 | 0x20004)
diff --git a/source3/libsmb/nterr.c b/source3/libsmb/nterr.c
index cf443f2339..608fe9db20 100644
--- a/source3/libsmb/nterr.c
+++ b/source3/libsmb/nterr.c
@@ -534,6 +534,7 @@ static const nt_err_code_struct nt_errs[] =
{ "NT_STATUS_FILE_IS_OFFLINE", NT_STATUS_FILE_IS_OFFLINE },
{ "NT_STATUS_DS_NO_MORE_RIDS", NT_STATUS_DS_NO_MORE_RIDS },
{ "NT_STATUS_NOT_A_REPARSE_POINT", NT_STATUS_NOT_A_REPARSE_POINT },
+ { "NT_STATUS_DOWNGRADE_DETECTED", NT_STATUS_DOWNGRADE_DETECTED },
{ "NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES },
{ "STATUS_MORE_ENTRIES", STATUS_MORE_ENTRIES },
{ "STATUS_SOME_UNMAPPED", STATUS_SOME_UNMAPPED },