1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-28 12:23:49 +03:00

netlogon.idl: make use of bitmap samr_GroupAttrs

metze
This commit is contained in:
Stefan Metzmacher
2008-01-24 10:24:41 +01:00
parent 3c5bae2249
commit 6d68161e67
2 changed files with 3 additions and 2 deletions

View 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;
}

View 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 {