summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-30 07:12:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 15:07:32 -0500
commit9e59dc7031c9a7bcab581501b05adb865b41d9cd (patch)
treeef63ac89f6a0ecc79bf568570823c6d7c0683bb9 /source4/librpc/idl
parent60a1046c5c5783799bd64fe18e03534670f83d82 (diff)
downloadsamba-9e59dc7031c9a7bcab581501b05adb865b41d9cd.tar.gz
samba-9e59dc7031c9a7bcab581501b05adb865b41d9cd.tar.bz2
samba-9e59dc7031c9a7bcab581501b05adb865b41d9cd.zip
r25433: - dcerpc_AuthType is a 8bit enum not 32bit
- also add dcerpc_AuthLevel enum metze (This used to be commit efb2416939d5def030e56b0497bab5345426840f)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/dcerpc.idl21
1 files changed, 12 insertions, 9 deletions
diff --git a/source4/librpc/idl/dcerpc.idl b/source4/librpc/idl/dcerpc.idl
index 350bf0a404..fcb0be4639 100644
--- a/source4/librpc/idl/dcerpc.idl
+++ b/source4/librpc/idl/dcerpc.idl
@@ -118,7 +118,7 @@ interface dcerpc
} dcerpc_fault;
/* the auth types we know about */
- typedef [v1_enum] enum {
+ typedef [enum8bit] enum {
DCERPC_AUTH_TYPE_NONE = 0,
/* this seems to be not krb5! */
DCERPC_AUTH_TYPE_KRB5_1 = 1,
@@ -132,17 +132,20 @@ interface dcerpc
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;