diff options
author | Ralph Boehme <slow@samba.org> | 2021-12-17 15:02:06 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2022-02-28 20:01:36 +0000 |
commit | 97caec07ffd18f247134d21c3ba07c31591863bc (patch) | |
tree | 71382b7f5b18a17bdd231d52b00cca2e5e12762f /selftest | |
parent | ffdb1c3e00c233efc99e8f1a66a5f83beb4e07f3 (diff) | |
download | samba-97caec07ffd18f247134d21c3ba07c31591863bc.tar.gz |
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>
Diffstat (limited to 'selftest')
-rw-r--r-- | selftest/knownfail.d/samba3.smb2.async_dosmode.async_dosmode | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/selftest/knownfail.d/samba3.smb2.async_dosmode.async_dosmode b/selftest/knownfail.d/samba3.smb2.async_dosmode.async_dosmode deleted file mode 100644 index a28337150c8..00000000000 --- a/selftest/knownfail.d/samba3.smb2.async_dosmode.async_dosmode +++ /dev/null @@ -1 +0,0 @@ -^samba3.smb2.async_dosmode.async_dosmode\(simpleserver\) |