[Samba] File validation errors?

Urban Widmark urban at teststation.com
Fri Oct 11 20:04:01 GMT 2002

On Wed, 9 Oct 2002, Kris Kelley wrote:

> Two days ago I got a whole slew of smbfs errors in my system logs, all
> stemming from an apparent inability to read two files.  Here are some
> samples:
>    Oct  7 14:36:41 server kernel: smb_file_read:
>       cur/1033577524.16219.server.iatdev.com,S=230098 at 2,T
>       validation failed, error=4294967294

4294967294 is really -2, which is also -ENOENT. So the file is gone.
(the printout is set to print as unsigned for some unknown reason)

> Currently there are two servers that access the same SMB share (hosted
> by a Windows 2000 Server machine), and it is entirely possible the other
> server was accessing or even deleting these files while this server was
> trying to read them.  Could this have caused the error messages?  It
> seems strange that the server would try multiple thousands (!) of times
> to access the files if this were the case.

The -2 error code should make it back to the application. But if it
doesn't check the returnvalue, or doesn't expect a ENOENT, it may
continue trying.

More information about the samba mailing list