dcerpc.idl: make WERROR RPC faults available in ndr_print output
authorStefan Metzmacher <metze@samba.org>
Fri, 17 Jul 2015 01:35:19 +0000 (03:35 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 10 Mar 2016 05:52:26 +0000 (06:52 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
librpc/idl/dcerpc.idl

index 103669346309d4918473377395ad3df6b02d6b97..f7bf59542b2b3a1d056c07abf619f555dc2de140 100644 (file)
@@ -197,18 +197,21 @@ interface dcerpc
                DCERPC_NCA_S_FAULT_TX_OPEN_FAILED       = 0x1C000022,
                DCERPC_NCA_S_FAULT_CODESET_CONV_ERROR   = 0x1C000023,
                DCERPC_NCA_S_FAULT_OBJECT_NOT_FOUND     = 0x1C000024,
-               DCERPC_NCA_S_FAULT_NO_CLIENT_STUB       = 0x1C000025
+               DCERPC_NCA_S_FAULT_NO_CLIENT_STUB       = 0x1C000025,
+               DCERPC_FAULT_ACCESS_DENIED              = 0x00000005,
+               DCERPC_FAULT_NO_CALL_ACTIVE             = 0x000006bd,
+               DCERPC_FAULT_CANT_PERFORM               = 0x000006d8,
+               DCERPC_FAULT_OUT_OF_RESOURCES           = 0x000006d9,
+               DCERPC_FAULT_BAD_STUB_DATA              = 0x000006f7,
+               DCERPC_FAULT_SEC_PKG_ERROR              = 0x00000721
        } dcerpc_nca_status;
 
        const int DCERPC_FAULT_OP_RNG_ERROR       = DCERPC_NCA_S_OP_RNG_ERROR;
        const int DCERPC_FAULT_UNK_IF             = DCERPC_NCA_S_UNKNOWN_IF;
-       const int DCERPC_FAULT_NDR                = 0x000006f7;
+       const int DCERPC_FAULT_NDR                = DCERPC_FAULT_BAD_STUB_DATA;
        const int DCERPC_FAULT_INVALID_TAG        = DCERPC_NCA_S_FAULT_INVALID_TAG;
        const int DCERPC_FAULT_CONTEXT_MISMATCH   = DCERPC_NCA_S_FAULT_CONTEXT_MISMATCH;
        const int DCERPC_FAULT_OTHER              = 0x00000001;
-       const int DCERPC_FAULT_ACCESS_DENIED      = 0x00000005;
-       const int DCERPC_FAULT_CANT_PERFORM       = 0x000006d8;
-       const int DCERPC_FAULT_SEC_PKG_ERROR      = 0x00000721;
 
        /* we return this fault when we haven't yet run the test
           to see what fault w2k3 returns in this case */