summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-10-02 04:52:50 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-10-02 09:11:37 +1000
commit6488d5bc0b585d91b185ae37315293123c4b1001 (patch)
treed5f3e3eed4b6520c648162f1f708ce9e77b779d2 /source4/auth
parenta68f4476f780df4a87a99371b49c5e38b0fcb4d7 (diff)
downloadsamba-6488d5bc0b585d91b185ae37315293123c4b1001.tar.gz
samba-6488d5bc0b585d91b185ae37315293123c4b1001.tar.bz2
samba-6488d5bc0b585d91b185ae37315293123c4b1001.zip
s4-auth Allocate domain SIDs under the sids array, not server_info
Andrew Bartlett
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_sam_reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/auth/auth_sam_reply.c b/source4/auth/auth_sam_reply.c
index d7792e5559..b234f87215 100644
--- a/source4/auth/auth_sam_reply.c
+++ b/source4/auth/auth_sam_reply.c
@@ -208,7 +208,7 @@ NTSTATUS make_server_info_netlogon_validation(TALLOC_CTX *mem_ctx,
}
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);
+ server_info->domain_groups[i] = dom_sid_add_rid(server_info->domain_groups, base->domain_sid, base->groups.rids[i].rid);
NT_STATUS_HAVE_NO_MEMORY(server_info->domain_groups[i]);
}