1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3/smbd
Jeremy Allison a8329d2536 s3: smbd: Flatten the check_path_syntax_smb2() wrapper.
Keep it, rather and move all SMB2 code to check_path_syntax()
as I want to keep SMB1/SMB2 code as separate as possible so
we can remove any SMB1 code path later.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2023-03-31 20:22:38 +00:00
..
notifyd lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
avahi_register.c
blocking.c s3: smbd: Remove lock_flav argument from smbd_smb1_brl_finish_by_lock(). 2022-01-06 15:11:38 +00:00
close.c smbd: Remove source3/smbd/statcache.c 2022-12-14 22:54:29 +00:00
conn_idle.c s3:rpc_server: Activate samba-dcerpcd 2021-12-10 14:02:30 +00:00
conn_msg.c
conn.c s3/smbd: Use after free when iterating smbd_server_connection->connections 2022-08-17 09:54:06 +00:00
connection.c
dfree.c smbd: Save a few lines with str_list_add_printf() 2022-01-18 20:22:38 +00:00
dir.c smbd: Remove dptr_struct->expect_close 2023-02-13 20:28:33 +00:00
dmapi.c
dnsregister.c
dosmode.c smbd: Use direct struct initialization, avoid explicit ZERO_STRUCT() 2022-12-15 21:52:34 +00:00
durable.c smbd: Pass vfs_open_how through fd_openat 2022-08-06 01:43:50 +00:00
error.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +00:00
fake_file.c smbd: Modernize DBG statements in open_fake_file() 2022-08-26 18:54:37 +00:00
fd_handle.c smbd: Remove NTCREATEX_FLAG_DELETE_ON_CLOSE 2022-06-06 19:22:28 +00:00
fd_handle.h smbd: fd_handle.h does not need includes.h 2022-04-26 21:41:29 +00:00
file_access.c smbd: use metadata_fsp() with SMB_VFS_FGET_NT_ACL() 2022-08-10 15:32:35 +00:00
fileio.c smbd: use fdos_mode() in mark_file_modified() 2020-12-16 09:08:31 +00:00
filename.c smbd: RIP DFS pathname processing in filename_convert_dirfsp_nosymlink() 2023-03-31 05:12:32 +00:00
files.c s3: smbd: Tweak openat_pathref_dirfsp_nosymlink() to NULL out fsp->fsp_name after calling fd_close() on intermediate directories, rather than before. 2023-01-13 08:33:47 +00:00
globals.c smbd: Slightly simplify set_current_case_sensitive() 2022-12-14 22:54:29 +00:00
globals.h smbd: smbd_do_qfilepathinfo() does not need lock_data anymore 2023-01-04 08:54:32 +00:00
mangle_hash2.c smbd: Use ISDOT/ISDOTDOT 2022-02-17 17:13:35 +00:00
mangle_hash.c smbd: Move fast_string_hash() to mangle_hash.c, the only user 2022-01-05 00:11:37 +00:00
mangle.c
msdfs.c s3: smbd: Remove now unused dfs_filename_convert(). 2023-03-31 05:12:32 +00:00
notify_fam.c
notify_inotify.c smbd: Align two integer types 2020-11-04 18:55:39 +00:00
notify_msg.c notifyd: Factor out notify_walk() into its own file 2020-10-24 05:57:31 +00:00
notify.c s3: smbd: notify_mid_maps is used by both SMB1 and SMB2. 2022-03-08 22:12:37 +00:00
ntquotas.c
open.c s3: smbd: Fix log spam. Change a normal error message from DBG_ERR (level 0) to DBG_INFO (level 5). 2023-02-11 08:48:05 +00:00
oplock_linux.c lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
password.c
perfcount.c
posix_acls.c posix_acls: Make try_chown and unpack_nt_owners static 2022-12-02 07:00:31 +00:00
proto.h s3: smbd: Remove now unused dfs_filename_convert(). 2023-03-31 05:12:32 +00:00
pysmbd.c pysmbd: set_nt_acl() can raise FileNotFoundError 2022-09-07 05:01:37 +00:00
quotas.c
scavenger.c smbd: remove process shortname arg from smbd_reinit_after_fork() 2022-12-14 01:38:29 +00:00
scavenger.h
seal.c
sec_ctx.c sec_ctx.c: Fix -Wunused-function warning on macOS 2021-10-13 01:42:35 +00:00
server_exit.c smbd: remove process shortname arg from reinit_after_fork() 2022-12-14 01:38:29 +00:00
server_reload.c smbd: Remove source3/smbd/statcache.c 2022-12-14 22:54:29 +00:00
server.c smbd: Remove source3/smbd/statcache.c 2022-12-14 22:54:29 +00:00
session.c
share_access.c Revert "s3:smbd: Remove NIS support" 2022-06-09 21:45:28 +00:00
smb1_aio.c s3: smbd: Rename construct_reply_common_req() -> construct_smb1_reply_common_req() 2022-04-07 17:37:30 +00:00
smb1_aio.h smbd: Move schedule_aio_write_and_X to smb1_aio.c 2022-04-07 17:37:29 +00:00
smb1_ipc.c s3: smbd: Rename init_smb_request() -> init_smb1_request(). 2022-04-07 17:37:30 +00:00
smb1_ipc.h smbd: Move ipc.c -> smb1_ipc.c 2022-04-07 17:37:29 +00:00
smb1_lanman.c smbd: Make get_safe_[[SI]VAL|ptr] static to smb1_lanman.c 2023-01-10 00:28:37 +00:00
smb1_lanman.h smbd: Move lanman.c -> smb1_lanman.c 2022-04-07 17:37:29 +00:00
smb1_message.c smbd: Remove a few "extern userdom_struct current_user_info" 2022-12-12 22:14:20 +00:00
smb1_message.h smbd: Move message.c -> smb1_message.c 2022-04-07 17:37:29 +00:00
smb1_negprot.c lib: Make substitute.c's "remote_proto" static 2022-12-12 21:16:33 +00:00
smb1_negprot.h smbd: Move negprot.c -> smb1_negprot.c 2022-04-07 17:37:29 +00:00
smb1_nttrans.c smbd: use smb1_strip_dfs_path() in reply_ntrename() 2023-03-31 05:12:32 +00:00
smb1_nttrans.h smbd: Remove duplicate read_nttrans_ea_list function prototype 2022-04-07 17:37:30 +00:00
smb1_oplock.c s3: smbd: Rename srv_set_message() -> srv_smb1_set_message(). 2022-04-07 17:37:30 +00:00
smb1_oplock.h smbd: Move send_break_message_smb1 to smb1_oplock.c 2022-04-07 17:37:29 +00:00
smb1_pipes.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +00:00
smb1_pipes.h smbd: Move reply_pipe_write to smb1_pipes.c 2022-04-07 17:37:30 +00:00
smb1_process.c smbd: Slightly simplify set_current_case_sensitive() 2022-12-14 22:54:29 +00:00
smb1_process.h smbd: Move valid_smb_header to smb2_process.c 2022-04-07 17:37:30 +00:00
smb1_reply.c smbd: use smb1_strip_dfs_path() in reply_search() 2023-03-31 05:12:32 +00:00
smb1_reply.h s3: smbd: Move reply_findnclose() from trans2.c to smb1_reply.c 2022-04-07 17:37:30 +00:00
smb1_service.c smbd: Move make_connection to smb1_service.c 2022-04-07 17:37:29 +00:00
smb1_service.h smbd: Move make_connection to smb1_service.c 2022-04-07 17:37:29 +00:00
smb1_sesssetup.c s3: smbd: Rename reply_outbuf() -> reply_smb1_outbuf(). 2022-04-07 17:37:30 +00:00
smb1_sesssetup.h smbd: Move sesssetup.c -> smb1_sesssetup.c 2022-04-07 17:37:29 +00:00
smb1_signing.c smbd: Move signing.c -> smb1_signing.c 2022-04-07 17:37:29 +00:00
smb1_signing.h smbd: Move signing.c -> smb1_signing.c 2022-04-07 17:37:29 +00:00
smb1_trans2.c smbd: use smb1_strip_dfs_path() in call_trans2findfirst() 2023-03-31 05:12:32 +00:00
smb1_trans2.h smbd: Move handling smb_set_posix_lock() to smb1_trans2.c 2023-01-04 08:54:32 +00:00
smb1_utils.c smbd: Move message_push_string() to smb1_utils.c 2022-06-06 19:22:28 +00:00
smb1_utils.h smbd: Move message_push_string() to smb1_utils.c 2022-06-06 19:22:28 +00:00
smb2_aio.c s3: smbd: Fix schedule_smb2_aio_read() to allow the last read in a compound to go async. 2022-12-01 16:04:07 +00:00
smb2_break.c
smb2_close.c smbd: debug in smbd_smb2_close_send() 2022-12-09 23:11:38 +00:00
smb2_create.c s3: smbd: Remove 'is_dfs' parameter to check_path_syntax_smb2(). 2023-03-31 05:12:32 +00:00
smb2_flush.c s3: smbd: Cause SMB2_OP_FLUSH to go synchronous in a compound anywhere but the last operation in the list. 2022-11-17 05:55:42 +00:00
smb2_getinfo.c smbd: Remove a variable only ever set to NULL 2023-03-09 18:10:33 +00:00
smb2_glue.c s3: smbd: Cleanup - don't set the FLAGS2_DFS_PATHNAMES in flags2 in the glue struct if it's not a DFS server or share. 2023-03-31 05:12:32 +00:00
smb2_ioctl_dfs.c
smb2_ioctl_filesys.c smbd: Save a few lines by using tevent_req_nterror()'s retval 2022-09-07 18:40:28 +00:00
smb2_ioctl_named_pipe.c
smb2_ioctl_network_fs.c vfs: Add flags and xferlen args to SMB_VFS_OFFLOAD_READ_RECV 2021-10-08 19:28:32 +00:00
smb2_ioctl_private.h s3: smbd: Split out smb2_ioctl_smbtorture() into a separate file. 2021-08-11 19:16:29 +00:00
smb2_ioctl_smbtorture.c s3: smbd: Call smbd_fsctl_torture_async_sleep() when we get FSCTL_SMBTORTURE_FSP_ASYNC_SLEEP. 2021-08-11 19:16:29 +00:00
smb2_ioctl.c smb2_ioctl: return BUFFER_TOO_SMALL in smbd_smb2_request_ioctl_done() 2021-12-01 11:04:29 +00:00
smb2_ipc.c smbd: Move nt_status_np_pipe to smb2_ipc.c 2022-04-07 17:37:29 +00:00
smb2_keepalive.c
smb2_lock.c s3: smbd: Plumb in POSIX lock requests through SMB2 lock calls if done on a POSIX handle. Currently not allowed. 2022-02-01 16:30:37 +00:00
smb2_negprot.c lib: Make substitute.c's "remote_proto" static 2022-12-12 21:16:33 +00:00
smb2_notify.c smbd: Save a few lines by using tevent_req_nterror()'s retval 2022-09-07 18:40:28 +00:00
smb2_nttrans.c s3: smbd: Add src_dirfsp and dst_dirfsp parameters to copy_internals(). 2022-08-02 19:49:32 +00:00
smb2_oplock.c s3:smbd: remove static from release_file_oplock() 2022-09-20 00:34:35 +00:00
smb2_pipes.c smbd: Move reply_pipe_write to smb1_pipes.c 2022-04-07 17:37:30 +00:00
smb2_posix.c s3: smbd: store_smb2_posix_info hide info for '..' 2022-11-29 10:26:38 +00:00
smb2_process.c s3: smbd: Rename init_smb_request() -> init_smb1_request(). 2022-04-07 17:37:30 +00:00
smb2_query_directory.c smbd: Remove dptr_struct->expect_close 2023-02-13 20:28:33 +00:00
smb2_read.c smbd: Introduce fsp_is_alternate_stream() 2022-02-11 20:54:37 +00:00
smb2_reply.c s3: smbd: Flatten the check_path_syntax_smb2() wrapper. 2023-03-31 20:22:38 +00:00
smb2_server.c smbd: Pass error_context_count through smbd_smb2_request_error_ex() 2022-11-22 18:27:33 +00:00
smb2_service.c smbd: Make set_current_case_sensitive() static 2022-12-14 22:54:29 +00:00
smb2_sesssetup.c smbd: Save a few lines by using tevent_req_nterror()'s retval 2022-09-07 18:40:28 +00:00
smb2_setinfo.c smbd: Remove NTCREATEX_FLAG_DELETE_ON_CLOSE 2022-06-06 19:22:28 +00:00
smb2_signing.c smbd: Disable call to smb1_srv_init_signing without smb1 2022-04-07 17:37:29 +00:00
smb2_tcon.c smb2_tcon: also try to cancel pending compound requests on tdis 2021-03-29 20:43:28 +00:00
smb2_trans2.c s3: smbd: In smb_file_link_information() and smb_file_rename_information() the target path is never DFS. 2023-03-31 05:12:32 +00:00
smb2_write.c smbd: Use fsp_is_alternate_stream() where an fsp is available 2022-02-11 20:54:37 +00:00
smbd_cleanupd.c
smbd_cleanupd.h
smbd.h smbd: Hide the SMB1 posix symlink behaviour behind UCF_LCOMP_LNK_OK 2022-12-22 19:50:34 +00:00
smbXsrv_client.c lib: Use tdb_data_dbg() where appropriate 2023-01-10 00:28:37 +00:00
smbXsrv_open.c smbd: Fix a typo 2023-03-09 18:10:33 +00:00
smbXsrv_open.h smbd: Remove smbXsrv_open_global0->db_rec 2023-02-13 10:49:43 +00:00
smbXsrv_session.c lib: Use tdb_data_dbg() where appropriate 2023-01-10 00:28:37 +00:00
smbXsrv_tcon.c lib: Use tdb_data_dbg() where appropriate 2023-01-10 00:28:37 +00:00
smbXsrv_version.c
srvstr.c smbd: Move message_push_string() to smb1_utils.c 2022-06-06 19:22:28 +00:00
statvfs.c smbd: Fix the build on FreeBSD 2022-08-04 20:44:32 +00:00
uid.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
utmp.c
vfs.c s3:smbd: add helpers to deny vfs calls in some sections 2022-09-20 00:34:35 +00:00