summaryrefslogtreecommitdiff
path: root/source3/rpc_server/rpc_server.c
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08ncalrpc: Force ncalrpc dir to be mode 755 in all usersAndrew Bartlett1-2/+2
This allows this directory to be shared between Samba3 and Samba4 in a Franky-style setup easily. Andrew Bartlett
2011-05-02s3-rpc_server: (re)move last globally included rpc_server prototypes.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon May 2 16:05:31 CEST 2011 on sn-devel-104
2011-05-02s3: include ntdomain.h before including generated srv_ headers.Günther Deschner1-1/+1
Guenther
2011-05-02s3-proto: move more rpc_server prototypes out of proto.hGünther Deschner1-0/+1
Guenther
2011-04-29s3-proto: move more headers to rpc_server/rpc_ncacn_np.h where they origin from.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 22:05:07 CEST 2011 on sn-devel-104
2011-04-05auth: Move auth_session_info into IDLAndrew Bartlett1-7/+11
This changes auth_session_info_transport to just be a wrapper, rather than a copy that has to be kept in sync. As auth_session_info was already wrapped in python, this required changes to the existing pyauth wrapper and it's users. Andrew Bartlett
2011-04-05s3-auth Rename user_session_key -> session_key to match auth_session_infoAndrew Bartlett1-1/+1
2011-04-05s3-auth use create_local_token() to transform server_info -> session_infoAndrew Bartlett1-6/+4
Before a auth_serversupplied_info struct can be used for authorization, the local groups and privileges must be calculated. create_local_token() now copies the server_info, and then sets the calulated token and unix groups. Soon, it will also transform the result into an expanded struct auth_session_info. Until then, the variable name (server_info vs session_info provides a clue to the developer about what information has been entered in the structure). By moving the calls to create_local_token within the codebase, we remove duplication, and ensure that the session key (where modified) is consistently copied into the new structure. Andrew Bartlett
2011-03-31s3: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 31 12:50:53 CEST 2011 on sn-devel-104
2011-03-30s3-includes: only include ntdomain.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-auth: rpc_server needs auth.hGünther Deschner1-0/+1
Guenther
2011-03-24s3-rpc_server: remove two uneeded include registry/reg_parse_prs.hGünther Deschner1-1/+0
Guenther
2011-03-23s3-rpc_server: Added disconnect callback function.Andreas Schneider1-5/+21
2011-03-23s3-rpc_server: Rename system_user to ncalrpc_as_system.Andreas Schneider1-2/+2
2011-03-09s3-rpc_server: Change irritating debug message.Andreas Schneider1-7/+7
2011-03-08s3-rpc_server: Fixed the accept() for ncalrpc_listener.Andreas Schneider1-8/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Fixed the accept() for tcpip_listener.Andreas Schneider1-9/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Fixed the accept() for named_pipe_listener.Andreas Schneider1-7/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Add server support for NCALRPC system user pipe.Andreas Schneider1-1/+17
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Improved the dcerpc_ncacn_accept switch.Andreas Schneider1-29/+38
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Remove unneeded ncacn wrappers.Andreas Schneider1-85/+12
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Fixed ncalrpc connection accept.Andreas Schneider1-1/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider1-1/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added prototype to setup a ncalrpc socket.Andreas Schneider1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-epmap: add ncalrpc listener codeSimo Sorce1-0/+126
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08sr-epmap: Minor cleanups and fixesSimo Sorce1-33/+30
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added server address to pipes struct.Andreas Schneider1-7/+34
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Set client and server connection info.Andreas Schneider1-1/+49
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-7/+7
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-21s3-rpc_server: Added function to setup tcpip listener!Andreas Schneider1-0/+572
2011-02-21s3-rpc_server: Create a common ncacn listen state.Andreas Schneider1-9/+12
2011-02-21s3-rpc_server: Rename named_pipe_read_packet().Andreas Schneider1-16/+16
This is not named pipe specific.
2011-02-10s3-auth Rename cryptic 'ptok' to security_tokenAndrew Bartlett1-2/+2
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-8/+41
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: We need a messaging context for rpc.Andreas Schneider1-0/+3
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 9 17:26:00 CET 2011 on sn-devel-104
2011-02-09s3-rpc_server: Fixed possible segfault with client_id.Andreas Schneider1-0/+6
2010-09-15s3-rpc_server: fix some uninitalized variables and c++ build warnings.Günther Deschner1-2/+2
Guenther
2010-09-15s3-rpc_server: Accept connections and process requests.Simo Sorce1-17/+337
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Added helper functions to read data from a ncacn socket.Simo Sorce1-0/+80
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Addded function to create custom pipes_struct.Simo Sorce1-0/+99
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Add generic listener callback.Simo Sorce1-4/+47
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Added initial generic RPC server infrastructure.Simo Sorce1-0/+88
Signed-off-by: Andreas Schneider <asn@cynapses.org>