diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-05-21 10:23:02 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-05-21 10:23:02 +1000 |
commit | 2f773ff347ec2828f94f4980a3aedbde37009737 (patch) | |
tree | 93cd0b2d9e75cedd860d67c013cb746604ebf0dd | |
parent | 58375fdff0af86b366c3881511e1002412076cd2 (diff) | |
download | samba-2f773ff347ec2828f94f4980a3aedbde37009737.tar.gz samba-2f773ff347ec2828f94f4980a3aedbde37009737.tar.bz2 samba-2f773ff347ec2828f94f4980a3aedbde37009737.zip |
Re-add alignment removed by metze in 0e2f6d481b3e35ed392b2b3340b244c77593819c
This manual alignment is required, because the structure is marked as
unaligned.
Andrew Bartlett
(This used to be commit ef5d1c8d320d45b78a1e709964eaada4f5acda59)
-rw-r--r-- | source4/librpc/idl/nbt.idl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/librpc/idl/nbt.idl b/source4/librpc/idl/nbt.idl index e6af2cd035..b82c19ca0b 100644 --- a/source4/librpc/idl/nbt.idl +++ b/source4/librpc/idl/nbt.idl @@ -398,7 +398,10 @@ interface nbt astring mailslot_name; samr_AcctFlags acct_control; [value(ndr_size_dom_sid0(&sid, ndr->flags))] uint32 sid_size; - /* Must not be present (ie, zero size, in request to \MAILSLOT\NET\NTLOGON */ + /* The manual alignment is required because this + * structure is marked flag(NDR_NOALIGN) via the + * nbt_netlogon_packet below */ + [flag(NDR_ALIGN4)] DATA_BLOB _pad; [subcontext(0),subcontext_size(sid_size)] dom_sid0 sid; netlogon_nt_version_flags nt_version; uint16 lmnt_token; |