diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-03-20 10:57:26 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-03-23 14:37:25 +0100 |
commit | 0fa67c8d8f03d1671382adc2e16340a1df11a2de (patch) | |
tree | d18de84c0e74ae0227e602d90f30983de5be71c5 | |
parent | ef83c970ca66bf02d684c6fb913a6caa2b25e39c (diff) | |
download | samba-0fa67c8d8f03d1671382adc2e16340a1df11a2de.tar.gz samba-0fa67c8d8f03d1671382adc2e16340a1df11a2de.tar.bz2 samba-0fa67c8d8f03d1671382adc2e16340a1df11a2de.zip |
dcerpc.idl: add nca_s_* status codes from the DCE 1.1 specification
metze
-rw-r--r-- | librpc/idl/dcerpc.idl | 51 |
1 files changed, 50 insertions, 1 deletions
diff --git a/librpc/idl/dcerpc.idl b/librpc/idl/dcerpc.idl index adc1f4ebb5..7e88cc8bf3 100644 --- a/librpc/idl/dcerpc.idl +++ b/librpc/idl/dcerpc.idl @@ -95,6 +95,55 @@ interface dcerpc [flag(NDR_REMAINING)] DATA_BLOB stub_and_verifier; } dcerpc_response; + typedef [v1_enum] enum { + DERPC_NCA_S_COMM_FAILURE = 0x1C010001, + DERPC_NCA_S_OP_RNG_ERROR = 0x1C010002, + DERPC_NCA_S_UNKNOWN_IF = 0x1C010003, + DERPC_NCA_S_WRONG_BOOT_TIME = 0x1C010006, + DERPC_NCA_S_YOU_CRASHED = 0x1C010009, + DERPC_NCA_S_PROTO_ERROR = 0x1C01000B, + DERPC_NCA_S_OUT_ARGS_TOO_BIG = 0x1C010013, + DERPC_NCA_S_SERVER_TOO_BUSY = 0x1C010014, + DERPC_NCA_S_FAULT_STRING_TOO_LARGE = 0x1C010015, + DERPC_NCA_S_UNSUPPORTED_TYPE = 0x1C010017, + DERPC_NCA_S_FAULT_INT_DIV_BY_ZERO = 0x1C000001, + DERPC_NCA_S_FAULT_ADDR_ERROR = 0x1C000002, + DERPC_NCA_S_FAULT_FP_DIV_BY_ZERO = 0x1C000003, + DERPC_NCA_S_FAULT_FP_UNDERFLOW = 0x1C000004, + DERPC_NCA_S_FAULT_FP_OVERRFLOW = 0x1C000005, + DERPC_NCA_S_FAULT_INVALID_TAG = 0x1C000006, + DERPC_NCA_S_FAULT_INVALID_BOUND = 0x1C000007, + DERPC_NCA_S_FAULT_RPC_VERSION_MISMATCH = 0x1C000008, + DERPC_NCA_S_FAULT_UNSPEC_REJECT = 0x1C000009, + DERPC_NCA_S_FAULT_BAD_ACTID = 0x1C00000A, + DERPC_NCA_S_FAULT_WHO_ARE_YOU_FAILED = 0x1C00000B, + DERPC_NCA_S_FAULT_MANAGER_NOT_ENTERED = 0x1C00000C, + DERPC_NCA_S_FAULT_CANCEL = 0x1C00000D, + DERPC_NCA_S_FAULT_ILL_INST = 0x1C00000E, + DERPC_NCA_S_FAULT_FP_ERROR = 0x1C00000F, + DERPC_NCA_S_FAULT_INT_OVERFLOW = 0x1C000010, + DERPC_NCA_S_UNUSED_1C000011 = 0x1C000011, + DERPC_NCA_S_FAULT_UNSPEC = 0x1C000012, + DERPC_NCA_S_FAULT_REMOTE_COMM_FAILURE = 0x1C000013, + DERPC_NCA_S_FAULT_PIPE_EMPTY = 0x1C000014, + DERPC_NCA_S_FAULT_PIPE_CLOSED = 0x1C000015, + DERPC_NCA_S_FAULT_PIPE_ORDER = 0x1C000016, + DERPC_NCA_S_FAULT_PIPE_DISCIPLINE = 0x1C000017, + DERPC_NCA_S_FAULT_PIPE_COMM_ERROR = 0x1C000018, + DERPC_NCA_S_FAULT_PIPE_MEMORY = 0x1C000019, + DERPC_NCA_S_FAULT_CONTEXT_MISMATCH = 0x1C00001A, + DERPC_NCA_S_FAULT_REMOTE_NO_MEMORY = 0x1C00001B, + DERPC_NCA_S_INVALID_PRES_CONTEXT_ID = 0x1C00001C, + DERPC_NCA_S_UNSUPPORTED_AUTHN_LEVEL = 0x1C00001D, + DERPC_NCA_S_UNUSED_1C00001E = 0x1C00001E, + DERPC_NCA_S_INVALID_CHECKSUM = 0x1C00001F, + DERPC_NCA_S_INVALID_CRC = 0x1C000020, + DERPC_NCA_S_FAULT_USER_DEFINED = 0x1C000021, + DERPC_NCA_S_FAULT_TX_OPEN_FAILED = 0x1C000022, + DERPC_NCA_S_FAULT_CODESET_CONV_ERROR = 0x1C000023, + DERPC_NCA_S_FAULT_OBJECT_NOT_FOUND = 0x1C000024, + DERPC_NCA_S_FAULT_NO_CLIENT_STUB = 0x1C000025 + } dcerpc_nca_status; const int DCERPC_FAULT_OP_RNG_ERROR = 0x1c010002; const int DCERPC_FAULT_UNK_IF = 0x1c010003; @@ -113,7 +162,7 @@ interface dcerpc uint32 alloc_hint; uint16 context_id; uint8 cancel_count; - uint32 status; + dcerpc_nca_status status; [flag(NDR_REMAINING)] DATA_BLOB _pad; } dcerpc_fault; |