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)
commite8e98c9ea0690e3acf1126b50882e59e1056c7b3
tree2fa75bc825f7e5da041809fe49080e3319656506
parent3820578473da81b7ae0dfa978605da809be59f62
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
(This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
28 files changed:
source3/Makefile.in
source3/include/msdfs.h
source3/include/smb.h
source3/include/smb_macros.h
source3/libsmb/clientgen.c
source3/libsmb/clierror.c
source3/libsmb/clitrans.c
source3/libsmb/libsmbclient.c
source3/locking/brlock.c
source3/locking/locking.c
source3/msdfs/msdfs.c
source3/printing/printfsp.c
source3/script/mkproto.awk
source3/smbd/blocking.c
source3/smbd/close.c
source3/smbd/error.c
source3/smbd/ipc.c
source3/smbd/message.c
source3/smbd/negprot.c
source3/smbd/notify.c
source3/smbd/nttrans.c
source3/smbd/open.c
source3/smbd/pipes.c
source3/smbd/process.c
source3/smbd/reply.c
source3/smbd/trans2.c
source3/torture/locktest.c
source3/torture/torture.c