summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-17 11:20:50 +0100
committerStefan Metzmacher <metze@samba.org>2011-12-17 14:24:40 +0100
commit23a034335cb25a7e1a7a5ba0ba007e23d379623e (patch)
treed50e000a0a8b93e58b7e0e6e672a836793503c56
parentb1fdf4065e4569e58ffceb44e9f4105fa1f8740e (diff)
downloadsamba-23a034335cb25a7e1a7a5ba0ba007e23d379623e.tar.gz
samba-23a034335cb25a7e1a7a5ba0ba007e23d379623e.tar.bz2
samba-23a034335cb25a7e1a7a5ba0ba007e23d379623e.zip
libcli/util: add NT_STATUS_NETWORK_SESSION_EXPIRED and NT_STATUS_ALL_SIDS_FILTERED
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Dec 17 14:24:40 CET 2011 on sn-devel-104
-rw-r--r--libcli/util/nterr.c2
-rw-r--r--libcli/util/ntstatus.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/libcli/util/nterr.c b/libcli/util/nterr.c
index cee56647bf..bd07bafbc0 100644
--- a/libcli/util/nterr.c
+++ b/libcli/util/nterr.c
@@ -570,6 +570,8 @@ const nt_err_code_struct nt_errs[] =
{ "NT_STATUS_RPC_PIPE_EMPTY", NT_STATUS_RPC_PIPE_EMPTY },
{ "NT_STATUS_CURRENT_DOMAIN_NOT_ALLOWED", NT_STATUS_CURRENT_DOMAIN_NOT_ALLOWED },
{ "NT_STATUS_OBJECTID_NOT_FOUND", NT_STATUS_OBJECTID_NOT_FOUND },
+ { "NT_STATUS_NETWORK_SESSION_EXPIRED", NT_STATUS_ACCOUNT_EXPIRED },
+ { "NT_STATUS_ALL_SIDS_FILTERED", NT_STATUS_ALL_SIDS_FILTERED },
{ "NT_STATUS_DOWNGRADE_DETECTED", NT_STATUS_DOWNGRADE_DETECTED },
{ "NT_STATUS_NO_S4U_PROT_SUPPORT", NT_STATUS_NO_S4U_PROT_SUPPORT },
{ "NT_STATUS_CROSSREALM_DELEGATION_FAILURE", NT_STATUS_CROSSREALM_DELEGATION_FAILURE },
diff --git a/libcli/util/ntstatus.h b/libcli/util/ntstatus.h
index 1381bea96d..f79363b828 100644
--- a/libcli/util/ntstatus.h
+++ b/libcli/util/ntstatus.h
@@ -603,6 +603,8 @@ typedef uint32_t NTSTATUS;
#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_NETWORK_SESSION_EXPIRED NT_STATUS(0xC0000000 | 0x035C)
+#define NT_STATUS_ALL_SIDS_FILTERED NT_STATUS(0xC00000000 | 0x035E)
#define NT_STATUS_DOWNGRADE_DETECTED NT_STATUS(0xC0000000 | 0x0388)
#define NT_STATUS_NO_S4U_PROT_SUPPORT NT_STATUS(0xC0000000 | 0x040A)
#define NT_STATUS_CROSSREALM_DELEGATION_FAILURE NT_STATUS(0xC0000000 | 0x040B)