[Samba] Windows User Profile corruption on a member server

Michael Tokarev mjt at tls.msk.ru
Sat Feb 12 19:27:11 UTC 2022


12.02.2022 13:16, Michael Tokarev via samba wrote:
..

I did some experiments here with user profiles. And it turned out
the prob is quite severe. Lots of files, when copied from the samba
server to windows10 machine, gets truncated. Small files can be truncated
by a few bytes, larger files loses some blocks (the resulting size is usually
dividable by 20480). Out of 104 total files in a freshly created win10
user profile, 40 gets corrupt. This is a huge number, this is 40% corruption
ratio, it is not some random very rare event.

And this is independent on the user presence in /etc/passwd - the same
(similar, since it is different each time) corruption happens if the user
in question exists as local linux user or not.

There are no errors reported on either side.

With this corruption samba is definitely not usable as a file server, at all.

Any idea where to go from here?

(samba is 4.13.13+dfsg-1~deb11u2, current on debian bullseye system).

Thanks,

/mjt



More information about the samba mailing list