summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr/dcerpc.h
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/gen_ndr/dcerpc.h
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/gen_ndr/dcerpc.h')
-rw-r--r--librpc/gen_ndr/dcerpc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/librpc/gen_ndr/dcerpc.h b/librpc/gen_ndr/dcerpc.h
index 5408cf4968..375a4e900d 100644
--- a/librpc/gen_ndr/dcerpc.h
+++ b/librpc/gen_ndr/dcerpc.h
@@ -51,7 +51,6 @@ struct dcerpc_bind {
uint32_t assoc_group_id;
uint8_t num_contexts;
struct dcerpc_ctx_list *ctx_list;
- DATA_BLOB _pad;/* [flag(LIBNDR_FLAG_ALIGN4)] */
DATA_BLOB auth_info;/* [flag(LIBNDR_FLAG_REMAINING)] */
};
@@ -181,17 +180,14 @@ struct dcerpc_auth {
}/* [public] */;
struct dcerpc_auth3 {
- uint32_t _pad;
DATA_BLOB auth_info;/* [flag(LIBNDR_FLAG_REMAINING)] */
}/* [public] */;
struct dcerpc_orphaned {
- uint32_t _pad;
DATA_BLOB auth_info;/* [flag(LIBNDR_FLAG_REMAINING)] */
}/* [public] */;
struct dcerpc_co_cancel {
- uint32_t _pad;
DATA_BLOB auth_info;/* [flag(LIBNDR_FLAG_REMAINING)] */
}/* [public] */;