summaryrefslogtreecommitdiffstats
path: root/source4/librpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-02-22 14:05:49 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:03 -0500
commitecdfe60bcafc60dc1824c72a194d6242fb54ab34 (patch)
tree43068a7d7da0bd9856f391eca9b40008bc1eea8b /source4/librpc
parentd8d2a3c86f71cf73807e57277092c12015d498bd (diff)
downloadsamba-ecdfe60bcafc60dc1824c72a194d6242fb54ab34.tar.gz
samba-ecdfe60bcafc60dc1824c72a194d6242fb54ab34.tar.xz
samba-ecdfe60bcafc60dc1824c72a194d6242fb54ab34.zip
r13633: Adding more SE_GROUP bits and make it a bitmask as well.
Guenther (This used to be commit 8e939896822e9727919a49638c818a7d7faabb78)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/samr.idl16
1 files changed, 11 insertions, 5 deletions
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index 0ede613c1a7..dfa856f3858 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -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 {