diff options
author | Günther Deschner <gd@samba.org> | 2005-11-22 14:41:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:31 -0500 |
commit | 4826f9d41322649111be7495ede60a8939ad2995 (patch) | |
tree | f1350b8e4661ace91b8dc6f28e2630ab7ecf8d91 /source3 | |
parent | 1b624b69bda1eb94a0aa511eba3df0b9549a3000 (diff) | |
download | samba-4826f9d41322649111be7495ede60a8939ad2995.tar.gz samba-4826f9d41322649111be7495ede60a8939ad2995.tar.bz2 samba-4826f9d41322649111be7495ede60a8939ad2995.zip |
r11859: Another place where the SE_GROUP constants read better then "7".
Guenther
(This used to be commit 4c4b2096459ffa6ca0130f1259499933e3182d47)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_util.c b/source3/rpc_server/srv_util.c index 79d5d06d23..3666d47478 100644 --- a/source3/rpc_server/srv_util.c +++ b/source3/rpc_server/srv_util.c @@ -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)++; } } |