diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index bd82a3454e..1a94a1ed8f 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -5541,8 +5541,11 @@ NTSTATUS _samr_QueryGroupMember(struct pipes_struct *p, attr = NULL; } - for (i=0; i<num_members; i++) - attr[i] = SID_NAME_USER; + for (i=0; i<num_members; i++) { + attr[i] = SE_GROUP_MANDATORY | + SE_GROUP_ENABLED_BY_DEFAULT | + SE_GROUP_ENABLED; + } rids->count = num_members; rids->types = attr; |