1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-07 17:18:11 +03:00
samba-mirror/source3
Ralph Boehme de314f9337 smbd: also check for NT_STATUS_NOT_SUPPORTED
If a VFS module fails SMB_VFS_GETXATTRAT_SEND/RECV with ENOSYS like currently
vfs_shadow_copy2 or any other module that uses
vfs_not_implemented_getxattrat_send() the ENOSYS error that
vfs_not_implemented_getxattrat_send() sets gets mapped to
NT_STATUS_NOT_SUPPORTED by map_nt_error_from_unix().

Unfortunately when checking whether the async SMB_VFS_GETXATTRAT_SEND() failed
and to determine if the sync fallback should be triggered, we currently only
check for NT_STATUS_NOT_IMPLEMENTED which is the error we get when "store dos
attributes" is disabled.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 97caec07ff)
2022-03-29 09:07:11 +00:00
..
auth s3:auth: make_user_info_map() should not set mapped_state 2022-03-16 13:41:14 +00:00
build
client s3: smbclient: In do_host_query(), if we need SMB1, ensure we select NT1 as the client max protocol" before continuing. 2022-01-06 11:50:32 +00:00
exports
groupdb lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
include lib: Remove unused asprintf_strupper_m() 2022-01-18 20:22:38 +00:00
intl
lib vfs_aixacl: add proper header file 2022-02-27 19:08:16 +00:00
libads s3:libads: Fix creating local krb5.conf 2022-03-17 09:14:56 +00:00
libgpo/gpext
libnet s3:libnet: Do not set ADS_AUTH_ALLOW_NTLMSSP in FIPS mode 2022-01-22 00:27:52 +00:00
librpc s3:rpc_server: Delete unused code and doc references 2021-12-10 14:02:30 +00:00
libsmb s3:libsmb: Fix errno for failed authentication in SMBC_server_internal() 2022-03-17 09:14:56 +00:00
locale pam_winbind/ro.po: fix error from previous patch merge 2020-10-29 20:49:16 +00:00
locking s3: smbd: Move implicit call to lp_posix_cifsu_locktype() out of init_strict_lock_struct(). 2022-01-06 15:11:38 +00:00
modules smbd: check "store dos attributes" settings in the async dosmode code 2022-03-29 09:07:11 +00:00
nmbd source3: move lib/substitute.c functions out of proto.h 2021-11-11 13:49:32 +00:00
param docs-xml: add 'kdc enable fast' option 2022-03-14 14:27:13 +00:00
passdb smbd: Safeguards for getpwuid 2022-02-14 22:18:31 +00:00
printing smbd: NULL out "fsp" in close_file() 2022-02-14 17:46:14 +00:00
profile profile3: remove an unused include 2022-01-18 20:22:38 +00:00
registry CVE-2020-25717: Add FreeIPA domain controller role 2021-11-09 19:45:33 +00:00
rpc_client s3:rpc_client: let rpccli_netlogon_network_logon() fallback to workstation = lp_netbios_name() 2022-03-16 13:41:14 +00:00
rpc_server smbd: NULL out "fsp" in close_file() 2022-02-14 17:46:14 +00:00
rpcclient rpcclient: Fix ncacn_ip_tcp:<ip-address> 2022-01-10 11:47:34 +00:00
script s3:tests: Add a test to check the output of smbstatus. 2022-03-08 10:33:17 +00:00
selftest CI: add test "smb2.async_dosmode" 2022-03-29 09:07:11 +00:00
services s3:services: Disable rcinit-based service control code 2021-12-10 14:02:30 +00:00
smbd smbd: also check for NT_STATUS_NOT_SUPPORTED 2022-03-29 09:07:11 +00:00
torture s3: torture: Add 2 new tests SMB2-DEL-ON-CLOSE-NONWRITE-DELETE-NO, SMB2-DEL-ON-CLOSE-NONWRITE-DELETE-YES. 2022-03-24 11:01:10 +00:00
utils s3:utils: assign ids to struct to list shares correctly 2022-03-08 11:31:47 +00:00
web
winbindd winbindd: don't set mapped_state in winbindd_dual_auth_passdb() 2022-03-16 13:41:14 +00:00
.clang_complete
.dmallocrc
.indent.pro
Doxyfile
mainpage.dox
smbadduser.in
wscript waf: re-add missing readlink test 2022-02-27 20:03:27 +00:00
wscript_build CVE-2021-44142: libadouble: add basic cmocka tests 2022-01-31 14:26:10 +00:00
wscript_configure_system_ncurses