Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-06-12 | s3: Explicitly pass sconn to is_valid_writeX_buffer | Volker Lendecke | 1 | -2/+2 | |
2010-06-12 | s3: Explicitly pass sconn to reply_readbraw_error | Volker Lendecke | 1 | -10/+11 | |
2010-06-12 | s3: Pass sconn explicitly to reply_special | Volker Lendecke | 1 | -2/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from smbd_do_locking | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_rmdir | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_writebraw | Volker Lendecke | 1 | -2/+2 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_read_and_X | Volker Lendecke | 1 | -3/+3 | |
2010-06-12 | s3: Remove smbd_server_conn from send_file_readX | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_read | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_lockread | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_readbraw | Volker Lendecke | 1 | -2/+3 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_send_file_readbraw | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_ulogoffX | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_fclose | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_search | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_tcon_and_X | Volker Lendecke | 1 | -1/+1 | |
2010-06-12 | s3: Remove smbd_server_conn from reply_tcon | Volker Lendecke | 1 | -1/+1 | |
2010-06-09 | Rename "allow_smb2" -> "using_smb2" and make the usage clearer. | Jeremy Allison | 1 | -1/+1 | |
2010-06-03 | s3-security: use shared "Standard access rights.". | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2010-05-31 | s3: Fix some debug messages | Volker Lendecke | 1 | -4/+4 | |
2010-05-19 | After talking with Microsoft engineers, the "lock spin time" is | Jeremy Allison | 1 | -1/+2 | |
no longer used in SMB2. Jeremy. | |||||
2010-05-07 | This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> ↵ | Jeremy Allison | 1 | -30/+30 | |
smblctx in our locking code. 2). Widens smblctx to 64-bits internally. Preparing to use the SMB2 handle as the locking context. Jeremy. | |||||
2010-04-30 | smbd: move printfile_offset() within write_file() | Simo Sorce | 1 | -12/+4 | |
2010-04-29 | Carefully label SMB1-specific locking calls. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2010-04-23 | s3-smbd: group print relate data in own structure | Simo Sorce | 1 | -1/+6 | |
2010-04-05 | Fix issue with aio where r/w lock wasn't kept across aio read operations. | Jeremy Allison | 1 | -26/+52 | |
Change schedule_aio_read_and_X/schedule_aio_write_and_X to return NTSTATUS. Move the grant and release of the lock into the aio code. Jeremy | |||||
2010-03-31 | Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count. | Jeremy Allison | 1 | -13/+4 | |
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 | Fix bug 7310 - DOS attribute inconsistency with MS Office | Jeremy Allison | 1 | -0/+15 | |
On rename we need to set the archive bit on the renamed file. Jeremy | |||||
2010-03-30 | Fix for bug #7233 - print fails with jobs >4GB from Win7 clients. | Jeremy Allison | 1 | -4/+12 | |
Contains for by Sebastian Kloska <oncaphillis@snafu.de>. Submitter confirms this fixes the problem. Jeremy. | |||||
2010-03-26 | Revert the part of bug fix #7233 - print fails with jobs >4GB from Win7 clients. | Jeremy Allison | 1 | -22/+4 | |
Submitter reports print file corruption after 2GB when SMBwrite etc. always write at EOF. Still working on the fix. Jeremy. | |||||
2010-03-24 | Fix bug #7233 - print fails with jobs >4GB from Win7 clients. | Jeremy Allison | 1 | -25/+53 | |
Ensure we always write at end-of-file for older write calls. Jeremy. | |||||
2010-03-22 | s3:smbd: disallow readbraw and writebraw if the echo handler is active | Stefan Metzmacher | 1 | -0/+17 | |
metze | |||||
2010-03-22 | s3:smbd: disable sendfile if the echo handler is active | Stefan Metzmacher | 1 | -0/+4 | |
metze | |||||
2010-03-22 | s3:smbd: let reply_readbraw_error use the locked socket | Stefan Metzmacher | 1 | -0/+11 | |
metze | |||||
2010-03-10 | Fix bug #7234 - Symlink delete fails but incorrectly reports success to client. | Jeremy Allison | 1 | -1/+1 | |
Typo called LSTAT instead of STAT in the unlink by pathname path. Jeremy. | |||||
2010-03-05 | Fix for bug #7189 - Open txt files with notepad on samba shares creates problem. | Jeremy Allison | 1 | -2/+16 | |
Ensure we don't use any of the create_options for Samba private use. Add a new parameter to the VFS_CREATE call (private_flags) which is only used internally. Renumber NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and NTCREATEX_OPTIONS_PRIVATE_DENY_FCB to match the S4 code). Rev. the VFS interface to version 28. Jeremy. | |||||
2010-02-12 | s3/smbd: change locking behavior when "lock spin time = 0". | Steven Danneman | 1 | -6/+15 | |
The "lock spin time" parameter mimics the following Windows setting which by default is 250ms in Windows and 200ms in Samba. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\LockViolationDelay When a client sends repeated, non-blocking, contending BRL requests to a Windows server, after the first Windows starts treating these requests as timed blocking locks with the above timeout. As an efficiency, I've changed the behavior when this setting is 0, to skip this logic and treat all requests as non-blocking locks. This gives the smbd server behavior similar to the 3.0 release with the do_spin_lock() implementation. I've also changed the blocking lock parameter in the call from push_blocking_lock_request() to true as all requests made in this path are blocking by definition. | |||||
2010-01-12 | Fix bug #7033 - SMBrmdir call always returns true, even on failure to delete ↵ | Jeremy Allison | 1 | -2/+6 | |
a directory. There is a codepath missing to propagate back error returns from the rmdir POSIX call inside close_directory when delete on close is set. This means doing an rmdir on a Windows command line will always report success, even when the directory was not deleted. This fix adds that codepath back into Samba. Jeremy. | |||||
2009-12-21 | Rename reply_doserror() -> reply_force_doserror(). | Jeremy Allison | 1 | -12/+12 | |
Rewrite all calls to reply_nterror(NT_STATUS_DOS()) to reply_force_doserror() and update the comment in smbd/error.c Jeremy. | |||||
2009-12-21 | Remove all calls to reply_doserror - turn them into | Jeremy Allison | 1 | -46/+47 | |
correct reply_nterror calls. Next rename reply_doserror -> reply_force_doserror and plumb in when NT_STATUS_DOS is used. Jeremy. | |||||
2009-12-18 | reply_doserror() doesn't force DOS errors on the wire. | Jeremy Allison | 1 | -10/+10 | |
Start migrating uses of reply_doserror() to reply_nterror() with the correct mapping. Eventually we'll get to the point where we can change reply_doserror() to force a DOS error code on the wire, and can change calls to reply_nterror(req, NT_STATUS_DOS()) - which *does* force DOS errors on the wire - to reply_doserror(). Which might actually make the server code look like it's making sense. Jeremy. | |||||
2009-12-04 | Make Samba3 pass the RAW-LOCK test as Windows. | Jeremy Allison | 1 | -0/+24 | |
Implement the win7 NT_STATUS_INVALID_LOCK_RANGE. Make smbd behave as Windows does in canceling locks. Jeremy. | |||||
2009-12-03 | Refactor reply_rmdir to use handle based code. All | Jeremy Allison | 1 | -260/+40 | |
calls are now handle based. Put rmdir into close.c and make it private. Jeremy. | |||||
2009-12-02 | Remove unneeded argument from can_set_delete_on_close(). Ensure | Jeremy Allison | 1 | -19/+11 | |
can_set_delete_on_close() is correctly called before any setting of the disposition bit (clean up the do_unlink() call). Jeremy. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in mask_match() explicit" | Volker Lendecke | 1 | -4/+3 | |
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit" | Volker Lendecke | 1 | -2/+1 | |
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to get_Protocol in lp_use_sendfile() ↵ | Volker Lendecke | 1 | -4/+2 | |
explicit" This reverts commit 6a149022976fe6a5579ec9afc7a4d2dcb44dc8af. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 1 | -17/+11 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 1 | -11/+17 | |
2009-11-21 | s3: Make the implicit reference to get_Protocol in lp_use_sendfile() explicit | Volker Lendecke | 1 | -2/+4 | |