From 80437a4cc0d88f47fb20901abf28590c35f3b09a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 3 Jan 2002 08:36:47 +0000 Subject: Update the NT_STATUS -> DOS error table. This new table is rather different to the old one (see diff posted to the list for a sorted list of differences) and needs a *lot* of testing. It does however seem to line up much better with what NT is using, as exampled by the change to the OBJECT_NAME_COLLISION DOS error, it now matches win2k where it didn't before. I can't see any critical errors we now get wrong, and I know that the auth errors are correct as per my on-the-wire observations. This table was produced (and I hope to comment this better later) by using the ERRMAPEXTRACT smbtorture tool, a Win2k domain member and the 'name_to_ntstatus' auth module on the HEAD PDC. This module returned the username as the error, and the NT box was forced to give me a dos error becouse thats all I negotiated on that connection. Hence the map. Andrew Bartlett (This used to be commit a855dfb2e0b899d03087860e5462c2aed3ca4cad) --- source3/include/doserr.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index d55f21be34..52212dc741 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -54,6 +54,7 @@ #define ERRbadshare 32 /* Share mode on file conflict with open mode */ #define ERRlock 33 /* Lock request conflicts with existing lock */ #define ERRunsup 50 /* Request unsupported, returned by Win 95, RJS 20Jun98 */ +#define ERRnetnamedel 64 /* Network name deleted or not available */ #define ERRnosuchshare 67 /* You specified an invalid share name */ #define ERRfilexists 80 /* File in operation already exists */ #define ERRinvalidparam 87 @@ -75,6 +76,7 @@ #define ERRbuftoosmall 2123 #define ERRunknownipc 2142 #define ERRnosuchprintjob 2151 +#define ERRinvgroup 2455 /* here's a special one from observing NT */ #define ERRnoipc 66 /* don't support ipc */ -- cgit