summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-01-24 10:24:41 +0100
committerStefan Metzmacher <metze@samba.org>2008-01-24 10:24:41 +0100
commita1c7b35bba183a7f274f8754a63d7d474f9f7def (patch)
treee5c5872f675d1fe15ea5c0dcbe243c3118bac408 /source4
parentd408be05d6e68d4e7f81cd48a6e758768031eb0f (diff)
downloadsamba-a1c7b35bba183a7f274f8754a63d7d474f9f7def.tar.gz
samba-a1c7b35bba183a7f274f8754a63d7d474f9f7def.tar.bz2
samba-a1c7b35bba183a7f274f8754a63d7d474f9f7def.zip
netlogon.idl: make use of bitmap samr_GroupAttrs
metze (This used to be commit 6d68161e676d381600c77c3f862bd7e013968724)
Diffstat (limited to 'source4')
-rw-r--r--source4/auth/auth_sam_reply.c2
-rw-r--r--source4/librpc/idl/netlogon.idl3
2 files changed, 3 insertions, 2 deletions
diff --git a/source4/auth/auth_sam_reply.c b/source4/auth/auth_sam_reply.c
index 6ab220498d..ea6f0a1f60 100644
--- a/source4/auth/auth_sam_reply.c
+++ b/source4/auth/auth_sam_reply.c
@@ -132,7 +132,7 @@ NTSTATUS auth_convert_server_info_saminfo3(TALLOC_CTX *mem_ctx,
continue;
}
sam3->sids[sam3->sidcount].sid = talloc_reference(sam3->sids,server_info->domain_groups[i]);
- sam3->sids[sam3->sidcount].attribute =
+ sam3->sids[sam3->sidcount].attributes =
SE_GROUP_MANDATORY | SE_GROUP_ENABLED_BY_DEFAULT | SE_GROUP_ENABLED;
sam3->sidcount += 1;
}
diff --git a/source4/librpc/idl/netlogon.idl b/source4/librpc/idl/netlogon.idl
index 3ca6547106..63e7aaf553 100644
--- a/source4/librpc/idl/netlogon.idl
+++ b/source4/librpc/idl/netlogon.idl
@@ -19,6 +19,7 @@ import "lsa.idl", "samr.idl", "security.idl", "nbt.idl";
interface netlogon
{
typedef bitmap samr_AcctFlags samr_AcctFlags;
+ typedef bitmap samr_GroupAttrs samr_GroupAttrs;
/*****************/
/* Function 0x00 */
@@ -182,7 +183,7 @@ interface netlogon
typedef struct {
dom_sid2 *sid;
- uint32 attribute;
+ samr_GroupAttrs attributes;
} netr_SidAttr;
typedef [public] struct {