summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-21 10:23:02 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-21 10:23:02 +1000
commit2f773ff347ec2828f94f4980a3aedbde37009737 (patch)
tree93cd0b2d9e75cedd860d67c013cb746604ebf0dd /source4/librpc
parent58375fdff0af86b366c3881511e1002412076cd2 (diff)
downloadsamba-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)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/nbt.idl5
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;