summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner1-0/+1
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-07-27s3-smbd: Convert reply_printqueue to use spoolss.Simo Sorce1-22/+91
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-smbd: Use the right check to test if we can print.Simo Sorce1-1/+1
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Moved printing.c headers to include/printing.h.Simo Sorce1-0/+1
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-smbd: Migrated to new spoolss functions for printing.Simo Sorce1-1/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-05s3: Remove smbd_messaging_context() from smbd_do_locking()Volker Lendecke1-3/+3
2010-07-05s3: Remove smbd_messaging_context() from rename_open_files()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_unlock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_lock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_writeunlock()Volker Lendecke1-1/+1
2010-07-05s3: Remove smbd_messaging_context() from reply_lockread()Volker Lendecke1-1/+1
2010-06-13s3: Remove fsp_belongs_connVolker Lendecke1-16/+0
check_open_fsp does exactly the same
2010-06-13s3: Remove some leftovers from macrosVolker Lendecke1-5/+5
check_fsp and check_fsp_open used to be macros
2010-06-12s3: Explicitly pass sconn to is_valid_writeX_bufferVolker Lendecke1-2/+2
2010-06-12s3: Explicitly pass sconn to reply_readbraw_errorVolker Lendecke1-10/+11
2010-06-12s3: Pass sconn explicitly to reply_specialVolker Lendecke1-2/+1
2010-06-12s3: Remove smbd_server_conn from smbd_do_lockingVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_rmdirVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_writebrawVolker Lendecke1-2/+2
2010-06-12s3: Remove smbd_server_conn from reply_read_and_XVolker Lendecke1-3/+3
2010-06-12s3: Remove smbd_server_conn from send_file_readXVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_readVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_lockreadVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_readbrawVolker Lendecke1-2/+3
2010-06-12s3: Remove smbd_server_conn from reply_send_file_readbrawVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_ulogoffXVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_fcloseVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_searchVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_tcon_and_XVolker Lendecke1-1/+1
2010-06-12s3: Remove smbd_server_conn from reply_tconVolker Lendecke1-1/+1
2010-06-09Rename "allow_smb2" -> "using_smb2" and make the usage clearer.Jeremy Allison1-1/+1
2010-06-03s3-security: use shared "Standard access rights.".Günther Deschner1-1/+1
Guenther
2010-05-31s3: Fix some debug messagesVolker Lendecke1-4/+4
2010-05-19After talking with Microsoft engineers, the "lock spin time" isJeremy Allison1-1/+2
no longer used in SMB2. Jeremy.
2010-05-07This patch looks bigger than it is. It does 2 things. 1). Renames smbpid -> ↵Jeremy Allison1-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-30smbd: move printfile_offset() within write_file()Simo Sorce1-12/+4
2010-04-29Carefully label SMB1-specific locking calls.Jeremy Allison1-1/+1
Jeremy.
2010-04-23s3-smbd: group print relate data in own structureSimo Sorce1-1/+6
2010-04-05Fix issue with aio where r/w lock wasn't kept across aio read operations.Jeremy Allison1-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-31Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.Jeremy Allison1-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-31Fix bug 7310 - DOS attribute inconsistency with MS OfficeJeremy Allison1-0/+15
On rename we need to set the archive bit on the renamed file. Jeremy
2010-03-30Fix for bug #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison1-4/+12
Contains for by Sebastian Kloska <oncaphillis@snafu.de>. Submitter confirms this fixes the problem. Jeremy.
2010-03-26Revert the part of bug fix #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison1-22/+4
Submitter reports print file corruption after 2GB when SMBwrite etc. always write at EOF. Still working on the fix. Jeremy.
2010-03-24Fix bug #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison1-25/+53
Ensure we always write at end-of-file for older write calls. Jeremy.
2010-03-22s3:smbd: disallow readbraw and writebraw if the echo handler is activeStefan Metzmacher1-0/+17
metze
2010-03-22s3:smbd: disable sendfile if the echo handler is activeStefan Metzmacher1-0/+4
metze
2010-03-22s3:smbd: let reply_readbraw_error use the locked socketStefan Metzmacher1-0/+11
metze
2010-03-10Fix bug #7234 - Symlink delete fails but incorrectly reports success to client.Jeremy Allison1-1/+1
Typo called LSTAT instead of STAT in the unlink by pathname path. Jeremy.
2010-03-05Fix for bug #7189 - Open txt files with notepad on samba shares creates problem.Jeremy Allison1-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-12s3/smbd: change locking behavior when "lock spin time = 0".Steven Danneman1-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.