summaryrefslogtreecommitdiff
path: root/source3/smbd
AgeCommit message (Collapse)AuthorFilesLines
2011-12-12s3:smbd/process: avoid using server_event_context() for ↵Stefan Metzmacher1-10/+10
smbd_deferred_open_timer events metze
2011-12-12s3:smbd/oplock: avoid using server_event_context() in ↵Stefan Metzmacher1-3/+3
add_oplock_timeout_handler() metze
2011-12-12s3:smbd/service: avoid using server_event_context() for notify_init()Stefan Metzmacher1-1/+1
metze
2011-12-12s3:smbd/ipc: pass 'state' as mem_ctx to np_read_send()Stefan Metzmacher1-1/+1
metze
2011-12-12s3:smbd/fileio: avoid usage of server_event_context()Stefan Metzmacher1-3/+3
metze
2011-12-12s3:smbd/close: avoid usage of server_event_context()Stefan Metzmacher1-1/+1
metze
2011-12-12s3:smbd/blocking: avoid usage of server_event_context()Stefan Metzmacher1-3/+3
metze
2011-12-12s3:smbd: remember the event context on smbd_server_connectionStefan Metzmacher3-1/+3
metze
2011-12-12s3:smbd: pass down smbd_server_connection via smbd_echo_stateStefan Metzmacher1-4/+5
metze
2011-12-12s3:smbd: remove references to the global smbd_server_connStefan Metzmacher1-2/+2
metze
2011-12-12s3:smbd: make struct pending_message_list privateStefan Metzmacher1-0/+14
metze
2011-12-12s3:smbd: remember the smbd_server_connection on pending_message_listStefan Metzmacher1-4/+6
metze
2011-12-12s3:smbd: call sub_set_socket_ids() in smbd_process() againStefan Metzmacher1-0/+18
This got lost in commit b2511a280aa9449123376fd3cbb495dcd1a87dee. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Dec 12 10:23:44 CET 2011 on sn-devel-104
2011-12-12vfs: Make function pointer names consistent. They all end in _fnRichard Sharpe1-136/+141
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Mon Dec 12 04:58:40 CET 2011 on sn-devel-104
2011-12-08s3: Fix some 64-bit warningsVolker Lendecke1-8/+12
2011-12-02s3: Use autogenerated open_files.idlVolker Lendecke5-0/+5
2011-11-30Fix bug 8636 - When returning an ACL without SECINFO_DACL requested, we ↵Jeremy Allison1-0/+2
still set SEC_DESC_DACL_PRESENT in the type field. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 30 04:59:07 CET 2011 on sn-devel-104
2011-11-29Fix bug 8631 - POSIX ACE x permission becomes rx following mapping to and ↵Jeremy Allison1-2/+2
from a DACL Reported by David Disseldorp. Fix based on a patch by David. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Nov 29 22:32:27 CET 2011 on sn-devel-104
2011-11-24s3:smb2 report access_based_dir_enum in tcon replyChristian Ambach1-0/+5
let the client know when hide unreadable or hide unwriteable files is set for a share
2011-11-24s3:smb2 do not set allow_namespace_caching flag for a shareChristian Ambach1-1/+1
this matches Win7/2002R2 behavior and clients also must ignore this flag when set (MS-SMB 2.2.10), so we should not set it at all
2011-11-22Move setting the inherited ACL into the main open code path. Next willJeremy Allison1-1/+110
remove it from the ACL modules.
2011-11-22Move the "set SD" code into provided SD and "inherit acls" branches.Jeremy Allison1-29/+32
2011-11-22Only add the SD if it's not a new stream file.Jeremy Allison1-1/+1
2011-11-22Move the add security descriptor code to *after* all the other meta-data isJeremy Allison1-35/+35
updated. We may be adding an SD that restricts our own access.
2011-11-20s3:smb2_negprot: add support for SMB2_22Stefan Metzmacher1-0/+15
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Nov 20 16:46:45 CET 2011 on sn-devel-104
2011-11-16s3:smbd: calculate the negprot signing flags from the signing_stateStefan Metzmacher1-3/+10
We should map from lp_server_signing() just once in srv_init_signing(). metze Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 16 18:59:49 CET 2011 on sn-devel-104
2011-11-16Final part of patchset to fix bug #8556 - ACL permissions ignored when ↵Jeremy Allison3-16/+51
SMBsetatr is requested. This now plumbs access checks through all setattr calls. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 04:20:04 CET 2011 on sn-devel-104
2011-11-15Remove the check for FILE_WRITE_ATTRIBUTES from smb_set_file_time(). ItJeremy Allison3-8/+17
is called from places like fileio.c that need to update the write time on a file handle only open for write, without neccessarily having FILE_WRITE_ATTRIBUTES permission. Move all checks to before the smb_set_file_time() callers.
2011-11-15Always set the attribute first, before the time.Jeremy Allison1-7/+7
2011-11-15Move handle-based access check into handle codepath.Jeremy Allison1-4/+4
2011-11-15We've already checked fsp must be non-null here.Jeremy Allison1-1/+1
2011-11-15Remove unneeded access check. This is done inside smb_set_file_time().Jeremy Allison1-4/+0
2011-11-15Remove unneeded access check. This is done inside smb_set_file_size().Jeremy Allison1-4/+0
2011-11-15Move handle based access check into handle code path.Jeremy Allison1-4/+4
2011-11-15Ensure we correctly calculate reply credits over all returnedJeremy Allison1-4/+13
SMB2 replies, and do as Windows does and return the total in the last SMB2 reply. Fixes an issue found by Christian M Ambach <christian.ambach@de.ibm.com> (and thanks to Christian for the initial patch this was based on).
2011-11-15Remove unneeded NULL check.Jeremy Allison1-4/+0
2011-11-15s3:smbd/aio: handle_aio_completed() should do nothing if aio_ex->fsp is NULLStefan Metzmacher1-0/+5
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 15 18:47:55 CET 2011 on sn-devel-104
2011-11-15s3:smbd/aio: pass ECANCELED to the smb2 aio handlersStefan Metzmacher1-1/+4
metze
2011-11-15s3:smb2_read: make it possible to cancel aio readsStefan Metzmacher1-1/+16
metze
2011-11-15s3:smb2_write: make it possible to cancel aio writesStefan Metzmacher1-1/+16
metze
2011-11-15s3:smbd/aio: add cancel_smb2_aio()Stefan Metzmacher2-0/+39
metze
2011-11-15s3:smb2_ioctl: STATUS_PENDING is defered by 1 millisecond for SMB2_IOCTLStefan Metzmacher1-1/+1
metze
2011-11-15s3:smb2_create: defer STATUS_PENDING for 2 seconds as beforeStefan Metzmacher1-1/+7
metze
2011-11-15s3:smb2_server: pass explicit defer_times to smbd_smb2_request_pending_queue()Stefan Metzmacher13-14/+15
metze
2011-11-15s3:smb2_server: always send STATUS_PENDING responses, but delayed by 0.5 ↵Stefan Metzmacher5-152/+125
milliseconds In future we'll pass the delay from the caller. metze
2011-11-14s3:smb2_flush: outbody only needs 4 bytesStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 14 10:01:30 CET 2011 on sn-devel-104
2011-11-10s3: Avoid a race with the async echo handlerVolker Lendecke1-33/+28
We can not read from the echo handler socket when we have the main socket locked. This leads to the echo responder to lock up sitting in the fcntl lock while the parent wants to read the remainder of a large packet.
2011-11-10s3:smbd: don't limit the number of open dptrs for smb2 (bug #8592)Stefan Metzmacher1-3/+12
This fixes a crash bug that is triggered, when a client has more than 256 directory handles with searches. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 10 14:08:14 CET 2011 on sn-devel-104
2011-11-10s3:smbd: fully construct the dptr before allocating a dnum in the bitmapStefan Metzmacher1-27/+29
metze
2011-11-10s3:smbd: avoid string_set() in dir.cStefan Metzmacher1-2/+9
And do some more error checks. metze