summaryrefslogtreecommitdiff
path: root/librpc/idl/dcerpc.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-02-13 15:32:23 +1100
committerAndrew Tridgell <tridge@samba.org>2010-02-13 23:12:29 +1100
commitda86f08605f8ec9fa6d3e1c122ec47309deef994 (patch)
tree52e249167a67d50ce6c76d4d38128d4fd25461c5 /librpc/idl/dcerpc.idl
parent3ae75a424890fdeddd12535c9330186ec2fcd899 (diff)
downloadsamba-da86f08605f8ec9fa6d3e1c122ec47309deef994.tar.gz
samba-da86f08605f8ec9fa6d3e1c122ec47309deef994.tar.bz2
samba-da86f08605f8ec9fa6d3e1c122ec47309deef994.zip
s4-rpc: be more careful about DCERPC auth padding
Cope with a wider range of auth padding in dcerpc bind_ack and alter_context packets. We now use a helper function that calculates the right auth padding.
Diffstat (limited to 'librpc/idl/dcerpc.idl')
-rw-r--r--librpc/idl/dcerpc.idl4
1 files changed, 0 insertions, 4 deletions
diff --git a/librpc/idl/dcerpc.idl b/librpc/idl/dcerpc.idl
index 3ec416d5c6..ccf5e5de68 100644
--- a/librpc/idl/dcerpc.idl
+++ b/librpc/idl/dcerpc.idl
@@ -25,7 +25,6 @@ interface dcerpc
uint32 assoc_group_id;
uint8 num_contexts;
dcerpc_ctx_list ctx_list[num_contexts];
- [flag(NDR_ALIGN4)] DATA_BLOB _pad;
[flag(NDR_REMAINING)] DATA_BLOB auth_info;
} dcerpc_bind;
@@ -156,17 +155,14 @@ interface dcerpc
const uint8 DCERPC_AUTH_TRAILER_LENGTH = 8;
typedef [public] struct {
- uint32 _pad;
[flag(NDR_REMAINING)] DATA_BLOB auth_info;
} dcerpc_auth3;
typedef [public] struct {
- uint32 _pad;
[flag(NDR_REMAINING)] DATA_BLOB auth_info;
} dcerpc_orphaned;
typedef [public] struct {
- uint32 _pad;
[flag(NDR_REMAINING)] DATA_BLOB auth_info;
} dcerpc_co_cancel;