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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user