diff options
Diffstat (limited to 'source4/librpc/idl/dcerpc.idl')
-rw-r--r-- | source4/librpc/idl/dcerpc.idl | 40 |
1 files changed, 24 insertions, 16 deletions
diff --git a/source4/librpc/idl/dcerpc.idl b/source4/librpc/idl/dcerpc.idl index c864bd4b39..fcb0be4639 100644 --- a/source4/librpc/idl/dcerpc.idl +++ b/source4/librpc/idl/dcerpc.idl @@ -118,26 +118,34 @@ interface dcerpc } dcerpc_fault; /* the auth types we know about */ - const uint8 DCERPC_AUTH_TYPE_NONE = 0; - /* this seems to be not krb5! */ - const uint8 DCERPC_AUTH_TYPE_KRB5_1 = 1; - const uint8 DCERPC_AUTH_TYPE_SPNEGO = 9; - const uint8 DCERPC_AUTH_TYPE_NTLMSSP = 10; - const uint8 DCERPC_AUTH_TYPE_KRB5 = 16; - const uint8 DCERPC_AUTH_TYPE_SCHANNEL = 68; - const uint8 DCERPC_AUTH_TYPE_MSMQ = 100; + typedef [enum8bit] enum { + DCERPC_AUTH_TYPE_NONE = 0, + /* this seems to be not krb5! */ + DCERPC_AUTH_TYPE_KRB5_1 = 1, + DCERPC_AUTH_TYPE_SPNEGO = 9, + DCERPC_AUTH_TYPE_NTLMSSP = 10, + DCERPC_AUTH_TYPE_KRB5 = 16, + DCERPC_AUTH_TYPE_DPA = 17, + DCERPC_AUTH_TYPE_MSN = 18, + DCERPC_AUTH_TYPE_DIGEST = 21, + DCERPC_AUTH_TYPE_SCHANNEL = 68, + DCERPC_AUTH_TYPE_MSMQ = 100 + } dcerpc_AuthType; + + typedef [enum8bit] enum { + DCERPC_AUTH_LEVEL_NONE = 1, + DCERPC_AUTH_LEVEL_CONNECT = 2, + DCERPC_AUTH_LEVEL_CALL = 3, + DCERPC_AUTH_LEVEL_PACKET = 4, + DCERPC_AUTH_LEVEL_INTEGRITY = 5, + DCERPC_AUTH_LEVEL_PRIVACY = 6 + } dcerpc_AuthLevel; const uint8 DCERPC_AUTH_LEVEL_DEFAULT = DCERPC_AUTH_LEVEL_CONNECT; - const uint8 DCERPC_AUTH_LEVEL_NONE = 1; - const uint8 DCERPC_AUTH_LEVEL_CONNECT = 2; - const uint8 DCERPC_AUTH_LEVEL_CALL = 3; - const uint8 DCERPC_AUTH_LEVEL_PACKET = 4; - const uint8 DCERPC_AUTH_LEVEL_INTEGRITY = 5; - const uint8 DCERPC_AUTH_LEVEL_PRIVACY = 6; typedef [public] struct { - uint8 auth_type; - uint8 auth_level; + dcerpc_AuthType auth_type; + dcerpc_AuthLevel auth_level; uint8 auth_pad_length; uint8 auth_reserved; uint32 auth_context_id; |