[Samba] Re: Error code 0

Tim Potter tpot at samba.org
Sun Nov 10 16:53:56 GMT 2002


On Sun, Nov 10, 2002 at 03:52:03PM +0200, Nir Soffer wrote:

> > http://msdn.microsoft.com/library/en-us/debug/base/system_erro
> > r_codes.asp?frame=false
> 
> Err. AFAIK, "error code 0" means "Success", in nearly every errno system
> I've seen, btw.
> 
> I've seen an error code 0 once in Samba, and I was told it has to do
> with the peer "going away". Since the packet doesn't exist or is all
> zeroed out in these cases, extraction of the error code field in the
> packet results in a "0". This is what gets reported to the end user.
> 
> Am I right?

Pretty much.  The error 0 appears when a SMB packet is sent but there
is no response within 30 seconds.


Tim.



More information about the samba mailing list