Finally worked out why a enumerate trusted domains was returning a
authorTim Potter <tpot@samba.org>
Fri, 23 Nov 2001 05:50:05 +0000 (05:50 +0000)
committerTim Potter <tpot@samba.org>
Fri, 23 Nov 2001 05:50:05 +0000 (05:50 +0000)
commita2e136a8a0c9836420db0b595c8d45c106a0663c
tree297e3fdec68fe4d939c73eb7c5e3ca8e42b5c9bb
parent554d387ab33220e7dc02d7a8c1aba854277b92f3
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)
source3/include/nterr.h
source3/libsmb/cli_lsarpc.c
source3/libsmb/nterr.c