Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-02-22 | s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_info | Andrew Bartlett | 1 | -3/+3 | |
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> | |||||
2010-09-15 | s3-rpc_server: Moved "external" pipe functions to rpc_ncacn_np.c. | Simo Sorce | 1 | -298/+1 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-15 | s3-rpc_server: Added new parametric option 'rpc_server' | Andreas Schneider | 1 | -1/+17 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-15 | s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface. | Simo Sorce | 1 | -28/+50 | |
This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process. | |||||
2010-09-15 | s3-rpc_server: Added support for internal connections to external daemons. | Simo Sorce | 1 | -2/+115 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-09-15 | s3-rpc_server: Added debug to see how much data has been read out. | Simo Sorce | 1 | -0/+4 | |
Signed-off-by: Andreas Schneider <asn@cynapses.org> | |||||
2010-09-15 | s3-rpc_server: Make process_incoming_data() public. | Simo Sorce | 1 | -1/+1 | |
Signed-off-by: Andreas Schneider <asn@cynapses.org> | |||||
2010-09-15 | s3-rpc_server: Fixed unhandled error condition. | Simo Sorce | 1 | -1/+2 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-08-26 | s3-dcerpc: only include rpc_dce.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-26 | s3-build: only include "fake_file.h" where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-18 | s3: Add "client_id" to pipes_struct | Volker Lendecke | 1 | -14/+3 | |
2010-08-08 | s3: Lift the smbd_messaging_context from rpc_pipe_open_internal | Volker Lendecke | 1 | -0/+2 | |
2010-08-08 | s3: Lift the smbd_messaging_context from np_open | Volker Lendecke | 1 | -2/+2 | |
2010-08-08 | s3: Lift the smbd_messaging_context from make_internal_rpc_pipe_p | Volker Lendecke | 1 | -1/+2 | |
2010-07-28 | s3-rpc_pipe: Use struct pipes_struct. | Andreas Schneider | 1 | -4/+4 | |
2010-07-17 | s3-dcerpc: Fix build and remove unneeded headers | Simo Sorce | 1 | -3/+0 | |
Sorry, botched a rebase. | |||||
2010-07-17 | s3-dcerpc: Move mere processing functions from srv_pipe_hnd.c to srv_pipe.c | Simo Sorce | 1 | -463/+1 | |
2010-07-16 | s3-dcerpc: Fix ability to receive Big Endian PDUs | Simo Sorce | 1 | -11/+13 | |
2010-07-16 | s3-dcerpc: Use DATA_BLOB for pipes_struct input data | Simo Sorce | 1 | -48/+14 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Convert frag from prs_struct to a simple DATA_BLOB | Simo Sorce | 1 | -10/+10 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-16 | s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOB | Simo Sorce | 1 | -16/+6 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-14 | s3-dcerpc: fix crash bug in error path of process_complete_pdu(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-07-13 | s3-dceprc: Add debug messages | Simo Sorce | 1 | -0/+10 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Remove unused functions | Simo Sorce | 1 | -101/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requests | Simo Sorce | 1 | -207/+302 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc: Store opnum in its own variable | Simo Sorce | 1 | -0/+3 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_struct | Simo Sorce | 1 | -38/+33 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-13 | s3-dcerpc delay rpc header unmarshalling | Simo Sorce | 1 | -49/+70 | |
Use dcerpc_get_frag_length() to get the whole pdu first Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-08 | s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR. | Günther Deschner | 1 | -1/+0 | |
Otherwise a lot of information that is usually generated in the ndr_push remains in an uninitialized state. Guenther | |||||
2010-07-06 | s3: Fix a segfault in the RPC server | Volker Lendecke | 1 | -8/+9 | |
After converting the rpc infratructure to talloc, read_from_internal_pipe freed the outdata too early. If the last fragment was read in two pieces (as rpcclient does it), all the outdata was freed during the read of the first piece of the read of the last fragment. Later read&x calls, trying to read the rest of the last fragment stepped into p->out_data.frag with non-zero offset when this was already freed. | |||||
2010-06-18 | Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵ | Jeremy Allison | 1 | -28/+29 | |
Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org> | |||||
2010-06-10 | s3:cleaunp reformatting for readability | Simo Sorce | 1 | -85/+160 | |
2010-06-10 | s3:cleanup remove trailing spaces | Simo Sorce | 1 | -11/+11 | |
2010-06-07 | s3:named pipe proxy Improve error messages when named pipes fail to forward | Andrew Bartlett | 1 | -3/+6 | |
I hope this helps the next person who needs to debug this. Andrew Bartlett | |||||
2010-06-04 | s3-rpc: Create a file with all functions for a internal named pipe. | Andreas Schneider | 1 | -203/+0 | |
This makes it possible to use the samr rpc server in winbind without linking in smbd. Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-05-27 | s3:rpc_server: make use of the npa_tstream code to connect to named pipes | Stefan Metzmacher | 1 | -192/+152 | |
This way we use the newest protocol, which is able to pass the local and remote address of the SMB connection. And we correctly support message mode named pipes without the hack that analyzes the content for DCERPC pdus. metze | |||||
2010-05-27 | s3:rpc_server: pass down local and remote tsocket_address to np_open() | Stefan Metzmacher | 1 | -1/+15 | |
metze | |||||
2010-05-27 | s3:rpc_server: add np_read_in_progress() function | Stefan Metzmacher | 1 | -0/+22 | |
metze | |||||
2010-05-27 | s3:rpc_server: make sure we don't send uninitialized memory for the ↵ | Stefan Metzmacher | 1 | -1/+1 | |
named_pipe_auth handshake metze | |||||
2010-05-26 | s3-rpc_server: Created a per connection spoolss pipe. | Simo Sorce | 1 | -0/+33 | |
This way all code can reuse the same connection to spoolss and not have to deal with the creation of a new pipe all over the code every time we need to ask a service off spoolss. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-18 | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 1 | -4/+2 | |
2010-04-11 | s3: Move serverinfo_to_SamInfoX to auth/server_info.c | Volker Lendecke | 1 | -287/+0 | |
2010-03-05 | s3-rpc_server: Document rpc_pipe_open_internal. | Andreas Schneider | 1 | -1/+27 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-02-16 | s3:rpc streamline memory handling | Simo Sorce | 1 | -13/+5 | |
2010-01-06 | Second part of the fix for bug #7020 - smbd using 2G memory. | Jeremy Allison | 1 | -0/+7 | |
There was a second leak in the processing of the out_data.frag prs_struct. It needs freeing once the current pdu has been returned asynchronously. Jeremy. | |||||
2009-11-08 | Revert "s3: Do not reference ndr_table_<pipe> in the cli_ routines directly" | Volker Lendecke | 1 | -2/+1 | |
This reverts commit daa964013bc5d036f4da571ce22c0052ef40943a. | |||||
2009-11-08 | Revert "s3: Consolidate getting the name out of a pipes_struct" | Volker Lendecke | 1 | -21/+28 | |
This reverts commit 9621306351cdb469ef393a6d8cbeea456bc4bd9f. | |||||
2009-11-08 | Revert "s3: Do not reference the ndr_tables in the server calls directly" | Volker Lendecke | 1 | -10/+3 | |
This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761. | |||||
2009-11-08 | s3: Do not reference the ndr_tables in the server calls directly | Volker Lendecke | 1 | -3/+10 | |
This involves storing the interface table in the pipes_struct | |||||
2009-11-08 | s3: Consolidate getting the name out of a pipes_struct | Volker Lendecke | 1 | -28/+21 | |