svn commit: samba r12940 - in trunk/source: auth include lib
nsswitch passdb rpc_parse rpc_server smbd utils
vlendec at samba.org
vlendec at samba.org
Sat Jan 14 20:44:02 GMT 2006
Author: vlendec
Date: 2006-01-14 20:43:59 +0000 (Sat, 14 Jan 2006)
New Revision: 12940
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12940
Log:
Before this gets too large:
Separate creating the token and calculating the unix groups from
make_server_info. This is now done in create_local_token from sesssetup.c and
auth_ntlmssp.c. _net_sam_logon was adapted to work with a list of SIDs instead
of the full auth_serversupplied_info.
In 3_0 as well as the code commited with this patch we have a bug: If we are
passing through a trusted login we throw away the "other sids" (ie
sidHistory), we never fill the info3 we hand to the client with "other
sids". This needs fixing, but should be doable. Not now, this is large enough
already.
A few more:
* talloc'ify the NT_USER_TOKEN and auth_serversupplied_info
* pdb_enum_alias_memberships now returns NTSTATUS instead of BOOL
* pdb_enum_group_memberships takes a talloc context
* Fix the ldapsam:trusted code to match the new group mapping usage
This very obviously needs inspection & testing.
Volker
Modified:
trunk/source/auth/auth_compat.c
trunk/source/auth/auth_ntlmssp.c
trunk/source/auth/auth_sam.c
trunk/source/auth/auth_util.c
trunk/source/include/auth.h
trunk/source/include/passdb.h
trunk/source/lib/system_smbd.c
trunk/source/nsswitch/winbindd_passdb.c
trunk/source/passdb/pdb_interface.c
trunk/source/passdb/pdb_ldap.c
trunk/source/rpc_parse/parse_net.c
trunk/source/rpc_server/srv_netlog_nt.c
trunk/source/rpc_server/srv_pipe.c
trunk/source/rpc_server/srv_pipe_hnd.c
trunk/source/rpc_server/srv_samr_nt.c
trunk/source/smbd/conn.c
trunk/source/smbd/lanman.c
trunk/source/smbd/password.c
trunk/source/smbd/sec_ctx.c
trunk/source/smbd/sesssetup.c
trunk/source/smbd/uid.c
trunk/source/utils/net_groupmap.c
Changeset:
Sorry, the patch is too large (1758 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12940
More information about the samba-cvs
mailing list