Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3:smbd/pipes: avoid passing server_event_context() as event context to ↵ | Stefan Metzmacher | 2011-12-12 | 1 | -2/+2 |
| | | | | | | np_{read,write}_send metze | ||||
* | s3:smbd/ipc: pass 'state' as mem_ctx to np_read_send() | Stefan Metzmacher | 2011-12-12 | 1 | -1/+1 |
| | | | | metze | ||||
* | s3-talloc Change TALLOC_P() to talloc() | Andrew Bartlett | 2011-06-09 | 1 | -1/+1 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_P isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 2011-06-09 | 1 | -1/+1 |
| | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | ||||
* | s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() | Andrew Bartlett | 2011-06-09 | 1 | -1/+1 |
| | | | | | | | Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett | ||||
* | s3-globals Remove smbd_event_context() (use server_event_context()) | Andrew Bartlett | 2011-05-31 | 1 | -2/+2 |
| | | | | | | | | This has been a wrapper around server_event_context() for some time now, and removing this from dummmysmbd.c assists with library dependencies. Andrew Bartlett | ||||
* | Fix many const compiler warnings. | Jeremy Allison | 2011-05-05 | 1 | -1/+1 |
| | |||||
* | s3-proto: move more rpc_server prototypes out of proto.h | Günther Deschner | 2011-05-02 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3: only include smb profiling where needed. | Günther Deschner | 2011-04-14 | 1 | -0/+1 |
| | | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 01:31:39 CEST 2011 on sn-devel-104 | ||||
* | s3: include smbd/smbd.h where needed. | Günther Deschner | 2011-03-30 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3: Make srv_send_smb take an sconn instead of a sock fd | Volker Lendecke | 2010-08-24 | 1 | -4/+4 |
| | |||||
* | s3: Remove smbd_server_fd from api_dcerpc_cmd_read/write_done | Volker Lendecke | 2010-08-16 | 1 | -2/+2 |
| | |||||
* | s3: Remove smbd_server_fd from send_trans_reply | Volker Lendecke | 2010-08-16 | 1 | -2/+2 |
| | |||||
* | s3: Fix some error messages | Volker Lendecke | 2010-08-13 | 1 | -3/+4 |
| | |||||
* | s3: Remove smbd_server_conn from send_trans_reply | Volker Lendecke | 2010-06-12 | 1 | -1/+1 |
| | |||||
* | s3:smbd: add PIPE_BUSY handling for SMBtrans calls on named pipes | Stefan Metzmacher | 2010-05-27 | 1 | -0/+11 |
| | | | | metze | ||||
* | Fix bug #7122 - Reading a large browselist fails (server returns invalid ↵ | Jeremy Allison | 2010-02-09 | 1 | -0/+3 |
| | | | | | | | | | | | | | | values in subsequent SMBtrans replies) There are two problems: 1). The server is off-by-one in the end of buffer space test. 2). The server returns 0 in the totaldata (smb_vwv1) and totalparams (smb_vwv0) fields in the second and subsequent SMBtrans replies. This patch fixes both. Jeremy. | ||||
* | s3:smbd: add a smbd_server_connection pointer to connection_struct | Stefan Metzmacher | 2009-08-07 | 1 | -2/+1 |
| | | | | | | | This can be NULL for faked connection structs used in the rpc server or printing code. metze | ||||
* | s3: Change fsp->fsp_name to be an smb_filename struct! | Tim Prouty | 2009-07-20 | 1 | -1/+1 |
| | |||||
* | s3:smbd: move tcon specific globals to struct smbd_server_connection | Stefan Metzmacher | 2009-06-03 | 1 | -1/+2 |
| | | | | metze | ||||
* | s3:smbd: move some session specific globals to struct smbd_server_connection | Stefan Metzmacher | 2009-06-03 | 1 | -0/+2 |
| | | | | metze | ||||
* | Fix smbd crash for close_on_completion | Volker Lendecke | 2009-04-05 | 1 | -0/+4 |
| | | | | | | handle_trans() can talloc_free "conn" if the client requests close_on_completion. "state" is a talloc_child of conn, so it will be gone when we later free state->data et al. | ||||
* | s3:smbd: use new simplified snb_signing code in the server | Stefan Metzmacher | 2009-03-23 | 1 | -0/+4 |
| | | | | | | | | | We keep the seqnum/mid mapping in the smb_request structure. This also moves one global variable into the smbd_server_connection struct. metze | ||||
* | Convert np_read to tevent_req | Volker Lendecke | 2009-03-17 | 1 | -11/+8 |
| | |||||
* | Convert np_write to tevent_req | Volker Lendecke | 2009-03-17 | 1 | -12/+13 |
| | |||||
* | S3: New module interface for SMB message statistics gathering | todd stecher | 2009-02-09 | 1 | -4/+5 |
| | | | | | | | This changelist allows for the addition of custom performance monitoring modules through smb.conf. Entrypoints in the main message processing code have been added to capture the command, subop, ioctl, identity and message size statistics. | ||||
* | Convert api_rpc_trans_reply to async np_* | Volker Lendecke | 2009-01-31 | 1 | -29/+119 |
| | |||||
* | Remove some smb fsp knowledge from rpc_server/ | Volker Lendecke | 2009-01-20 | 1 | -3/+10 |
| | | | | np_open/read/write don't have to know about files_struct | ||||
* | s3:smbd: move all globals and static variables in globals.[ch] | Stefan Metzmacher | 2009-01-08 | 1 | -2/+1 |
| | | | | | | The goal is to move all this variables into a big context structure. metze | ||||
* | Consolidate the buffer checks for the reply_trans style functions | Volker Lendecke | 2008-11-28 | 1 | -55/+18 |
| | | | | | | | | This is the one where I found the problem that led to 3.2.5. So if there is one checkin in the last year that I would like others to review and *understand*, it is this one :-) Volker | ||||
* | Remove the variable "size" from reply_trans | Volker Lendecke | 2008-11-28 | 1 | -12/+16 |
| | | | | | | | | | | | | | This converts the range checks for the setup[] array to rely on req->wct being set correctly in init_smb_request. As that already verifies the vwv array to be in the range of the smb_request inbuf, we don't have to do overflow checks here anymore. Jeremy, please check thoroughly! :-) Thanks, Volker | ||||
* | Fix the offset checks in the trans routines | Volker Lendecke | 2008-11-27 | 1 | -3/+3 |
| | | | | | | | | | This fixes a potential crash bug, a client can make us read memory we should not read. Luckily I got the disp checks right... Volker (cherry picked from commit 64a1d80851da5b05e70ec6c96f6e9bd473748369) (cherry picked from commit f04c5650a3aeca23591ddc781c4b297caaf9bb3f) | ||||
* | Do not write into inbuf for the transs request | Volker Lendecke | 2008-11-08 | 1 | -6/+12 |
| | | | | | Instead, fix up the outbuf in send_xx_reply. In those routines, we know what we are returning. | ||||
* | Remove direct inbuf refs from send_trans_reply | Volker Lendecke | 2008-11-08 | 1 | -37/+35 |
| | |||||
* | Pass smb_request to send_trans_reply to match with send_[nt]trans[2]_reply | Volker Lendecke | 2008-11-02 | 1 | -9/+9 |
| | |||||
* | Use "vwv" in trans parsing | Volker Lendecke | 2008-11-02 | 1 | -16/+16 |
| | |||||
* | Remove a bunch of direct inbuf references by adding "vwv" to smb_request | Volker Lendecke | 2008-11-02 | 1 | -6/+6 |
| | |||||
* | Simplify params of srvstr_pull_buf_talloc() | Volker Lendecke | 2008-11-02 | 1 | -2/+2 |
| | | | | | Now that "req" is available everywhere, use it. Rename srvstr_pull_buf_talloc() to srvstr_pull_req() | ||||
* | Remove a bunch of direct inbuf references by adding "buf" to smb_request | Volker Lendecke | 2008-11-01 | 1 | -1/+1 |
| | |||||
* | Use "struct files_struct" for pipes instead of smb_np_struct | Volker Lendecke | 2008-10-13 | 1 | -49/+41 |
| | |||||
* | Fix some nonempty blank lines | Volker Lendecke | 2008-10-11 | 1 | -6/+6 |
| | |||||
* | Fix a typo | Volker Lendecke | 2008-10-09 | 1 | -1/+1 |
| | |||||
* | Let send_trans_reply work on only the inbuf | Volker Lendecke | 2008-06-28 | 1 | -52/+55 |
| | | | | | It does not really need the whole smb_request (This used to be commit d3facf4cbdb2915168e91d64c2d8320f67524df8) | ||||
* | Remove connection_struct->mem_ctx, connection_struct is its own parent | Volker Lendecke | 2008-05-05 | 1 | -1/+1 |
| | | | | (This used to be commit 559180f7d30606d1999399d954ceedc798c669a4) | ||||
* | Rewrite the wrap checks to deal with gcc 4.x optimisations. | Jeremy Allison | 2008-04-07 | 1 | -33/+45 |
| | | | | | | Karolin, please pull once Volker has reviewed. Thanks. Jeremy. (This used to be commit 09852899cadc48abe2f2651ecbceaf881198e648) | ||||
* | Now conn is part of smb_request, we don't need it as | Jeremy Allison | 2008-01-04 | 1 | -2/+4 |
| | | | | | | | an extra parameter. This cleans up quite a few places we were passing it around without needing it. Jeremy. (This used to be commit 8f36def18e9f980e8db522e1de41e80cfd5f466e) | ||||
* | Refactor the crypto code after a very helpful conversation | Jeremy Allison | 2008-01-04 | 1 | -23/+30 |
| | | | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8) | ||||
* | Don't need an fstring here, we can talloc. | Jeremy Allison | 2007-12-10 | 1 | -9/+8 |
| | | | | | Jeremy. (This used to be commit 3f6cc826378729c9157ea68e7cf5c7b584bbb585) | ||||
* | Fix crash bug with vl's new trans handling in old transs | Jeremy Allison | 2007-12-04 | 1 | -5/+6 |
| | | | | | | | | calls. Make this look like the (working) transs2 handling (replace inbuf, not write to outbuf - outbuf isn't allocated yet so you get a null deref). Jeremy. (This used to be commit f04e37a630f8e7538d670d34db4ea7fc7c0b50a3) | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 1 | -3/+3 |
| | | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f) |