drsblobs.idl: improve idl for ForestTrustInfoRecord*
authorStefan Metzmacher <metze@samba.org>
Wed, 4 Feb 2015 18:00:44 +0000 (18:00 +0000)
committerGünther Deschner <gd@samba.org>
Thu, 12 Mar 2015 16:13:44 +0000 (17:13 +0100)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
librpc/idl/drsblobs.idl

index 5021ab0cc0a52d34da17731a97a2dae30a2c837f..499febb069f842c3db006da04bebe03625ec41c3 100644 (file)
@@ -632,17 +632,17 @@ interface drsblobs {
                [default] ForestTrustDataBinaryData data;
        } ForestTrustData;
 
-       /* same as lsa_ForestTrustRecordType */
+       /* same as lsa_ForestTrustRecordType, but only 8 bit */
        typedef [enum8bit] enum {
-               FOREST_TRUST_TOP_LEVEL_NAME = 0,
-               FOREST_TRUST_TOP_LEVEL_NAME_EX = 1,
-               FOREST_TRUST_DOMAIN_INFO = 2
+               FOREST_TRUST_TOP_LEVEL_NAME = LSA_FOREST_TRUST_TOP_LEVEL_NAME,
+               FOREST_TRUST_TOP_LEVEL_NAME_EX = LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX,
+               FOREST_TRUST_DOMAIN_INFO = LSA_FOREST_TRUST_DOMAIN_INFO
        } ForestTrustInfoRecordType;
 
        /* meaning of flags depends on record type and values are
           the same as in lsa.idl, see collision record types */
        typedef [public,gensize,flag(NDR_NOALIGN)] struct {
-               uint32 flags;
+               lsa_ForestTrustRecordFlags flags;
                NTTIME timestamp;
                ForestTrustInfoRecordType type;
                [switch_is(type)] ForestTrustData data;