s4-auth Remove special case for account_sid from auth_serversupplied_info
commitfbe6d155bf177c610ee549cc534650b0f0700e8a
authorAndrew Bartlett <abartlet@samba.org>
Thu, 20 Jan 2011 12:39:37 +0000 (20 23:39 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 20 Jan 2011 22:44:05 +0000 (20 23:44 +0100)
tree58d82c2cadfc460ad8cf6a7e9b3ec6c162234ec7
parentcce5231b4d4ee9d4918004586bda9d499596d3d4
s4-auth Remove special case for account_sid from auth_serversupplied_info

This makes everything reference a server_info->sids list, which is now
a struct dom_sid *, not a struct dom_sid **.  This is in keeping with
the other sid lists in the security_token etc.

In the process, I also tidy up the talloc tree (move more structures
under their logical parents) and check for some possible overflows in
situations with a pathological number of sids.

Andrew Bartlett
14 files changed:
source4/auth/auth.h
source4/auth/auth_sam_reply.c
source4/auth/ntlm/auth_developer.c
source4/auth/ntlm/auth_server.c
source4/auth/ntlm/auth_unix.c
source4/auth/sam.c
source4/auth/session.c
source4/auth/system_session.c
source4/dsdb/common/util_groups.c
source4/dsdb/samdb/ldb_modules/operational.c
source4/dsdb/samdb/samdb.c
source4/smbd/service_named_pipe.c
source4/torture/auth/pac.c
source4/torture/rpc/remote_pac.c