1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/smbd
Stefan Metzmacher de0e6dfdb8 smb2_server: call smbXsrv_connection_disconnect_transport() early on network errors
It's good to remember the first error we got and makes sure we don't try
any further io on the connection.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2020-05-15 09:04:36 +00:00
..
notifyd notifyd: Fix SIGBUS on sparc 2019-02-22 12:30:10 +01:00
aio.c smbd: add vfs_valid_{pread,pwrite}_range() checks where needed 2020-05-12 19:53:44 +00:00
avahi_register.c s3-smbd: use fruit:model string for mDNS registration 2019-01-15 21:27:20 +01:00
blocking.c smbd: move files_struct.lock_failure_seen to a bitfield 2020-04-03 20:41:34 +00:00
close.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
conn_idle.c smbd: move files_struct.closing to a bitfield 2020-04-03 19:05:44 +00:00
conn_msg.c smbd: Add close-denied-share message 2020-01-15 21:25:35 +00:00
conn.c s3: VFS: change connection_struct cwd_fname to cwd_fsp 2019-08-16 19:52:32 +00:00
connection.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
dfree.c smbdotconf: mark "dfree command" with substitution="1" 2019-11-27 10:25:32 +00:00
dir.c s3: smbd: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT() in user_can_read_file(). 2020-05-07 19:27:36 +00:00
dmapi.c
dnsregister.c
dosmode.c vfs: remove root_dir_fid arg from SMB_VFS_CREATE_FILE() 2020-05-14 19:43:27 +00:00
durable.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
error.c s3:smbd: Fix converity warning with _smb_setlen_large() 2018-05-16 21:30:23 +02:00
fake_file.c s3: smbd: Add a dirfsp parameter to smbd_calculate_access_mask(). 2020-05-04 13:55:34 +00:00
file_access.c s3: smbd: Change SMB_VFS_GET_NT_ACL() -> SMB_VFS_GET_NT_ACL_AT() in directory_has_default_acl(). 2020-05-07 19:27:36 +00:00
fileio.c smbd: add vfs_valid_{pread,pwrite}_range() checks where needed 2020-05-12 19:53:44 +00:00
filename.c smbd: make get_real_filename_full_scan() public 2020-05-06 10:18:38 +00:00
files.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
globals.c smbd: Remove write cache 2019-11-13 00:20:55 +00:00
globals.h s3:smbd: split out smbXsrv_connection_disconnect_transport() 2020-05-15 09:04:36 +00:00
ipc.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
lanman.c smbd: use smbXsrv_session_info_lookup() in api_reply() 2020-01-13 19:41:35 +00:00
mangle_hash2.c smbd: Save 520 bytes of writable memory from every smbd 2019-10-23 02:37:12 +00:00
mangle_hash.c
mangle.c smbdotconf: mark "mangling method" with constant="1" 2019-11-27 10:25:37 +00:00
message.c smbdotconf: mark "message command" with substitution="1" 2019-11-27 10:25:35 +00:00
msdfs.c smbd: pass twrp as NTTIME to filename_convert() and all the way down to canonicalize_snapshot_path() 2020-05-05 19:18:40 +00:00
negprot.c smbd: use put_long_date_full_timespec() 2019-12-06 00:17:36 +00:00
notify_fam.c
notify_inotify.c
notify_msg.c smbd: remove unused tevent_context argument from notify_init 2018-06-18 08:59:18 +02:00
notify.c smbd: Only remove locks by mid if necessary 2019-06-20 17:18:16 +00:00
ntquotas.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
nttrans.c vfs: remove root_dir_fid arg from SMB_VFS_CREATE_FILE() 2020-05-14 19:43:27 +00:00
open.c vfs: remove root_dir_fid arg from SMB_VFS_CREATE_FILE() 2020-05-14 19:43:27 +00:00
oplock_linux.c smbd: Remove unused define 2020-01-21 22:08:41 +00:00
oplock.c smbd: Use explicit share_mode_wakeup_waiters() 2019-12-16 19:02:32 +00:00
password.c smbd: RIP user_struct 2020-01-13 21:09:01 +00:00
perfcount.c smbdotconf: mark "perfcount module" with substitution="1" 2019-11-27 10:25:36 +00:00
pipes.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
posix_acls.c Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
process.c smb2_server: make sure we detect stale smbXsrv_connection pointers in smbXsrv_channel_global 2020-05-15 09:04:36 +00:00
proto.h vfs: remove root_dir_fid arg from SMB_VFS_CREATE_FILE() 2020-05-14 19:43:27 +00:00
pysmbd.c Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
quotas.c quotas: Check group quota for directory when SGID is set 2019-08-14 16:27:43 +00:00
reply.c vfs: remove root_dir_fid arg from SMB_VFS_CREATE_FILE() 2020-05-14 19:43:27 +00:00
scavenger.c smbd: Call reopen_logs() in the smbd scavenger 2019-12-09 16:10:38 +00:00
scavenger.h
seal.c
sec_ctx.c
server_exit.c s3:smbd: split out smbXsrv_connection_disconnect_transport() 2020-05-15 09:04:36 +00:00
server_reload.c smbdotconf: mark "next configfile" with substitution="1" 2019-11-27 10:25:34 +00:00
server.c s3:rpc_server: Reinitialize dcesrv_context in external spoolssd daemon 2020-03-20 15:36:32 +00:00
service.c smbd: add twrp arg to synthetic_smb_fname() 2020-05-05 19:18:40 +00:00
session.c s3:smbd: fix SAFE_FREE() vs. TALLOC_FREE() in list_sessions() 2019-03-28 23:09:33 +00:00
sesssetup.c smbd: remove sub_set_smb_name()/reload_services() 2020-02-06 10:17:43 +00:00
share_access.c s3:param: make "servicename" a substituted option 2019-11-27 10:25:37 +00:00
signing.c s3:smbd: Return NTSTATUS for srv_calculate_sign_mac() 2019-05-21 00:03:22 +00:00
smb1_utils.c smbd: Remove "share_access" from fcb_or_dos_open() 2019-08-06 21:49:29 +00:00
smb1_utils.h smbd: Remove "share_access" from fcb_or_dos_open() 2019-08-06 21:49:29 +00:00
smb2_break.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_close.c smbd: move files_struct.closing to a bitfield 2020-04-03 19:05:44 +00:00
smb2_create.c vfs: remove root_dir_fid arg from SMB_VFS_CREATE_FILE() 2020-05-14 19:43:27 +00:00
smb2_flush.c smbd: move files_struct.is_directory to a bitfield 2020-04-03 19:05:44 +00:00
smb2_getinfo.c s3: smbd: Plumb through struct smb_request *req parameter so it can be used by smb_query_posix_acl(). 2019-06-24 18:49:09 +00:00
smb2_glue.c smbd: use session->global->session_wire_id instead of session->compat->vuid 2020-01-13 19:41:34 +00:00
smb2_ioctl_dfs.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_ioctl_filesys.c smbd: move files_struct.is_sparse to a bitfield 2020-04-03 19:05:44 +00:00
smb2_ioctl_named_pipe.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_ioctl_network_fs.c smb2_ioctl_network_fs: remove unused fsctl_srv_copychunk_state->aapl_copyfile 2019-03-28 23:09:34 +00:00
smb2_ioctl_private.h
smb2_ioctl.c Revert "smbd: add an effective {smb,smbd_smb2}_request->ev_ctx that holds the event context used for the request processing" 2019-01-11 23:11:16 +01:00
smb2_keepalive.c s3: debug: smb2: Create a new DBGC_SMB2 debug class and mark all smbd/smb2_*.c files with it. 2018-03-22 02:15:13 +01:00
smb2_lock.c smbd: move files_struct.closing to a bitfield 2020-04-03 19:05:44 +00:00
smb2_negprot.c s3: smbd: Change (*proto_reply_fn()) to return an NTSTATUS. 2019-12-04 20:02:40 +00:00
smb2_notify.c smbd: move files_struct.is_directory to a bitfield 2020-04-03 19:05:44 +00:00
smb2_query_directory.c Revert "smbd: fullpath based on fsp->fsp_name may contain an @GMT token" 2020-05-05 20:55:41 +00:00
smb2_read.c smbd: move files_struct.is_directory to a bitfield 2020-04-03 19:05:44 +00:00
smb2_server.c smb2_server: call smbXsrv_connection_disconnect_transport() early on network errors 2020-05-15 09:04:36 +00:00
smb2_sesssetup.c smb2_server: make sure we detect stale smbXsrv_connection pointers in smbXsrv_channel_global 2020-05-15 09:04:36 +00:00
smb2_setinfo.c smbd: use session->global->session_wire_id instead of session->compat->vuid 2020-01-13 19:41:34 +00:00
smb2_tcon.c s3:smb2_tcon: pass down in_flags to smbd_smb2_tree_connect_send() 2020-02-26 21:11:59 +00:00
smb2_write.c s3:smb2_write: add missing initialization of state->in_offset 2019-03-28 23:09:33 +00:00
smbd_cleanupd.c smbd: Remove unused brlock code 2019-06-20 17:18:19 +00:00
smbd_cleanupd.h
smbd.h smbd: remove struct privilege_paths 2020-03-31 19:32:11 +00:00
smbXsrv_client.c smb2_server: make sure we detect stale smbXsrv_connection pointers in smbXsrv_channel_global 2020-05-15 09:04:36 +00:00
smbXsrv_open.c smbd: Remove unused smbXsrv_open_hash() 2019-09-17 22:49:35 +00:00
smbXsrv_session.c smb2_server: make sure we detect stale smbXsrv_connection pointers in smbXsrv_channel_global 2020-05-15 09:04:36 +00:00
smbXsrv_tcon.c smbd: use session->global->session_wire_id instead of session->compat->vuid 2020-01-13 19:41:34 +00:00
smbXsrv_version.c lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
srvstr.c s3: smbd: Chain code can return uninitialized memory when talloc buffer is grown. 2017-11-21 19:42:22 +01:00
statcache.c smbd: strip @GMT token in canonicalize_snapshot_path() 2020-05-05 19:18:43 +00:00
statvfs.c statvfs: rename linux_statvfs to posix_statvfs 2019-01-11 02:53:57 +01:00
trans2.c vfs: remove root_dir_fid arg from SMB_VFS_CREATE_FILE() 2020-05-14 19:43:27 +00:00
uid.c smbd: setting current_user stuff here is redundant 2020-02-06 10:17:42 +00:00
utmp.c s3/smbd: fix utmp hostname logging on Solaris 2019-01-10 22:46:11 +01:00
vfs.c vfs: remove root_dir_fid arg from SMB_VFS_CREATE_FILE() 2020-05-14 19:43:27 +00:00