r1677: security descriptors are always little-endian, regardless of DCE/RPC
authorAndrew Tridgell <tridge@samba.org>
Mon, 9 Aug 2004 21:03:38 +0000 (21:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:57:48 +0000 (12:57 -0500)
level byte order flags
(This used to be commit a9c46aefaf4b53329eaf1a8e0446e74c4d1c750c)

source4/librpc/idl/misc.idl

index 548deeb21bc72d251113bca95b207e90fb6fbdf5..d7163839d508a826b7a7121442ccfe0d99a2c9fe 100644 (file)
@@ -101,7 +101,7 @@ interface misc
        const int SEC_DESC_RM_CONTROL_VALID      = 0x4000;
        const int SEC_DESC_SELF_RELATIVE         = 0x8000;
 
-       typedef [public] struct {
+       typedef [public,flag(NDR_LITTLE_ENDIAN)] struct {
                uint8 revision;
                uint16 type;     /* SEC_DESC_xxxx flags */
                [relative] dom_sid *owner_sid;