fix a typo
[tprouty/samba.git] / source / include / rpc_dce.h
index e718d92271c70042208d1384053a24f097b829e6..ad5fb6810b5ca0f4e04830d0ab6be720ef7957ae 100644 (file)
@@ -82,6 +82,16 @@ enum RPC_PKT_TYPE {
 #define RPC_PIPE_AUTH_SEAL_LEVEL 0x6
 #endif
 
+#define DCERPC_FAULT_OP_RNG_ERROR      0x1c010002
+#define DCERPC_FAULT_UNK_IF            0x1c010003
+#define DCERPC_FAULT_INVALID_TAG       0x1c000006
+#define DCERPC_FAULT_CONTEXT_MISMATCH  0x1c00001a
+#define DCERPC_FAULT_OTHER             0x00000001
+#define DCERPC_FAULT_ACCESS_DENIED     0x00000005
+#define DCERPC_FAULT_CANT_PERFORM      0x000006d8
+#define DCERPC_FAULT_NDR               0x000006f7
+
+
 /* Netlogon schannel auth type and level */
 #define SCHANNEL_SIGN_SIGNATURE { 0x77, 0x00, 0xff, 0xff, 0xff, 0xff, 0x00, 0x00 }
 #define SCHANNEL_SEAL_SIGNATURE { 0x77, 0x00, 0x7a, 0x00, 0xff, 0xff, 0x00, 0x00 }
@@ -90,13 +100,18 @@ enum RPC_PKT_TYPE {
 #define RPC_AUTH_SCHANNEL_SIGN_ONLY_CHK_LEN    0x18
 
 
+#define NETLOGON_NEG_ARCFOUR                   0x00000004
+#define NETLOGON_NEG_128BIT                    0x00004000
+#define NETLOGON_NEG_SCHANNEL                  0x40000000
+
 /* The 7 here seems to be required to get Win2k not to downgrade us
    to NT4.  Actually, anything other than 1ff would seem to do... */
 #define NETLOGON_NEG_AUTH2_FLAGS 0x000701ff
-#define NETLOGON_NEG_SCHANNEL                  0x40000000
 #define NETLOGON_NEG_DOMAIN_TRUST_ACCOUNT      0x2010b000
 
+/* these are the flags that ADS clients use */
+#define NETLOGON_NEG_AUTH2_ADS_FLAGS 0x600fffff
+
 enum schannel_direction {
        SENDER_IS_INITIATOR,
        SENDER_IS_ACCEPTOR
@@ -111,7 +126,7 @@ enum schannel_direction {
 
 /* RPC_IFACE */
 typedef struct rpc_iface_info {
-       struct uuid uuid;  /* 16 bytes of rpc interface identification */
+       struct GUID uuid;  /* 16 bytes of rpc interface identification */
        uint32 version;    /* the interface version number */
 } RPC_IFACE;