Today we had a problem copying a large file (>4GB) to a Samba share using Linux. The share was mounted via smbmount and worked perfectly for all other files. However, the large file was copied to the share only up to a size of 2GB and then the copying aborted.
The solution was to mount the share with the option lfs (apparently this is short for „large file system“), e.g. like this in /etc/fstab: