1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

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)
This commit is contained in:
Andrew Bartlett 2008-05-21 10:23:02 +10:00
parent 58375fdff0
commit 2f773ff347

View File

@ -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;