summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-09-05 16:46:12 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-09-05 16:46:12 +1000
commitb7326979e9d8366eee03d967483a6513342186c4 (patch)
tree9b9bb60a105f0222d0401d13d2dc47a27fc66681 /source4
parent2c2fde57fa1756ccbc5a60205adab7855d9e533d (diff)
downloadsamba-b7326979e9d8366eee03d967483a6513342186c4.tar.gz
samba-b7326979e9d8366eee03d967483a6513342186c4.tar.bz2
samba-b7326979e9d8366eee03d967483a6513342186c4.zip
Add a new error code
(This used to be commit b52fba5b2c63a24acbfc7e3e989c16b691d98162)
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 ef4055adaa..4e046c78ca 100644
--- a/source4/libcli/util/nterr.c
+++ b/source4/libcli/util/nterr.c
@@ -545,6 +545,7 @@ static const nt_err_code_struct nt_errs[] =
{ "NT_STATUS_NO_MORE_ENTRIES", NT_STATUS_NO_MORE_ENTRIES },
{ "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_CURRENT_DOMAIN_NOT_ALLOWED", NT_STATUS_CURRENT_DOMAIN_NOT_ALLOWED },
{ "NT_STATUS_OBJECTID_NOT_FOUND", NT_STATUS_OBJECTID_NOT_FOUND },
{ "NT_STATUS_DOWNGRADE_DETECTED", NT_STATUS_DOWNGRADE_DETECTED },
{ "STATUS_MORE_ENTRIES", STATUS_MORE_ENTRIES },
diff --git a/source4/libcli/util/ntstatus.h b/source4/libcli/util/ntstatus.h
index 527a95bd09..9c7bee0dfe 100644
--- a/source4/libcli/util/ntstatus.h
+++ b/source4/libcli/util/ntstatus.h
@@ -591,6 +591,7 @@ typedef uint32_t NTSTATUS;
#define NT_STATUS_QUOTA_LIST_INCONSISTENT NT_STATUS(0xC0000000 | 0x0266)
#define NT_STATUS_FILE_IS_OFFLINE NT_STATUS(0xC0000000 | 0x0267)
#define NT_STATUS_NOT_A_REPARSE_POINT NT_STATUS(0xC0000000 | 0x0275)
+#define NT_STATUS_CURRENT_DOMAIN_NOT_ALLOWED NT_STATUS(0xC0000000 | 0x02E9)
#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)