Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-08 | s3: Remove the smbd_messaging_context from spoolss_init_cb | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Remove some smbd_messaging_context references from smbd_process | Volker Lendecke | 1 | -7/+7 | |
2010-08-08 | s3: Pass sconn to smbd_process | Volker Lendecke | 1 | -28/+28 | |
2010-08-08 | s3: Lift the server_messaging_context from housekeeping_fn | Volker Lendecke | 1 | -3/+6 | |
2010-08-08 | s3: Lift the server_messaging_context from check_reload | Volker Lendecke | 1 | -4/+4 | |
2010-08-08 | s3: Make check_reload() static | Volker Lendecke | 1 | -1/+1 | |
2010-08-08 | s3: Lift the server_messaging_context from update_monitored_printq_cache | Volker Lendecke | 1 | -1/+1 | |
2010-08-08 | s3: Lift the smbd_messaging_context from smbd_setup_sig_hup_handler | Volker Lendecke | 1 | -6/+4 | |
2010-08-08 | s3: Lift the smbd_messaging_context from smbd_sig_hup_handler | Volker Lendecke | 1 | -2/+4 | |
2010-08-08 | s3: Lift the smbd_messaging_context from reload_services | Volker Lendecke | 1 | -3/+3 | |
2010-08-08 | s3: Lift the smbd_messaging_context from reload_printers | Volker Lendecke | 1 | -1/+1 | |
2010-08-08 | s3: Lift the smbd_messaging_context from nt_printing_tdb_migrate | Volker Lendecke | 1 | -1/+1 | |
2010-08-07 | s3: Remove some references to smbd_messaging_context() | Volker Lendecke | 1 | -5/+6 | |
2010-07-28 | smbd: Fix build warning | Simo Sorce | 1 | -1/+1 | |
2010-07-27 | s3-printing: Added automatic migration of printing tdbs. | Andreas Schneider | 1 | -2/+26 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-05 | s3: Pass procid_self() explicitly to messaging_ctdbd_connection() | Volker Lendecke | 1 | -1/+1 | |
2010-07-04 | s3: Pass the new server_id through reinit_after_fork | Volker Lendecke | 1 | -1/+2 | |
2010-06-28 | s3: Change exit on immediate socket failure. | Ira Cooper | 1 | -4/+4 | |
This change makes it so socket errors early in the smbd child process cause orderly exits not coredumps. Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2010-06-12 | s3: Explicitly pass sconn to [remove|schedule]_deferred_open_message_smb2 | Volker Lendecke | 1 | -2/+2 | |
2010-06-12 | s3: Explicitly pass sconn to open_was_deferred_smb2 | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from switch_message | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Explicitly pass sconn to is_valid_writeX_buffer | Volker Lendecke | 1 | -1/+2 | |
2010-06-12 | s3: Pass sconn explicitly to reply_special | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Use "sconn" argument in smbd_[un]lock_socket_internal | Volker Lendecke | 1 | -8/+8 | |
Metze, please check! | |||||
2010-06-12 | s3: Pass sconn to init_smb_request() | Volker Lendecke | 1 | -5/+7 | |
2010-06-12 | s3: Add "smbd_server_connection" to smb_request | Volker Lendecke | 1 | -0/+1 | |
2010-06-11 | s3: Fix starving the echo responder | Volker Lendecke | 1 | -0/+11 | |
When both the echo responder and the 445 socket want to send stuff to the worker smbd, the select loop is not fair. It always chooses the smaller file descriptor to work on. This can mean that on a busy system the echo responder never gets around to feed its stuff to the parent. This fix chooses the async echo responder socket when both the 445 and the echo responder socket are readable. Yes, it is a very hackish fix which is required *now* I think. The proper fix would be to either assign priorities to fd's in tevent, or the from my point of view better fix would be to make tevent kindof round-robin. Round-robin would mean that whenever a fd has been dealt with, it is taken off the list of interested sockets, and only if no other socket is active, all of the ones waiting are put back. This is a bit like EPOLL_ONESHOT, which I would like to use for this in the epoll case. Although, I need to do some research if maybe epoll already guarantees round-robin, I did not find anything in the docs yet. Volker | |||||
2010-06-09 | Rename "allow_smb2" -> "using_smb2" and make the usage clearer. | Jeremy Allison | 1 | -9/+18 | |
2010-06-09 | Ensure we don't send SMB1 keepalives on an SMB2 connection. | Jeremy Allison | 1 | -0/+6 | |
Jeremy. | |||||
2010-05-31 | s3:smbd make yp cache local. | Simo Sorce | 1 | -3/+0 | |
The my_yp_domain variable is just a static cache needed to avoid making over and over expensive and potentially blocking calls to yp_get_default_domain(). Instead of keeping this onto the smbd_server_connection struct, just keep it local to the only function ever using this variable. This disentagle this function (and a number of calling functions) from having to pass around smbd_server_connection and thus having to link against smbd. It also removes a few ifdefs. Nothing changes from a global/local pov, as the smbd_server_connection variable passed around is also a global one. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-05-28 | s3:auth use info3 in auth_serversupplied_info | Simo Sorce | 1 | -2/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-27 | s3: Fix a bad memleak in the async echo responder | Volker Lendecke | 1 | -1/+1 | |
2010-05-06 | s3: only include gen_ndr headers where needed. | Günther Deschner | 1 | -0/+1 | |
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther | |||||
2010-04-27 | Fix the "allow_smb2" bug being set to false that was driving me mad :-). | Jeremy Allison | 1 | -1/+5 | |
The first packet from a rebooted Win7 on an SMB2 connection is an SMB1 negprot... Jeremy. | |||||
2010-04-27 | s3:smbd: keep local and remote tsocket_address per connection | Stefan Metzmacher | 1 | -9/+63 | |
metze | |||||
2010-04-23 | Allow smb2 create requests to be cancelled. | Jeremy Allison | 1 | -0/+2 | |
Jeremy. | |||||
2010-04-22 | Make deferred opens (NT_STATUS_SHARING_VIOLATION) work over SMB2. | Jeremy Allison | 1 | -4/+4 | |
Makes SMB2Create call re-entrant internally. Now this infrastructure is in place, oplocks will follow shortly. Tested with Win7 client and with W2K8R2. Jeremy. | |||||
2010-04-12 | Move to using 64-bit mid values in our internal open file database. | Jeremy Allison | 1 | -33/+40 | |
This will allow us to share logic much easier between SMB1 and SMB2 servers. Jeremy | |||||
2010-04-09 | Plumb SMB2 stubs into all the places we defer SMB1 operations. | Jeremy Allison | 1 | -19/+65 | |
Rename functions to be internally consistent. Next step is to cope queueing single (non-compounded) SMB2 requests to put some code inside the stubs. Jeremy. | |||||
2010-04-08 | Stop smb2 from calling into smb1 blocking lock request code. | Jeremy Allison | 1 | -0/+1 | |
Allocate a uint16_t internal SMB1 mid for an SMB2 request. Add a back pointer from the faked up smb_request struct to the smb2 request. Getting ready to add restart code for blocking locks, share mode violations and oplocks in SMB2. Jeremy. | |||||
2010-04-07 | Start to plumb smb2 into the oplock system. Calls dummy functions for now. | Jeremy Allison | 1 | -0/+6 | |
Jeremy. | |||||
2010-04-01 | Move initialize_async_io_handler() inside of smbd/aio.c. | Jeremy Allison | 1 | -3/+0 | |
Call from actual aio read or write. No reason to call this globally on startup. Jeremy. | |||||
2010-03-31 | Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count. | Jeremy Allison | 1 | -40/+38 | |
As these always call exit_server, make that part of the function. Use _internal functions for the echo client. Metze please check ! Jeremy. | |||||
2010-03-31 | s3:smbd: handle SMB2 in deadtime_fn() and avoid disconnecting non idle clients | Stefan Metzmacher | 1 | -1/+13 | |
metze | |||||
2010-03-22 | s3: Implement an asynchronous echo responder process | Volker Lendecke | 1 | -19/+478 | |
This replies to echo requests when the main smbd is stuck somewhere Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-22 | s3:smbd: don't allow SMB2 if the async echo handler is active | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-03-22 | s3:smbd: don't use recvfile if the echo handler is active | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-03-22 | s3:smbd: pass down trusted_channel via receive_smb_talloc() | Stefan Metzmacher | 1 | -3/+5 | |
metze | |||||
2010-03-22 | s3:smbd: send keepalive packets under the socket lock | Stefan Metzmacher | 1 | -1/+16 | |
metze | |||||
2010-03-22 | s3:smbd: smbd_[un]lock_socket() while accessing the socket to the client | Stefan Metzmacher | 1 | -1/+24 | |
metze |