Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-06-03 | s3:smbd: allow SMB2 only if we don't use security = share | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2009-05-26 | s3:smbd: move SMB1 specific stuff into a substructure of smbd_server_connection | Stefan Metzmacher | 1 | -9/+9 | |
metze | |||||
2009-05-20 | s3:smbd: add infrastructure for SMB2 support | Stefan Metzmacher | 1 | -0/+12 | |
This is disabled by default and activated by "max protocol = SMB2". metze | |||||
2009-05-08 | s3: Fix chained sesssetupAndX/tconn messages | Tim Prouty | 1 | -0/+7 | |
A sesssetupAndX chained with a tconn will not correctly set the TID in the response header. I'm seeing an XP client send this chained sesssetup/tconn when samba has security = share. Samba's current behavior is to return a TID of 0 in the smb header rather than the actual TID. This patch also updates the UID in the header as well. | |||||
2009-05-08 | s3:smbd: fix the fix for mapped IPv4 address handling in release_ip(). | Michael Adam | 1 | -2/+2 | |
It was too late... Thanks Metze for noticing. Michael | |||||
2009-05-08 | s3: make release_ip() call (ctdb) cope with IPv4 mapped addresses | Michael Adam | 1 | -1/+8 | |
Michael | |||||
2009-04-12 | write_data already guarantees everything was written | Volker Lendecke | 1 | -9/+6 | |
2009-03-23 | s3:smbd: use new simplified snb_signing code in the server | Stefan Metzmacher | 1 | -15/+35 | |
We keep the seqnum/mid mapping in the smb_request structure. This also moves one global variable into the smbd_server_connection struct. metze | |||||
2009-03-23 | s3:smbd: if we allow trans2 on the IPC$ share, then we have to allow transs2 ↵ | Stefan Metzmacher | 1 | -1/+1 | |
too. Otherwise we'll confuse the client signing engine, when we reply an error to each transs2. metze | |||||
2009-02-16 | make receive_smb_raw_talloc more readable | Tim Prouty | 1 | -4/+4 | |
2009-02-13 | Noted by Vericode analysis. Correctly use chroot(). | Jeremy Allison | 1 | -1/+5 | |
Jeremy. | |||||
2009-02-09 | S3: New module interface for SMB message statistics gathering | todd stecher | 1 | -16/+45 | |
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. | |||||
2009-02-07 | Fix memleaks in chain_reply for async requests | Volker Lendecke | 1 | -0/+2 | |
2009-01-31 | Remove the global variable "chain_size" | Volker Lendecke | 1 | -2/+24 | |
2009-01-27 | s3:smbd: make kernel oplocks event driven | Stefan Metzmacher | 1 | -74/+0 | |
And use signal events for Linux oplocks. metze | |||||
2009-01-27 | s3:smbd: remove pointless respond_to_all_remaining_local_messages() function | Stefan Metzmacher | 1 | -25/+0 | |
This the process_kernel_oplock() function never response to messages, it only generates messages to ourself. metze | |||||
2009-01-27 | s3:smbd: use signal events for SIGTERM, SIGHUP and SIGCHLD | Stefan Metzmacher | 1 | -14/+51 | |
metze | |||||
2009-01-27 | s3:smbd: move all code that handles a client connection into smbd_process() | Stefan Metzmacher | 1 | -6/+218 | |
metze | |||||
2009-01-25 | Fix chain_reply for pipe reads | Volker Lendecke | 1 | -1/+11 | |
The caller might have over-allocated reply->outbuf. Deal with that. Sorry, Günther, for giving you so much pain ... Volker | |||||
2009-01-22 | s3:smbd: we don't need to call message_dispatch() anymore it's event ↵ | Stefan Metzmacher | 1 | -23/+2 | |
triggered now metze | |||||
2009-01-22 | s3:smbd: restructure kernel oplocks code | Stefan Metzmacher | 1 | -38/+6 | |
This converts the irix oplocks code to use a fd event and removes the last special case for file descriptors for the main sys_select(). metze | |||||
2009-01-22 | s3: always call run_events() before and after sys_select() | Stefan Metzmacher | 1 | -6/+4 | |
And always setup the fd events. metze | |||||
2009-01-20 | "userdom_struct" does not need "full_name" anymore -- unused | Volker Lendecke | 1 | -2/+0 | |
2009-01-20 | s3:smbd: call message_dispatch() before processing incoming PDUs | Stefan Metzmacher | 1 | -0/+6 | |
This is a hack to fix races which happen with the RAW-RENAME and RAW-OPLOCK tests. We should try to remove it later. metze | |||||
2009-01-16 | remove the old chain_reply code | Volker Lendecke | 1 | -214/+4 | |
2009-01-16 | Correctly calculate the offset for read&x | Volker Lendecke | 1 | -0/+19 | |
2009-01-16 | Add a new implementation of chain_reply | Volker Lendecke | 1 | -0/+217 | |
This the global variable "orig_inbuf" in the old chain_reply code. This global variable was one of the reasons why we had the silly restriction to not allow async requests within a request chain. | |||||
2009-01-10 | Fix a type-punned error | Volker Lendecke | 1 | -1/+1 | |
2009-01-10 | Fix a C++ warning | Volker Lendecke | 1 | -2/+2 | |
2009-01-09 | s3:smbd: handle incoming smb requests via event handlers | Stefan Metzmacher | 1 | -108/+155 | |
We use a fd event and receive incoming smb requests when the fd becomes readable. It's not completely nonblocking yet, but it should behave like the old code. We use timed events to trigger retries for deferred open calls. metze | |||||
2009-01-08 | s3:smbd: move all globals and static variables in globals.[ch] | Stefan Metzmacher | 1 | -31/+1 | |
The goal is to move all this variables into a big context structure. metze | |||||
2009-01-05 | s3:events: change event_add_timed() prototype to match samba4 | Stefan Metzmacher | 1 | -10/+17 | |
metze | |||||
2009-01-04 | Fix bug #6009 - Setting "min receivefile size = 1" breaks writes. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2008-12-31 | Replace "goto again" by "return NT_STATUS_RETRY" in receive_message_or_smb | Volker Lendecke | 1 | -11/+13 | |
This gives lower-level routines the chance to indicate a retry condition | |||||
2008-12-19 | Remove the direct inbuf reference from construct_reply_common() | Volker Lendecke | 1 | -8/+11 | |
2008-11-08 | Make "construct_reply_common" static | Volker Lendecke | 1 | -1/+3 | |
2008-11-05 | Fix the build | Volker Lendecke | 1 | -1/+1 | |
2008-11-04 | Make "inbuf" a talloc child of "smb_request" for normal smb requests | Volker Lendecke | 1 | -3/+2 | |
This is necessary if we want to keep the whole smb_request for deferred ops. The explicit settings of req->inbuf will be removed once all those deferring operations are converted to store the whole request and not just the inbuf. | |||||
2008-11-04 | Add construct_reply_common_req wrapper | Volker Lendecke | 1 | -0/+5 | |
The goal is to remove the remaining direct calls to construct_reply_common. | |||||
2008-11-04 | Trigger (and fix) a bug in Samba3 making smbd an infinite data source | Volker Lendecke | 1 | -0/+1 | |
A deferred open directly followed by a ulogoffX makes smbd3 send an infinite stream of ERRinvuid replies :-( | |||||
2008-11-02 | Remove some inbuf references by adding "cmd" to smb_request | Volker Lendecke | 1 | -4/+3 | |
2008-11-02 | Remove a bunch of direct inbuf references by adding "vwv" to smb_request | Volker Lendecke | 1 | -0/+1 | |
2008-11-01 | Remove a bunch of direct inbuf references by adding "buf" to smb_request | Volker Lendecke | 1 | -0/+1 | |
2008-11-01 | Add a "buflen" struct member to smb_request | Volker Lendecke | 1 | -2/+3 | |
This removes some explicit inbuf references and also removes a pointless check in reply_echo. The buflen can never be more than 64k, this is just a 16 bit value. | |||||
2008-11-01 | Remove unused extern declaration | Volker Lendecke | 1 | -2/+0 | |
2008-10-19 | "fn_new"->"fn" in smb_messages[], we got beyond that :-) | Volker Lendecke | 1 | -3/+3 | |
2008-10-19 | Use a direct compare instead of calling strncmp in valid_smb_header | Volker Lendecke | 1 | -1/+5 | |
2008-10-19 | Move the global hosts_allow() check out of the processing loop | Volker Lendecke | 1 | -19/+22 | |
2008-10-14 | Use {u,}int64_t instead of SMB_BIG_{U,}INT. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-13 | Remove smb_np_struct | Volker Lendecke | 1 | -1/+0 | |