[Samba] Random EINVAL when opening files with SMB3 POSIX extensions enabled
Ralph Boehme
slow at samba.org
Thu Nov 28 09:53:48 UTC 2024
On 11/26/24 11:03 PM, Andrew Gunnerson via samba wrote:
> I recently tried enabling SMB3 POSIX extensions as I'm only using Linux clients
> and would like to make use of the standard unix permission bits. However, I'm
> running into an issue where a simple `cat` fails with -EINVAL when opening the
> file:
>
> openat(AT_FDCWD, "Shells.txt", O_RDONLY) = -1 EINVAL (Invalid argument)
>
> The weird thing is that it's intermittent. It'll fail with EINVAL many times in
> a row and then suddenly work and then start failing again.
can you grab a network trace when it happens?
<https://wiki.samba.org/index.php/Capture_Packets#Tracing_SMB_traffic_of_a_specific_client>
Beware that SMB3 POSIX Extensions are still under active development and
I would recommend not using them in production right now because of bugs
in Samba and cifs.ko.
-slow
--
SerNet Samba Team Lead https://sernet.de/
Samba Team Member https://samba.org/
SAMBA+ packages https://samba.plus/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20241128/84de99e0/OpenPGP_signature.sig>
More information about the samba
mailing list