Hello beautiful peoples!
I am running an SMB server on Debian 12 Bookworm. Many different devices (running different operating systems) read and write data to and from that server. Recently, I have noticed that when sending some files from my iPhone to that share, it produces the error message: ‘The operation couldn’t be completed. File name too long.’

To fix this issue add:
vfs objects = catia fruit streams_xattr
to your
/etc/samba/smb.conf

and restart the smb service.
systemctl restart smb
The problem was gone for me after that.
I hope this helps!
Catch you on the flip side,
AndrzejL
I swear, you rock. worked perfect
Love to hear it! Thank you for your comment!