Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-12 | s3: Remove smbd_server_conn from reply_ntcancel | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from send_nt_replies | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_smb2002 | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Explicitly pass sconn to negprot_spnego() | Volker Lendecke | 3 | -5/+4 | |
2010-06-12 | s3: Remove some global references to smbd_server_conn | Volker Lendecke | 1 | -10/+9 | |
2010-06-12 | s3: Remove sconn arg from smbd_notify_cancel_by_smbreq | Volker Lendecke | 3 | -6/+4 | |
2010-06-12 | s3: Initialize smb_request->sconn in smbd_smb2_fake_smb_request | Volker Lendecke | 1 | -0/+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-12 | s3: Fix some nonempty lines | Volker Lendecke | 1 | -8/+7 | |
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-10 | s3:lib make server contexts generic | Simo Sorce | 3 | -30/+4 | |
Pair-programmed-with: Andreas Schneider <asn@samba.org> | |||||
2010-06-10 | Fix the build in the non WITH_AIO case (sorry). | Jeremy Allison | 1 | -0/+20 | |
2010-06-10 | Implement AIO in SMB2. Doesn't allow cancel calls yet (to be added). | Jeremy Allison | 4 | -0/+339 | |
Jeremy. | |||||
2010-06-10 | Ensure we correctly setup req->subreq before testing for async. Stops ↵ | Jeremy Allison | 1 | -4/+4 | |
crashes when XX_send functions set async to stop interim replies being sent. Jeremy. | |||||
2010-06-10 | Don't use the autofree context for the globals. This causes child smbd's forked | Jeremy Allison | 3 | -3/+19 | |
by modules to crash due to destructors being called (found when using the vfs_aio_fork module with smb2). Jeremy. | |||||
2010-06-10 | s3-smbd: Fix typo in comment. | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2010-06-09 | Rename "allow_smb2" -> "using_smb2" and make the usage clearer. | Jeremy Allison | 8 | -22/+31 | |
2010-06-09 | Split out the "finished write processing" code into a function so it can be ↵ | Jeremy Allison | 1 | -40/+62 | |
called by both sync and async code. Jeremy. | |||||
2010-06-09 | Ensure we don't send SMB1 keepalives on an SMB2 connection. | Jeremy Allison | 1 | -0/+6 | |
Jeremy. | |||||
2010-06-09 | Split out the "finished read processing" code into a function so it can be ↵ | Jeremy Allison | 1 | -36/+75 | |
called by both sync and async code. Jeremy. | |||||
2010-06-08 | Fix a valgrind error found by SMB2-COMPOUND test. | Jeremy Allison | 3 | -0/+31 | |
If a file is closed we must also NULL out all chained_fsp pointers when the fsp is freed to prevent invalid pointer access. Jeremy. | |||||
2010-06-08 | Second part of fix for 7501 - SMB2: CREATE request replies getting mangled. | Jeremy Allison | 1 | -67/+67 | |
Based on code from Ira Cooper <samba@ira.wakeful.net>, and also advice on refactoring the patch into a function call. outbuf vectors can be reallocated by smb2 processing code, so when returning interim responses we must not make assumptions about vector size. Jeremy | |||||
2010-06-08 | Fix for bug 7501 - SMB2: CREATE request replies getting mangled. | Ira Cooper | 1 | -3/+1 | |
Code for dup_smb2_req() was duplicating the wrong vector (i, instead of i+2) when returning a non-minimal SMB2 response. | |||||
2010-06-08 | Revert "s3:smbd Fix segfault if register_existing_vuid() fails" | Volker Lendecke | 1 | -12/+4 | |
This reverts commit 8f1cec5faf4e26de8b9797777059e99f2a66558b. | |||||
2010-06-08 | Revert "s3:smbd Give the kerberos session key a parent" | Volker Lendecke | 1 | -2/+0 | |
This reverts commit 4a7f45b7e1cef13bc28d7ee50dd4b5519bdec397. | |||||
2010-06-08 | Revert "s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS" | Volker Lendecke | 2 | -5/+4 | |
This reverts commit edba46ce94c335411ab337eeb4ef6f88fb3aae80. Conflicts: source3/auth/auth_ntlmssp.c | |||||
2010-06-07 | Make aio_ex owned by a talloc context, not neccessarily on the null context. | Jeremy Allison | 1 | -8/+12 | |
2010-06-07 | Move "write_though" into aio_ex struct. | Jeremy Allison | 1 | -5/+5 | |
2010-06-07 | s3:smbd add utility function to check if there are open pipes | Simo Sorce | 1 | -8/+3 | |
2010-06-07 | s3:auth Change auth_ntlmssp_server_info API to return NTSTATUS | Andrew Bartlett | 2 | -4/+5 | |
It's nicer to have an NTSTATUS return, and in s3compat there may be a reason other than 'no memory' why this can fail. Andrew Bartlett | |||||
2010-06-07 | s3:smbd Give the kerberos session key a parent | Andrew Bartlett | 1 | -0/+2 | |
I can't see what would free this, so this should prevent a memory leak. Andrew Bartlett | |||||
2010-06-07 | s3:smbd Fix segfault if register_existing_vuid() fails | Andrew Bartlett | 1 | -4/+12 | |
The register_existing_vuid() call will handle both the ntlmssp_end and vuid invalidation internally, so we don't want to do it again. Andrew Bartlett | |||||
2010-06-04 | Fix a long-standing bug with async io that would only be triggered by SMB2. | Jeremy Allison | 1 | -5/+5 | |
On normal or shutdown close, ensure we wait for any pending IO to complete before returning. Implement a blocking aio_suspend inside vfs_aio_fork.c. These changes pass make test when the aio_fork module is used by default on the test shares. Jeremy. | |||||
2010-06-04 | wait_for_aio_completion() should return 0 on non-aio compiled case. | Jeremy Allison | 1 | -1/+1 | |
2010-06-04 | Rename req -> smbreq. | Jeremy Allison | 1 | -26/+26 | |
2010-06-04 | Change smbd_aio_complete_mid() -> smbd_aio_complete_aio_ex(). Simplifies | Jeremy Allison | 1 | -32/+4 | |
the code and eliminates find_aio_ex(). Jeremy. | |||||
2010-06-04 | s3-auth: Moved smbd user functions to a generic place. | Andreas Schneider | 2 | -406/+0 | |
Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-06-04 | s3-smbd: Remove unneeded dependency of map_username to globals.c. | Andreas Schneider | 3 | -7/+3 | |
Reviewed-by: Simo Sorce <idra@samba.org> | |||||
2010-06-03 | Allow us to cope correctly with NT_STATUS_MORE_PROCESSING_REQUIRED when ↵ | Jeremy Allison | 1 | -1/+7 | |
downgrading from krb5 to NTLMSSP over SMB2. Jeremy. | |||||
2010-06-03 | Found by Guenther - fix up our fallback paths from krb5 to NTLMSSP when ↵ | Jeremy Allison | 1 | -8/+29 | |
using SMB2. Jeremy. | |||||
2010-06-03 | s3-security: use shared "Standard access rights.". | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-03 | s3-security: remove duplicate Extra W2K flags. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_DACL define. | Günther Deschner | 4 | -12/+12 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_SACL define. | Günther Deschner | 2 | -2/+2 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_GROUP define. | Günther Deschner | 4 | -7/+7 | |
Guenther | |||||
2010-06-03 | s3-security: use shared SECINFO_OWNER define. | Günther Deschner | 4 | -7/+7 | |
Guenther | |||||
2010-06-03 | s3-security: remove some more shared secdesc defines. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2010-06-02 | Ensure we remove SMB2 cancel requests from the active queue | Jeremy Allison | 1 | -0/+1 | |
now we don't remove them in the talloc destructor. Jeremy. |