diff options
author | Tim Potter <tpot@samba.org> | 2001-11-23 05:50:05 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-11-23 05:50:05 +0000 |
commit | a2e136a8a0c9836420db0b595c8d45c106a0663c (patch) | |
tree | 297e3fdec68fe4d939c73eb7c5e3ca8e42b5c9bb /source3/include | |
parent | 554d387ab33220e7dc02d7a8c1aba854277b92f3 (diff) | |
download | samba-a2e136a8a0c9836420db0b595c8d45c106a0663c.tar.gz samba-a2e136a8a0c9836420db0b595c8d45c106a0663c.tar.bz2 samba-a2e136a8a0c9836420db0b595c8d45c106a0663c.zip |
Finally worked out why a enumerate trusted domains was returning a
NT_STATUS_UNABLE_TO_FREE_VM error. This error code was mis-defined
as 0x8000001a instead of 0xc000001a. The former is actually a
NT_STATUS_NO_MORE_ENTRIES warning which is what we see in the status
code.
Removed the & 0xffffff from the loop in get_nt_error_msg() as all the
error constants now have the correct high bits set.
(This used to be commit 80dca2c9e46753d87e673d712c96c76ffde0b276)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/nterr.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/source3/include/nterr.h b/source3/include/nterr.h index 7957ddddfe..69b5d7981d 100644 --- a/source3/include/nterr.h +++ b/source3/include/nterr.h @@ -28,6 +28,8 @@ /* Win32 Status codes. */ #define STATUS_BUFFER_OVERFLOW NT_STATUS(0x80000005) +#define NT_STATUS_NO_MORE_ENTRIES NT_STATUS(0x8000001a) + #define STATUS_MORE_ENTRIES NT_STATUS(0x0105) #define ERROR_INVALID_PARAMETER NT_STATUS(0x0057) #define ERROR_INSUFFICIENT_BUFFER NT_STATUS(0x007a) @@ -37,6 +39,23 @@ /* Win32 Error codes extracted using a loop in smbclient then printing a netmon sniff to a file. */ +/* + -------------- + / \ + / REST \ + / IN \ + / PEACE \ + / \ + | NT_STATUS_NOPROBLEMO | + | | + | | + | 4 September | + | | + | 2001 | + *| * * * | * + _________)/\\_//(\/(/\)/\//\/\///|_)_______ +*/ + #define NT_STATUS_OK NT_STATUS(0x0000) #define NT_STATUS_UNSUCCESSFUL NT_STATUS(0xC0000000 | 0x0001) #define NT_STATUS_NOT_IMPLEMENTED NT_STATUS(0xC0000000 | 0x0002) @@ -63,7 +82,7 @@ #define NT_STATUS_NO_MEMORY NT_STATUS(0xC0000000 | 0x0017) #define NT_STATUS_CONFLICTING_ADDRESSES NT_STATUS(0xC0000000 | 0x0018) #define NT_STATUS_NOT_MAPPED_VIEW NT_STATUS(0xC0000000 | 0x0019) -#define NT_STATUS_UNABLE_TO_FREE_VM NT_STATUS(0x80000000 | 0x001a) +#define NT_STATUS_UNABLE_TO_FREE_VM NT_STATUS(0xC0000000 | 0x001a) #define NT_STATUS_UNABLE_TO_DELETE_SECTION NT_STATUS(0xC0000000 | 0x001b) #define NT_STATUS_INVALID_SYSTEM_SERVICE NT_STATUS(0xC0000000 | 0x001c) #define NT_STATUS_ILLEGAL_INSTRUCTION NT_STATUS(0xC0000000 | 0x001d) |