diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-05-01 08:05:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:16:24 -0500 |
commit | bb6e2059ee0b07d15ef3f924a137321d5fd6aa0f (patch) | |
tree | 44a80422a0b93012d5908b4839a097c2de22a628 /source4/auth | |
parent | 14b73135430d7636e418746529ba2d38f8e9de6f (diff) | |
download | samba-bb6e2059ee0b07d15ef3f924a137321d5fd6aa0f.tar.gz samba-bb6e2059ee0b07d15ef3f924a137321d5fd6aa0f.tar.bz2 samba-bb6e2059ee0b07d15ef3f924a137321d5fd6aa0f.zip |
r6544: Use common structures between SAMR, NETLGON and the Krb5 PAC.
Fill out the group list for the SamLogon reply, so clients get the
supplementary groups.
Andrew Bartlett
(This used to be commit d9c31e60a72c345e3a23a7eb742906bcfc18721c)
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/auth_util.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/auth/auth_util.c b/source4/auth/auth_util.c index 791d12fae6..ebd0b74227 100644 --- a/source4/auth/auth_util.c +++ b/source4/auth/auth_util.c @@ -338,16 +338,16 @@ NTSTATUS make_server_info_netlogon_validation(TALLOC_CTX *mem_ctx, server_info->primary_group_sid = dom_sid_add_rid(server_info, base->domain_sid, base->primary_gid); NT_STATUS_HAVE_NO_MEMORY(server_info->primary_group_sid); - server_info->n_domain_groups = base->group_count; - if (base->group_count) { - server_info->domain_groups = talloc_array(server_info, struct dom_sid*, base->group_count); + server_info->n_domain_groups = base->groups.count; + if (base->groups.count) { + server_info->domain_groups = talloc_array(server_info, struct dom_sid*, base->groups.count); NT_STATUS_HAVE_NO_MEMORY(server_info->domain_groups); } else { server_info->domain_groups = NULL; } - for (i = 0; i < base->group_count; i++) { - server_info->domain_groups[i] = dom_sid_add_rid(server_info, base->domain_sid, base->groupids[i].rid); + for (i = 0; i < base->groups.count; i++) { + server_info->domain_groups[i] = dom_sid_add_rid(server_info, base->domain_sid, base->groups.rids[i].rid); NT_STATUS_HAVE_NO_MEMORY(server_info->domain_groups[i]); } |