[Samba] Spurious data in file retrieved from Windows share via Samba

Helmut Hullen Hullen at t-online.de
Fri May 21 23:46:00 MDT 2010


Hallo, Robert,

Du meintest am 21.05.10:

> I am using Samba to read a file on a Windows share from Linux.
> Linux version is Ubuntu 9.04 (I think). Not sure about the Samba
> version (sorry, can't check it now); it's whatever was packaged with
> Ubuntu. Windows version is Windows Server 2003 SP 2.

> Sometimes the file contains obviously spurious data such as
> random bytes, and excerpts of programs or log files.

[...]

> The file is updated every few minutes on the Windows side
> (new lines are appended). When I read (via cp) any given version
> of the file, the spurious parts remain the same.

Please try

        tail -f /path/to/cifs-file

(stopping with ctrl-c)

just to see if the spurious data vanishes in this way.

Viele Gruesse!
Helmut


More information about the samba mailing list