SMB nonspecific server error during Find Next2

Andrew Tridgell tridge at samba.org
Sat Jan 30 03:21:46 GMT 1999


Barry wrote:
> Hi!  I'm currently developing a simple SMB client for an embedded system
> and I'm having problems with the TRANS2_FIND_NEXT2 request.  Sometimes
> when I request for the next file in a directory, the Win95 PC I'm
> requesting to responds with a non-specific server error.  And if I keep
> resending the exactly same request packet, eventually, the server will
> respond with the correct FIND_NEXT2 response packet.  

This is a known bug in Win95. You just have to sleep for a while then
try again. In Samba we sleep for 100ms when this happens and that
seems to work pretty well.



More information about the samba-technical mailing list