summaryrefslogtreecommitdiff
path: root/source3/rpc_server/rpc_ncacn_np.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-30/+30
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-10s3-auth Rename cryptic 'ptok' to security_tokenAndrew Bartlett1-1/+1
This will allow the auth_serversupplied_info struct to be migrated to auth_session_info easier. Adnrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-10libcli/named_pipe_auth Change from 'info3' to auth_session_info_transportAndrew Bartlett1-16/+29
This changes the structure being used to convey the current user state from the netlogon-derived 'netr_SamInfo3' structure to a purpose-built structure that matches the internals of the Samba auth subsystem and contains the final group list, as well as the final privilege set and session key. These previously had to be re-created on the server side of the pipe each time. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-09s3:rpc_server: create binding_handle in rpc_pipe_open_external()Stefan Metzmacher1-1/+9
metze Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 12:30:50 CET 2011 on sn-devel-104
2011-02-07s3:rpc_server: fix make_external_rpc_pipe_p() and create read and write queuesStefan Metzmacher1-0/+12
They are needed for the callers in rpc_server/srv_pipe_hnd.c. It seems I only looked at the caller in rpc_server/rpc_ncacn_np.c when I've done the change of commit e55426fe7926ae6f8afe5fa6cfc009e0c3b54e38. Thanks Volker for finding this :-) metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 7 11:40:20 CET 2011 on sn-devel-104
2010-12-15s3:rpc_client: let rpc_transport_tstream_init() create read and write queueStefan Metzmacher1-15/+1
metze
2010-10-15s3-rpc_server: Normalize rpc_pipe_open_interface pipe name.Andreas Schneider1-1/+6
Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Fri Oct 15 12:15:45 UTC 2010 on sn-devel-104
2010-10-15s3-rpc_server: Make auth_serversupplied_info const.Andreas Schneider1-4/+4
2010-10-01s3-dcerpc: no point for printing NDR twice for internal pipes in log level 10.Günther Deschner1-1/+1
Guenther
2010-09-23s3-dcerpc: remove auth_data_free_funcSimo Sorce1-3/+1
Everything is using a talloc pointer now, no need to have an accessor function to free data anymore. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-15s3-rpc_server: Use talloc_stackframe.Andreas Schneider1-14/+15
2010-09-15s3-rpc_server: Moved "external" pipe functions to rpc_ncacn_np.c.Simo Sorce1-0/+297
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Renamed rpc_ncacn_np_internal.c.Simo Sorce1-0/+577
Signed-off-by: Andreas Schneider <asn@samba.org>