s4-auth Rework auth subsystem to remove struct auth_serversupplied_info
authorAndrew Bartlett <abartlet@samba.org>
Tue, 8 Feb 2011 05:53:13 +0000 (16:53 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 9 Feb 2011 00:11:06 +0000 (01:11 +0100)
commita2ce53c1f5301ffcf990dbab837c328ea22739b6
tree52dde7c4bb16c0d885b8691a4c5c87f8213b0599
parentf1c0e9532d8e3fb0d8942e4d4e1a122429266b16
s4-auth Rework auth subsystem to remove struct auth_serversupplied_info

This changes auth_serversupplied_info into the IDL-defined struct
auth_user_info_dc.  This then in turn contains a struct
auth_user_info, which is the only part of the structure that is
mainted into the struct session_info.

The idea here is to avoid keeping the incomplete results of the
authentication (such as session keys, lists of SID memberships etc) in
a namespace where it may be confused for the finalised results.

Andrew Barltett
35 files changed:
source4/auth/auth.h
source4/auth/auth_sam_reply.c
source4/auth/gensec/gensec.c
source4/auth/gensec/gensec.h
source4/auth/gensec/gensec_gssapi.c
source4/auth/gensec/gensec_krb5.c
source4/auth/kerberos/kerberos.h
source4/auth/kerberos/kerberos_pac.c
source4/auth/ntlm/auth.c
source4/auth/ntlm/auth_anonymous.c
source4/auth/ntlm/auth_developer.c
source4/auth/ntlm/auth_sam.c
source4/auth/ntlm/auth_server.c
source4/auth/ntlm/auth_simple.c
source4/auth/ntlm/auth_unix.c
source4/auth/ntlm/auth_winbind.c
source4/auth/ntlmssp/ntlmssp.h
source4/auth/ntlmssp/ntlmssp_server.c
source4/auth/sam.c
source4/auth/session.c
source4/auth/session.h
source4/auth/system_session.c
source4/dsdb/samdb/ldb_modules/acl_util.c
source4/kdc/kpasswdd.c
source4/kdc/pac-glue.c
source4/ntvfs/ipc/vfs_ipc.c
source4/rpc_server/lsa/dcesrv_lsa.c
source4/rpc_server/netlogon/dcerpc_netlogon.c
source4/samba_tool/gpo.c
source4/smb_server/management.c
source4/smb_server/smb/sesssetup.c
source4/smbd/service_named_pipe.c
source4/torture/auth/pac.c
source4/torture/rpc/remote_pac.c
source4/utils/ntlm_auth.c