[Samba] RE: Error code 0

Gerald (Jerry) Carter jerry at samba.org
Mon Nov 11 03:25:40 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 10 Nov 2002, Nir Soffer wrote:

> 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?

You are correct.  Jeremy has put some code in future release (3.0)
that will help to describe the failure better.




cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard           ------------------------- http://www.hp.com
 SAMBA Team                ---------------------- http://www.samba.org
 GnuPG Key                 ---- http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2        "SAMS Teach Yourself Samba in 24 Hours" 2ed
 "I never saved anything for the swim back."     Ethan Hawk in Gattaca

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE9zyHnIR7qMdg1EfYRAnkYAJ4ubqQqKsviIQ+TVK+yl00U/e0UaACgmACd
lP+8vOkX0sdsVvPWe65VAGU=
=4HSc
-----END PGP SIGNATURE-----




More information about the samba mailing list