1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/source3/smbd
Stefan Metzmacher f4d0bb164f smb2_server: skip tcon check and chdir_current_service() for FSCTL_QUERY_NETWORK_INTERFACE_INFO
We should not fail this just because the user doesn't have
permissions on the share root.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14788

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Wed Dec  1 11:51:50 UTC 2021 on sn-devel-184
2021-12-01 11:51:50 +00:00
..
notifyd lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
aio.c smbd: use fh_[get|set]_pos() and fh_[get|set]_position_information() 2020-12-16 09:08:30 +00:00
avahi_register.c
blocking.c locking: Make share_mode_watch_send() take "share_mode_lock" 2020-11-10 19:49:34 +00:00
close.c smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
conn_idle.c smbd: In conn_force_tdis_done() when forcing a connection closed force a full reload of services. 2021-01-28 07:03:30 +00:00
conn_msg.c
conn.c s3: smbd: Factor out setting up case parameters for a share to a function - conn_setup_case_options(). 2021-01-13 17:02:34 +00:00
connection.c
dfree.c
dir.c s3: smbd: Add dptr_case_sensitive(). Not yet used. 2021-11-16 20:21:37 +00:00
dmapi.c
dnsregister.c
dosmode.c smbd: get rid of get_file_handle_for_metadata() 2021-11-16 18:51:15 +00:00
durable.c smbd: Update comment for durable handles 2021-09-21 18:47:38 +00:00
error.c
fake_file.c smbd: add dosmode_from_fake_filehandle() 2021-06-09 19:47:34 +00:00
fd_handle.c smbd: Move "struct fd_handle" into fd_handle.c 2021-11-11 19:08:37 +00:00
fd_handle.h smbd: add fd_handle.[c|h] 2020-12-16 09:08:30 +00:00
file_access.c s3: smbd: smbd_check_access_rights_fsp(). Add dirfsp parameter. 2021-06-09 13:14:31 +00:00
fileio.c smbd: use fdos_mode() in mark_file_modified() 2020-12-16 09:08:31 +00:00
filename.c s3: smbd: In unix_convert() component_was_mangled is always false for posix. 2021-11-16 20:21:37 +00:00
files.c smbd: Make sure we don't overwrite tmp_buf 2021-11-11 19:08:37 +00:00
globals.c smbd: let smbd_request_guid() use smb1req->xconn->channel_id 2021-03-06 02:20:05 +00:00
globals.h smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
ipc.c libsmb: Remove "trans_oob()" macro 2021-11-11 19:08:37 +00:00
lanman.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
mangle_hash2.c mangle_hash2: remove LOCK$ from list of reserved names 2021-08-24 19:26:59 +00:00
mangle_hash.c
mangle.c
message.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
msdfs.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
negprot.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +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: smbd_check_access_rights_fsp(). Add dirfsp parameter. 2021-06-09 13:14:31 +00:00
ntquotas.c
nttrans.c libsmb: Remove "trans_oob()" macro 2021-11-11 19:08:37 +00:00
open.c s3: smbd: In open_file() use the helper variable to select correct case_sensitive setting to is_in_path(). 2021-11-16 20:21:37 +00:00
oplock_linux.c lib;smbd: Fix the -Os build by initializing variables 2021-08-06 17:22:30 +00:00
oplock.c smbd: use fh_[get|set]_gen_id() 2020-12-16 09:08:30 +00:00
password.c
perfcount.c
pipes.c smbd: Make SID_SAMBA_SMB3 a static SID 2021-10-08 19:28:31 +00:00
posix_acls.c s3: smbd: Explicitly code the semantics of "dos filemode" into the chown code. 2021-07-13 08:11:36 +00:00
process.c smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
proto.h s3: smbd: Add dptr_case_sensitive(). Not yet used. 2021-11-16 20:21:37 +00:00
pysmbd.c s3: smbd: get_nt_acl_conn(), SMB_VFS_GET_NT_ACL_AT() -> SMB_VFS_FGET_NT_ACL() 2021-06-09 13:14:30 +00:00
quotas.c
reply.c s3: smbd: In unlink_internals() ensure we never call mangle_is_mangled for a posix path. 2021-11-16 20:21:37 +00:00
scavenger.c smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +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 lib: give global_contexts.c its own header file 2021-01-08 20:31:33 +00:00
server_reload.c smbd: check lp_load_printers before reload via NetShareEnum 2021-11-08 13:27:40 +00:00
server.c smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
service.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
session.c
sesssetup.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
share_access.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
signing.c
smb1_utils.c smbd: add need_fsa arg and logic to file_find_di_(first|next) 2020-12-16 09:08:31 +00:00
smb1_utils.h lib: Move send_keepalive() to smbd/smb1_utils.c 2020-08-17 19:35:37 +00:00
smb2_break.c s3:smbd: pass down smbXsrv_client to smbd_smb2_send_{oplock,lease}_break() 2020-07-08 15:54:40 +00:00
smb2_close.c smbd: correctly initialize close timestamp fields 2021-05-24 16:56:22 +00:00
smb2_create.c smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
smb2_flush.c smbd: use fsp_get_io_fd() when accessing a file or it's associated metadata 2020-12-16 09:08:30 +00:00
smb2_getinfo.c smbd: use fsp_get_pathref_fd() for fstat() calls 2020-12-16 09:08:30 +00:00
smb2_glue.c s3:smbd: implement FSCTL_SMBTORTURE_FORCE_UNACKED_TIMEOUT 2020-07-08 15:54:40 +00:00
smb2_ioctl_dfs.c
smb2_ioctl_filesys.c vfs: Add flags and xferlen args to SMB_VFS_OFFLOAD_READ_RECV 2021-10-08 19:28:32 +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_keepalive.c
smb2_lock.c locking: Make share_mode_watch_send() take "share_mode_lock" 2020-11-10 19:49:34 +00:00
smb2_negprot.c libcli/smb: actually make use of "client/server smb3 signing algorithms" 2021-07-15 00:06:31 +00:00
smb2_notify.c
smb2_query_directory.c s3: smbd: Use a helper variable in smbd_smb2_query_directory_send(). 2021-11-16 20:21:37 +00:00
smb2_read.c s3:smbd: implement FSCTL_SMBTORTURE_GLOBAL_READ_RESPONSE_BODY_PADDING8 2021-07-15 23:04:34 +00:00
smb2_server.c smb2_server: skip tcon check and chdir_current_service() for FSCTL_QUERY_NETWORK_INTERFACE_INFO 2021-12-01 11:51:50 +00:00
smb2_sesssetup.c source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
smb2_setinfo.c s3: smbd: fix deferred renames 2021-03-31 06:13:39 +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_write.c s3:smbd - support streams larger than 64 KiB 2021-05-10 20:16:21 +00:00
smbd_cleanupd.c
smbd_cleanupd.h
smbd.h smbd: add fd_handle.[c|h] 2020-12-16 09:08:30 +00:00
smbXsrv_client.c smbXsrv_client: move the connection passing to smb2srv_client_mc_negprot_send/recv 2021-03-06 03:30:06 +00:00
smbXsrv_open.c smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
smbXsrv_open.h smbd: Give smbXsrv_open.c its own header file 2021-11-11 19:08:37 +00:00
smbXsrv_session.c s3:smbd: make sure smbXsrv_session_update() doesn't segfault with table == NULL 2021-07-15 00:06:31 +00:00
smbXsrv_tcon.c smbXsrv_{open,session,tcon}: protect smbXsrv_{open,session,tcon}_global_traverse_fn against invalid records 2021-07-06 11:08:43 +00:00
smbXsrv_version.c
srvstr.c s3: safe_string: do not include string_wrappers.h 2020-08-28 00:56:34 +00:00
statcache.c source3/smbd/statcache.c: Fix -Wformat build error on macOS 2021-10-13 01:42:35 +00:00
statvfs.c
trans2.c s3: smbd: In SMB1 call_trans2findnext() add and use a helper variable to ensure we don't call mangle_is_mangled() with a posix name. 2021-11-16 21:06:38 +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 VFS: Fix a typo 2021-11-11 19:08:37 +00:00