[jcifs] NT Status Code Descriptions?

Michael B Allen mba2000 at ioplex.com
Tue Feb 17 08:07:20 GMT 2004

Michael B Allen said:
> Christopher R. Hertel said:
>> There should be a Windows system call that will provide the descriptive
>> text.  Maybe someone else knows it.  If not, it'll be a treasure hunt.
>> Here's a place to start:
>> http://msdn.microsoft.com/library/en-us/debug/base/rtlntstatustodoserror.asp
> Good advice. It worked:
<snip now-invalid URLs>

I updated this package again:


It's more comprehensive now. There were quite a few errors (many DOS codes
were missing an error class and there were duplicates and ommissions of
NTSTATUS codes). So I grabbed the latest identifiers from the samba code,
regenerated the input file, and created NtStatus.txt as well as
DosError.txt generators that could be used as input to generate source
code tables. I have realized that for DOS error messages I will need a
separate table. For some reason I was thinking I could do some kind of
reverse lookup of the NTSTATUS code. Not. The ErrorClass' still aren't
correct though. I just made them all 1 except for codes that didn't have a
corresponding NTSTATUS which I made 0x001f0003 I believe which is "General
failure". It would be groovy if we could figure out the error classes as
well. Of course there will probably be some codes that are incorrect for
one reason or another. It's a good start for anyone working on clients,
servers, dissectors, whatever.


More information about the jcifs mailing list