converted smbd to use NTSTATUS by default
authorAndrew Tridgell <tridge@samba.org>
Mon, 27 Aug 2001 08:19:43 +0000 (08:19 +0000)
committerAndrew Tridgell <tridge@samba.org>
Mon, 27 Aug 2001 08:19:43 +0000 (08:19 +0000)
commit83d9896c1ea8be796192b51a4678c2a3b87f7518
tree3eca52e51950890d1a5b6e7c8b0ddfdee78a239a
parent9e0c9a99f6ca01cd6a0ee3084f85e1c36b11d7c3
converted smbd to use NTSTATUS by default
major changes include:

- added NSTATUS type
- added automatic mapping between dos and nt error codes
- changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT()
  these calls auto-translate to the client error code system
- got rid of the cached error code and the writebmpx code

We eventually will need to also:
- get rid of BOOL, so we don't lose error info
- replace all ERROR_DOS() calls with ERROR_NT() calls

but that is too much for one night
28 files changed:
source/Makefile.in
source/include/msdfs.h
source/include/smb.h
source/include/smb_macros.h
source/libsmb/clientgen.c
source/libsmb/clierror.c
source/libsmb/clitrans.c
source/libsmb/libsmbclient.c
source/locking/brlock.c
source/locking/locking.c
source/msdfs/msdfs.c
source/printing/printfsp.c
source/script/mkproto.awk
source/smbd/blocking.c
source/smbd/close.c
source/smbd/error.c
source/smbd/ipc.c
source/smbd/message.c
source/smbd/negprot.c
source/smbd/notify.c
source/smbd/nttrans.c
source/smbd/open.c
source/smbd/pipes.c
source/smbd/process.c
source/smbd/reply.c
source/smbd/trans2.c
source/torture/locktest.c
source/torture/torture.c