samba-cvs.cvs
[Top] [All Lists]

svn commit: samba r13633 - in branches/SAMBA_4_0/source/librpc/idl: .

Subject: svn commit: samba r13633 - in branches/SAMBA_4_0/source/librpc/idl: .
From:
Date: Wed, 22 Feb 2006 14:05:50 +0000 GMT
Author: gd
Date: 2006-02-22 14:05:49 +0000 (Wed, 22 Feb 2006)
New Revision: 13633

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=13633

Log:
Adding more SE_GROUP bits and make it a bitmask as well.

Guenther

Modified:
   branches/SAMBA_4_0/source/librpc/idl/samr.idl


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/samr.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/samr.idl       2006-02-22 13:56:46 UTC 
(rev 13632)
+++ branches/SAMBA_4_0/source/librpc/idl/samr.idl       2006-02-22 14:05:49 UTC 
(rev 13633)
@@ -364,16 +364,22 @@
                );
 
        /* 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;
@@ -826,7 +832,7 @@
 
        typedef [public] struct {
                uint32 rid;
-               uint32 attributes;
+               samr_GroupAttrs attributes;
        } samr_RidWithAttribute;
 
        typedef [public] struct {

<Prev in Thread] Current Thread [Next in Thread>
  • svn commit: samba r13633 - in branches/SAMBA_4_0/source/librpc/idl: ., gd <=