1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

r11859: Another place where the SE_GROUP constants read better then "7".

Guenther
(This used to be commit 4c4b2096459ffa6ca0130f1259499933e3182d47)
This commit is contained in:
Günther Deschner 2005-11-22 14:41:40 +00:00 committed by Gerald (Jerry) Carter
parent 1b624b69bd
commit 4826f9d413

View File

@ -102,7 +102,7 @@ NTSTATUS nt_token_to_group_list(TALLOC_CTX *mem_ctx, const DOM_SID *domain_sid,
for (i=PRIMARY_GROUP_SID_INDEX; i < nt_token->num_sids; i++) {
if (sid_compare_domain(domain_sid, &nt_token->user_sids[i])==0) {
sid_peek_rid(&nt_token->user_sids[i], &(gids[*numgroups].g_rid));
gids[*numgroups].attr=7;
gids[*numgroups].attr= (SE_GROUP_MANDATORY|SE_GROUP_ENABLED_BY_DEFAULT|SE_GROUP_ENABLED);
(*numgroups)++;
}
}