1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/source3
Ralph Boehme 974a890822 smbd: use dirfsp and atname in open_directory()
On systems without /proc/fd support this avoid the expensive chdir()
logic in non_widelink_open(). open_file_ntcreate() already passes
dirfsp and atname to reopen_from_fsp(), it was just missed in the
conversion.

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

Reviewed-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Mon Jan 22 12:00:56 UTC 2024 on atb-devel-224

(cherry picked from commit 2713023250)

Autobuild-User(v4-18-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-18-test): Mon Jan 29 11:53:56 UTC 2024 on atb-devel-224
2024-01-29 11:53:56 +00:00
..
auth s3:auth: call wbcFreeMemory(info) in auth3_generate_session_info_pac() 2023-01-31 11:45:17 +00:00
build
client smbclient: Fix fd leak with "showacls;ls" 2023-06-12 08:25:18 +00:00
exports
groupdb
include smbd: add a directory argument to safe_symlink_target_path() 2024-01-29 10:45:17 +00:00
intl
lib system.c: fix fake directory create times 2024-01-22 09:04:17 +00:00
libads s3:libads: re-initialize num_requests to 0 for cldap_ping_list retries 2023-07-06 11:56:19 +00:00
libgpo/gpext
libnet s3-net: no secrets access required when processing a ODJ provisioning 2023-07-19 15:14:13 +00:00
librpc s3:libnetapi: Add NetComposeOfflineDomainJoin() to IDL 2023-11-29 14:51:11 +00:00
libsmb libsmb: fix regression on smbc_getxattr and fix doc 2023-09-06 08:35:16 +00:00
locale spelling: connnect encrytion exisit expection explicit invalide missmatch paramater paramter partion privilige relase reponse seperate unkown verson authencication progagated 2022-06-10 18:12:33 +00:00
locking s3:locking: fix debug level for NT_STATUS_NOT_FOUND messanges in get_static_share_mode_data 2023-05-09 13:15:57 +00:00
modules vfs_default: allow disabling /proc/fds and RESOLVE_NO_SYMLINK at compile time 2024-01-29 10:45:17 +00:00
nmbd smbd: remove process shortname arg from reinit_after_fork() 2022-12-14 01:38:29 +00:00
param CVE-2023-42669 s4-rpc_server: Disable rpcecho server by default 2023-10-08 22:06:40 +02:00
passdb s3:passdb: smbpasswd reset permissions only if not 0600 2024-01-22 10:09:52 +00:00
printing smbd: set fsp_flags.is_fsa to true on printer file handles 2024-01-16 09:09:15 +00:00
profile s3:profile: make use of tevent_cached_getpid() in performance critical code 2022-07-25 18:32:18 +00:00
registry lib: Move tab_depth() to reg_parse_prs.c 2023-01-10 00:28:37 +00:00
rpc_client CVE-2023-3961:s3: smbd: Remove the SMB_ASSERT() that crashes on bad pipenames. 2023-10-08 22:05:41 +02:00
rpc_server CVE-2023-42670 s3-rpc_server: Remove cross-check with "samba" EPM lookup 2023-10-08 22:07:05 +02:00
rpcclient CVE-2023-34968: mdssvc: introduce an allocating wrapper to sl_pack() 2023-07-14 15:12:34 +02:00
script shadow_copy: Add test for missing directory in "current" fileset 2024-01-08 12:49:09 +00:00
selftest s3:selftest: add samba3.blackbox.smbXsrv_client_ctdb_registered_ips 2023-12-16 14:29:10 +00:00
services s3:services: Disable rcinit-based service control code 2021-12-10 14:02:30 +00:00
smbd smbd: use dirfsp and atname in open_directory() 2024-01-29 11:53:56 +00:00
torture CVE-2023-3961:s3:torture: Add test SMB2-INVALID-PIPENAME to show we allow bad pipenames with unix separators through to the UNIX domain socket code. 2023-10-08 22:05:41 +02:00
utils s3:net: Allow to load ODJ blob from stdin 2023-11-29 14:51:11 +00:00
web
winbindd s3:winbindd: Fix double close(fd) 2023-07-28 13:37:01 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript selftest: Only run samba.tests.smb3unix in developer mode 2023-02-10 10:52:15 +00:00
wscript_build build: Don't compile source3/lib/util_sd.c four times 2023-01-12 15:38:30 +00:00
wscript_configure_system_ncurses