r13633: Adding more SE_GROUP bits and make it a bitmask as well.
authorGünther Deschner <gd@samba.org>
Wed, 22 Feb 2006 14:05:49 +0000 (14:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:52:03 +0000 (13:52 -0500)
Guenther

source/librpc/idl/samr.idl

index 0ede613c1a70b53246fa6fbf02e62f753551d019..dfa856f38586723dbb93c524778ee262978f241a 100644 (file)
                );
 
        /* Group attributes */
-       const int SE_GROUP_MANDATORY = 0x0001;
-       const int SE_GROUP_ENABLED_BY_DEFAULT = 0x0002;
-       const int SE_GROUP_ENABLED = 0x0004;
+       typedef [public,bitmap32bit] bitmap {
+               SE_GROUP_MANDATORY              = 0x00000001,
+               SE_GROUP_ENABLED_BY_DEFAULT     = 0x00000002,
+               SE_GROUP_ENABLED                = 0x00000004,
+               SE_GROUP_OWNER                  = 0x00000008,
+               SE_GROUP_USE_FOR_DENY_ONLY      = 0x00000010,
+               SE_GROUP_RESOURCE               = 0x20000000,
+               SE_GROUP_LOGON_ID               = 0xC0000000
+       } samr_GroupAttrs;
 
        /************************/
        /* Function    0x14     */
 
        typedef struct {
                lsa_String name;
-               uint32 attributes;
+               samr_GroupAttrs attributes;
                uint32 num_members;
                lsa_String description;
        } samr_GroupInfoAll;
 
        typedef [public] struct {
                uint32 rid;
-               uint32 attributes;
+               samr_GroupAttrs attributes;
        } samr_RidWithAttribute;
 
        typedef [public] struct {