Samba function test

Christopher R. Hertel crh at ubiqx.mn.org
Wed Jul 31 17:22:02 GMT 2002


On Wed, Jul 31, 2002 at 05:00:43PM -0700, Jim Myers wrote:
:
> Also, please explain about NT vs DOS error codes.

I just finished writing something up about that.  See:

  http://ubiqx.org/cifs/SMB.html#SMB.5

Basically, DOS codes originally mapped to the DOS format, which had a
one-byte error class and a two-byte error code.  OS/2 used the same
format, and what we call DOS codes are really OS/2 codes.  originally DOS
knew about only a limited set of codes, and OS/2 expanded on that set.  
The codes we call DOS codes are really OS/2 codes because they include the
additions made by OS/2.

NT_STATUS codes are four-byte.

Chris -)-----

-- 
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org




More information about the samba-technical mailing list