netlogon.idl: make use of bitmap samr_GroupAttrs
authorStefan Metzmacher <metze@samba.org>
Thu, 24 Jan 2008 09:24:41 +0000 (10:24 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 24 Jan 2008 09:24:41 +0000 (10:24 +0100)
metze
(This used to be commit 6d68161e676d381600c77c3f862bd7e013968724)

source4/auth/auth_sam_reply.c
source4/librpc/idl/netlogon.idl

index 6ab220498dc8d68f59efd93f1743fbc713d593b9..ea6f0a1f60eb338e9267e5a781c53d2ea1e1609f 100644 (file)
@@ -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;
        }
index 3ca65471060994a891c1678d77db1bd3b6598ca7..63e7aaf553e8208624e3634db6ca0376321f3320 100644 (file)
@@ -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 {