Re-add alignment removed by metze in 0e2f6d481b3e35ed392b2b3340b244c77593819c
authorAndrew Bartlett <abartlet@samba.org>
Wed, 21 May 2008 00:23:02 +0000 (10:23 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 21 May 2008 00:23:02 +0000 (10:23 +1000)
This manual alignment is required, because the structure is marked as
unaligned.

Andrew Bartlett
(This used to be commit ef5d1c8d320d45b78a1e709964eaada4f5acda59)

source4/librpc/idl/nbt.idl

index e6af2cd035b8d38532e6311ceb40f6b43f61b5e0..b82c19ca0b26463c974fe07fd5e10b9bece2667d 100644 (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;