Hello Samba Developers yesterday I have discovered by my opinion a very huge bug that can (and did in my case) resulted in files being truncated (dstroyed). Bug report, and reproduction instructions can be found in this bug report. https://bugzilla.samba.org/show_bug.cgi?id=10671