dcerpc.idl: make use of DCERPC_NCA_S_* constants for the legacy DCERPC_FAULT_* codes
authorStefan Metzmacher <metze@samba.org>
Wed, 19 Mar 2014 13:07:36 +0000 (14:07 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 28 Mar 2014 07:34:24 +0000 (08:34 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
librpc/idl/dcerpc.idl

index 1ffa784b24c66260a8aba970e91f2d34035d6fe6..631ad7ea7d77cb8b2041429dc523c7ea8aa7e0c1 100644 (file)
@@ -200,11 +200,11 @@ interface dcerpc
                DCERPC_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;
+       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_INVALID_TAG        = 0x1c000006;
-       const int DCERPC_FAULT_CONTEXT_MISMATCH   = 0x1c00001a;
+       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;