From 7d9358cf58d407623c0b7c6164976a33bbbbff64 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 10 Aug 2001 05:37:52 +0000 Subject: Moved dos error codes from smb.h into new file doserr.h (This used to be commit 1bd8b6f79754aa8a14a7841b88f1c00d7a3767eb) --- source3/include/doserr.h | 135 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 source3/include/doserr.h (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h new file mode 100644 index 0000000000..6e3ab91173 --- /dev/null +++ b/source3/include/doserr.h @@ -0,0 +1,135 @@ +/* + Unix SMB/Netbios implementation. + Version 1.9. + SMB parameters and setup + Copyright (C) Andrew Tridgell 1992-2000 + Copyright (C) John H Terpstra 1996-2000 + Copyright (C) Luke Kenneth Casson Leighton 1996-2000 + Copyright (C) Paul Ashton 1998-2000 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + +#ifndef _DOSERR_H +#define _DOSERR_H + +/* SMB X/Open error codes for the ERRDOS error class */ +#define ERRsuccess 0 /* No error */ +#define ERRbadfunc 1 /* Invalid function (or system call) */ +#define ERRbadfile 2 /* File not found (pathname error) */ +#define ERRbadpath 3 /* Directory not found */ +#define ERRnofids 4 /* Too many open files */ +#define ERRnoaccess 5 /* Access denied */ +#define ERRbadfid 6 /* Invalid fid */ +#define ERRnomem 8 /* Out of memory */ +#define ERRbadmem 9 /* Invalid memory block address */ +#define ERRbadenv 10 /* Invalid environment */ +#define ERRbadaccess 12 /* Invalid open mode */ +#define ERRbaddata 13 /* Invalid data (only from ioctl call) */ +#define ERRres 14 /* reserved */ +#define ERRbaddrive 15 /* Invalid drive */ +#define ERRremcd 16 /* Attempt to delete current directory */ +#define ERRdiffdevice 17 /* rename/move across different filesystems */ +#define ERRnofiles 18 /* no more files found in file search */ +#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 ERRnosuchshare 67 /* You specified an invalid share name */ +#define ERRfilexists 80 /* File in operation already exists */ +#define ERRinvalidparam 87 +#define ERRcannotopen 110 /* Cannot open the file specified */ +#define ERRinsufficientbuffer 122 +#define ERRinvalidname 123 /* Invalid name */ +#define ERRunknownlevel 124 +#define ERRnotlocked 158 /* This region is not locked by this locking context. */ +#define ERRrename 183 +#define ERRbadpipe 230 /* Named pipe invalid */ +#define ERRpipebusy 231 /* All instances of pipe are busy */ +#define ERRpipeclosing 232 /* named pipe close in progress */ +#define ERRnotconnected 233 /* No process on other end of named pipe */ +#define ERRmoredata 234 /* More data to be returned */ +#define ERRnomoreitems 259 +#define ERRbaddirectory 267 /* Invalid directory name in a path. */ +#define ERReasnotsupported 282 /* Extended attributes */ +#define ERRbuftoosmall 2123 +#define ERRunknownipc 2142 +#define ERRnosuchprintjob 2151 + +/* here's a special one from observing NT */ +#define ERRnoipc 66 /* don't support ipc */ + +/* These errors seem to be only returned by the NT printer driver system */ + +#define ERRunknownprinterdriver 1797 /* ERROR_UNKNOWN_PRINTER_DRIVER */ +#define ERRinvalidprintername 1801 /* ERROR_INVALID_PRINTER_NAME */ +#define ERRinvaliddatatype 1804 /* ERROR_INVALID_DATATYPE */ +#define ERRinvalidenvironment 1805 /* ERROR_INVALID_ENVIRONMENT */ +#define ERRprinterdriverinuse 3001 /* ERROR_PRINTER_DRIVER_IN_USE */ + +/* Error codes for the ERRSRV class */ + +#define ERRerror 1 /* Non specific error code */ +#define ERRbadpw 2 /* Bad password */ +#define ERRbadtype 3 /* reserved */ +#define ERRaccess 4 /* No permissions to do the requested operation */ +#define ERRinvnid 5 /* tid invalid */ +#define ERRinvnetname 6 /* Invalid servername */ +#define ERRinvdevice 7 /* Invalid device */ +#define ERRqfull 49 /* Print queue full */ +#define ERRqtoobig 50 /* Queued item too big */ +#define ERRinvpfid 52 /* Invalid print file in smb_fid */ +#define ERRsmbcmd 64 /* Unrecognised command */ +#define ERRsrverror 65 /* smb server internal error */ +#define ERRfilespecs 67 /* fid and pathname invalid combination */ +#define ERRbadlink 68 /* reserved */ +#define ERRbadpermits 69 /* Access specified for a file is not valid */ +#define ERRbadpid 70 /* reserved */ +#define ERRsetattrmode 71 /* attribute mode invalid */ +#define ERRpaused 81 /* Message server paused */ +#define ERRmsgoff 82 /* Not receiving messages */ +#define ERRnoroom 83 /* No room for message */ +#define ERRrmuns 87 /* too many remote usernames */ +#define ERRtimeout 88 /* operation timed out */ +#define ERRnoresource 89 /* No resources currently available for request. */ +#define ERRtoomanyuids 90 /* too many userids */ +#define ERRbaduid 91 /* bad userid */ +#define ERRuseMPX 250 /* temporarily unable to use raw mode, use MPX mode */ +#define ERRuseSTD 251 /* temporarily unable to use raw mode, use standard mode */ +#define ERRcontMPX 252 /* resume MPX mode */ +#define ERRbadPW /* reserved */ +#define ERRnosupport 0xFFFF +#define ERRunknownsmb 22 /* from NT 3.5 response */ + +/* Error codes for the ERRHRD class */ + +#define ERRnowrite 19 /* read only media */ +#define ERRbadunit 20 /* Unknown device */ +#define ERRnotready 21 /* Drive not ready */ +#define ERRbadcmd 22 /* Unknown command */ +#define ERRdata 23 /* Data (CRC) error */ +#define ERRbadreq 24 /* Bad request structure length */ +#define ERRseek 25 +#define ERRbadmedia 26 +#define ERRbadsector 27 +#define ERRnopaper 28 +#define ERRwrite 29 /* write fault */ +#define ERRread 30 /* read fault */ +#define ERRgeneral 31 /* General hardware failure */ +#define ERRwrongdisk 34 +#define ERRFCBunavail 35 +#define ERRsharebufexc 36 /* share buffer exceeded */ +#define ERRdiskfull 39 + +#endif /* _DOSERR_H */ -- cgit From 432dbf7e24d40144282f307e3c279b62f92af88f Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 13 Aug 2001 05:26:33 +0000 Subject: Moved across definition of dos error types from smb.h to doserr.h (This used to be commit 6c0dab85025dd7df9415edd627349fa8f1230de3) --- source3/include/doserr.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 6e3ab91173..8043d3b372 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -25,6 +25,13 @@ #ifndef _DOSERR_H #define _DOSERR_H +/* Error classes */ + +#define ERRDOS 0x01 /* Error is from the core DOS operating system set. */ +#define ERRSRV 0x02 /* Error is generated by the server network file manager.*/ +#define ERRHRD 0x03 /* Error is an hardware error. */ +#define ERRCMD 0xFF /* Command was not in the "SMB" format. */ + /* SMB X/Open error codes for the ERRDOS error class */ #define ERRsuccess 0 /* No error */ #define ERRbadfunc 1 /* Invalid function (or system call) */ -- cgit From 603dad4afa72d07438784950b65d7b18294f8f2f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 22 Aug 2001 03:18:24 +0000 Subject: added ERRbadmcb (This used to be commit 2f4690e1888c9cc96fd788abf2161943a2032b51) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 8043d3b372..827582ae19 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -40,6 +40,7 @@ #define ERRnofids 4 /* Too many open files */ #define ERRnoaccess 5 /* Access denied */ #define ERRbadfid 6 /* Invalid fid */ +#define ERRbadmcb 7 /* Memory control blocks destroyed. */ #define ERRnomem 8 /* Out of memory */ #define ERRbadmem 9 /* Invalid memory block address */ #define ERRbadenv 10 /* Invalid environment */ -- cgit From 3aa60060562d96472f33552de877a6de478db64d Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 28 Aug 2001 05:35:05 +0000 Subject: Fixed description in file header. (This used to be commit ed42dcf7846d487b73fc41c7b3f2feef8fd392e3) --- source3/include/doserr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 827582ae19..9d39fe795e 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -1,7 +1,7 @@ /* Unix SMB/Netbios implementation. Version 1.9. - SMB parameters and setup + DOS error code constants Copyright (C) Andrew Tridgell 1992-2000 Copyright (C) John H Terpstra 1996-2000 Copyright (C) Luke Kenneth Casson Leighton 1996-2000 -- cgit From fd6ea431617d91c5f5c6b07cb26910f4900c1515 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 3 Sep 2001 08:50:59 +0000 Subject: the next step in our error code handling change - added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there (This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f) --- source3/include/doserr.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 9d39fe795e..ee6a27ee32 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -78,14 +78,6 @@ /* here's a special one from observing NT */ #define ERRnoipc 66 /* don't support ipc */ -/* These errors seem to be only returned by the NT printer driver system */ - -#define ERRunknownprinterdriver 1797 /* ERROR_UNKNOWN_PRINTER_DRIVER */ -#define ERRinvalidprintername 1801 /* ERROR_INVALID_PRINTER_NAME */ -#define ERRinvaliddatatype 1804 /* ERROR_INVALID_DATATYPE */ -#define ERRinvalidenvironment 1805 /* ERROR_INVALID_ENVIRONMENT */ -#define ERRprinterdriverinuse 3001 /* ERROR_PRINTER_DRIVER_IN_USE */ - /* Error codes for the ERRSRV class */ #define ERRerror 1 /* Non specific error code */ @@ -140,4 +132,19 @@ #define ERRsharebufexc 36 /* share buffer exceeded */ #define ERRdiskfull 39 + +/* these are win32 error codes. There are only a few places where + these matter for Samba, primarily in the NT printing code */ +#define WERR_OK W_ERROR(0) +#define WERR_BADFID W_ERROR(6) +#define WERR_INSUFFICIENT_BUFFER W_ERROR(122) +#define WERR_NOMEM W_ERROR(8) +#define WERR_INVALID_NAME W_ERROR(123) +#define WERR_UNKNOWN_LEVEL W_ERROR(124) +#define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797) +#define WERR_INVALID_PRINTER_NAME W_ERROR(1801) +#define WERR_INVALID_DATATYPE W_ERROR(1804) +#define WERR_INVALID_ENVIRONMENT W_ERROR(1805) +#define WERR_PRINTER_DRIVER_IN_USE W_ERROR(3001) + #endif /* _DOSERR_H */ -- cgit From fbc1f326f445a2826a10155fe0122c779bb1f80e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 3 Sep 2001 10:38:13 +0000 Subject: more NTSTATUS/WERROR conversion (This used to be commit ad648c5cd8ebe4be8304379117f403d7673dcbc8) --- source3/include/doserr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index ee6a27ee32..cfc94a359a 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -136,11 +136,15 @@ /* these are win32 error codes. There are only a few places where these matter for Samba, primarily in the NT printing code */ #define WERR_OK W_ERROR(0) +#define WERR_ACCESS_DENIED W_ERROR(5) #define WERR_BADFID W_ERROR(6) +#define WERR_BADFUNC W_ERROR(1) #define WERR_INSUFFICIENT_BUFFER W_ERROR(122) +#define WERR_INVALID_PARAM W_ERROR(87) #define WERR_NOMEM W_ERROR(8) #define WERR_INVALID_NAME W_ERROR(123) #define WERR_UNKNOWN_LEVEL W_ERROR(124) +#define WERR_NO_MORE_ITEMS W_ERROR(259) #define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797) #define WERR_INVALID_PRINTER_NAME W_ERROR(1801) #define WERR_INVALID_DATATYPE W_ERROR(1804) -- cgit From 19fea3242cf6234786b6cbb60631e0071f31ff9f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 4 Sep 2001 07:13:01 +0000 Subject: the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66) --- source3/include/doserr.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index cfc94a359a..bdb7da5956 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -141,14 +141,21 @@ #define WERR_BADFUNC W_ERROR(1) #define WERR_INSUFFICIENT_BUFFER W_ERROR(122) #define WERR_INVALID_PARAM W_ERROR(87) +#define WERR_NOT_SUPPORTED W_ERROR(50) +#define WERR_BAD_PASSWORD W_ERROR(86) #define WERR_NOMEM W_ERROR(8) #define WERR_INVALID_NAME W_ERROR(123) #define WERR_UNKNOWN_LEVEL W_ERROR(124) #define WERR_NO_MORE_ITEMS W_ERROR(259) +#define WERR_MORE_DATA W_ERROR(234) #define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797) #define WERR_INVALID_PRINTER_NAME W_ERROR(1801) #define WERR_INVALID_DATATYPE W_ERROR(1804) #define WERR_INVALID_ENVIRONMENT W_ERROR(1805) +#define WERR_BUF_TOO_SMALL W_ERROR(2123) +#define WERR_JOB_NOT_FOUND W_ERROR(2151) +#define WERR_DEST_NOT_FOUND W_ERROR(2152) #define WERR_PRINTER_DRIVER_IN_USE W_ERROR(3001) +#define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) #endif /* _DOSERR_H */ -- cgit From db9ba1f875510d2c3fa7faa2104a032096837d05 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 12 Sep 2001 01:11:43 +0000 Subject: Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to fit in with new error reporting subsystem. (This used to be commit dbfd50d447e4166a4233034885666d985ca6beb8) --- source3/include/doserr.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index bdb7da5956..dc5bd0414a 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -158,4 +158,16 @@ #define WERR_PRINTER_DRIVER_IN_USE W_ERROR(3001) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) +/* DFS errors */ + +#ifndef NERR_BASE +#define NERR_BASE (2100) +#endif + +#define WERR_DFS_NO_SUCH_VOL W_ERROR(NERR_BASE+562) +#define WERR_DFS_NO_SUCH_SHARE W_ERROR(NERR_BASE+565) +#define WERR_DFS_NO_SUCH_SERVER W_ERROR(NERR_BASE+573) +#define WERR_DFS_INTERNAL_ERROR W_ERROR(NERR_BASE+590) +#define WERR_DFS_CANT_CREATE_JUNCT W_ERROR(NERR_BASE+569) + #endif /* _DOSERR_H */ -- cgit From e74c51dfeb8c19f01451d2085f2e510bb431fbf0 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 16 Nov 2001 18:32:32 +0000 Subject: I *love* removing code :-). Removed 4 files that weren't being used. All this stuff was being pulled in due to *one* unneeded call to fetch a domain SID which smbpasswd already puts in the database... Jeremy. (This used to be commit 6bf2505cce7db770fd4db5b19999a78588e96b58) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index dc5bd0414a..3dcfe02827 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -140,6 +140,7 @@ #define WERR_BADFID W_ERROR(6) #define WERR_BADFUNC W_ERROR(1) #define WERR_INSUFFICIENT_BUFFER W_ERROR(122) +#define WERR_NO_SUCH_SHARE W_ERROR(67) #define WERR_INVALID_PARAM W_ERROR(87) #define WERR_NOT_SUPPORTED W_ERROR(50) #define WERR_BAD_PASSWORD W_ERROR(86) -- cgit From fae4bc494dbed6518e42e6cc971fcf8743a82f9a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 22 Nov 2001 06:12:54 +0000 Subject: sync up with 2.2 (This used to be commit 0c0f3223731cfb46a0e3b8e289c13c8f908e0cf2) --- source3/include/doserr.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 3dcfe02827..43a325bc52 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -78,6 +78,14 @@ /* here's a special one from observing NT */ #define ERRnoipc 66 /* don't support ipc */ +/* These errors seem to be only returned by the NT printer driver system */ + +#define ERRunknownprinterdriver 1797 /* ERROR_UNKNOWN_PRINTER_DRIVER */ +#define ERRinvalidprintername 1801 /* ERROR_INVALID_PRINTER_NAME */ +#define ERRinvaliddatatype 1804 /* ERROR_INVALID_DATATYPE */ +#define ERRinvalidenvironment 1805 /* ERROR_INVALID_ENVIRONMENT */ +#define ERRprinterdriverinuse 3001 /* ERROR_PRINTER_DRIVER_IN_USE */ + /* Error codes for the ERRSRV class */ #define ERRerror 1 /* Non specific error code */ @@ -136,6 +144,7 @@ /* these are win32 error codes. There are only a few places where these matter for Samba, primarily in the NT printing code */ #define WERR_OK W_ERROR(0) +#define WERR_BADFILE W_ERROR(2) #define WERR_ACCESS_DENIED W_ERROR(5) #define WERR_BADFID W_ERROR(6) #define WERR_BADFUNC W_ERROR(1) -- cgit From 554d387ab33220e7dc02d7a8c1aba854277b92f3 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 23 Nov 2001 05:37:40 +0000 Subject: Added constants and error message for dos error code 1326 (logon failure). (This used to be commit 6ce1eec09de64f19d969a67fc236abd4ae277926) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 43a325bc52..087249ad44 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -71,6 +71,7 @@ #define ERRnomoreitems 259 #define ERRbaddirectory 267 /* Invalid directory name in a path. */ #define ERReasnotsupported 282 /* Extended attributes */ +#define ERRlogonfailure 1326 /* Unknown username or bad password */ #define ERRbuftoosmall 2123 #define ERRunknownipc 2142 #define ERRnosuchprintjob 2151 -- cgit From d919314390ad51384146797de5268b5c842f039b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 27 Nov 2001 20:01:23 +0000 Subject: Added PRINTER_ALREADY_EXISTS error check from Gerry. Jeremy (This used to be commit c7f1d3d6f776da8619f1221d38619d084ffb990b) --- 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 087249ad44..d55f21be34 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -83,6 +83,7 @@ #define ERRunknownprinterdriver 1797 /* ERROR_UNKNOWN_PRINTER_DRIVER */ #define ERRinvalidprintername 1801 /* ERROR_INVALID_PRINTER_NAME */ +#define ERRprinteralreadyexists 1802 /* ERROR_PRINTER_ALREADY_EXISTS */ #define ERRinvaliddatatype 1804 /* ERROR_INVALID_DATATYPE */ #define ERRinvalidenvironment 1805 /* ERROR_INVALID_ENVIRONMENT */ #define ERRprinterdriverinuse 3001 /* ERROR_PRINTER_DRIVER_IN_USE */ @@ -161,6 +162,7 @@ #define WERR_MORE_DATA W_ERROR(234) #define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797) #define WERR_INVALID_PRINTER_NAME W_ERROR(1801) +#define WERR_PRINTER_ALREADY_EXISTS W_ERROR(1802) #define WERR_INVALID_DATATYPE W_ERROR(1804) #define WERR_INVALID_ENVIRONMENT W_ERROR(1805) #define WERR_BUF_TOO_SMALL W_ERROR(2123) -- cgit 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 From 02b23d9d2c6b04982b486d97b48e4db8fb0e2b29 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 3 Jan 2002 23:26:00 +0000 Subject: Added WERROR for non local domain. Jeremy. (This used to be commit 6c51d90f13a40359baef08424f7ea1940f93d511) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 52212dc741..09f7a36f9f 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -170,6 +170,7 @@ #define WERR_BUF_TOO_SMALL W_ERROR(2123) #define WERR_JOB_NOT_FOUND W_ERROR(2151) #define WERR_DEST_NOT_FOUND W_ERROR(2152) +#define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320) #define WERR_PRINTER_DRIVER_IN_USE W_ERROR(3001) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) -- cgit From d1baa1fda928bfcc1998575f2af71aaa001402aa Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sun, 6 Jan 2002 02:55:37 +0000 Subject: DOS error 31 is ERRgeneral, General Failure. This is the WERROR equivalent to NT_STATUS_UNSUCCESSFUL according to AB's funky new error map. (This used to be commit 9c968fbb017d3369ac207e65348a9a22dbed0213) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 09f7a36f9f..3262370dfd 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -51,6 +51,7 @@ #define ERRremcd 16 /* Attempt to delete current directory */ #define ERRdiffdevice 17 /* rename/move across different filesystems */ #define ERRnofiles 18 /* no more files found in file search */ +#define ERRgeneral 31 /* General failure */ #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 */ -- cgit From cd68afe31256ad60748b34f7318a180cfc2127cc Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 30 Jan 2002 06:08:46 +0000 Subject: Removed version number from file header. Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa) --- source3/include/doserr.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 3262370dfd..92b441f38f 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -1,6 +1,5 @@ /* - Unix SMB/Netbios implementation. - Version 1.9. + Unix SMB/CIFS implementation. DOS error code constants Copyright (C) Andrew Tridgell 1992-2000 Copyright (C) John H Terpstra 1996-2000 -- cgit From a31cd9c13ab1704b88c0153e2df72031b5467902 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 31 Jan 2002 11:28:02 +0000 Subject: Added constant for WERR_FILE_EXISTS. (This used to be commit e4c13c51fa559d24da73f57b348cfe7d711b3c7d) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 92b441f38f..c1431117f0 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -157,6 +157,7 @@ #define WERR_INVALID_PARAM W_ERROR(87) #define WERR_NOT_SUPPORTED W_ERROR(50) #define WERR_BAD_PASSWORD W_ERROR(86) +#define WERR_FILE_EXISTS W_ERROR(80) #define WERR_NOMEM W_ERROR(8) #define WERR_INVALID_NAME W_ERROR(123) #define WERR_UNKNOWN_LEVEL W_ERROR(124) -- cgit From 03cfb31ad931c65ca8c5b97c620f6e71bf5cac82 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 9 Feb 2002 04:10:24 +0000 Subject: Bring printing in HEAD inline with 2.2.x and app-head. Jeremy. (This used to be commit 771ef92fc6e43725b7cc351079998a8acb74abef) --- source3/include/doserr.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index c1431117f0..a2c53791cc 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -1,5 +1,6 @@ /* - Unix SMB/CIFS implementation. + Unix SMB/Netbios implementation. + Version 1.9. DOS error code constants Copyright (C) Andrew Tridgell 1992-2000 Copyright (C) John H Terpstra 1996-2000 @@ -154,10 +155,10 @@ #define WERR_BADFUNC W_ERROR(1) #define WERR_INSUFFICIENT_BUFFER W_ERROR(122) #define WERR_NO_SUCH_SHARE W_ERROR(67) +#define WERR_ALREADY_EXISTS W_ERROR(80) #define WERR_INVALID_PARAM W_ERROR(87) #define WERR_NOT_SUPPORTED W_ERROR(50) #define WERR_BAD_PASSWORD W_ERROR(86) -#define WERR_FILE_EXISTS W_ERROR(80) #define WERR_NOMEM W_ERROR(8) #define WERR_INVALID_NAME W_ERROR(123) #define WERR_UNKNOWN_LEVEL W_ERROR(124) -- cgit From 5cb19078b66e831e6c212abe675e9d505514d23a Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 25 Feb 2002 06:14:50 +0000 Subject: Added error for invalid form size. (This used to be commit 9a3e127aeacb01f5a642013a46148eaa31f41482) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index a2c53791cc..5633f837a8 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -169,6 +169,7 @@ #define WERR_PRINTER_ALREADY_EXISTS W_ERROR(1802) #define WERR_INVALID_DATATYPE W_ERROR(1804) #define WERR_INVALID_ENVIRONMENT W_ERROR(1805) +#define WERR_INVALID_FORM_SIZE W_ERROR(1903) #define WERR_BUF_TOO_SMALL W_ERROR(2123) #define WERR_JOB_NOT_FOUND W_ERROR(2151) #define WERR_DEST_NOT_FOUND W_ERROR(2152) -- cgit From aa785249438587f32e129972c82096839f7ed798 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 5 Mar 2002 02:12:00 +0000 Subject: Fix the NTSTATUS -> WERROR for srvsvc pipe. Jeremy. (This used to be commit 2b85d3570c2b149049482c3878c50cf8f5bfca61) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 5633f837a8..498c3a5d2b 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -162,6 +162,7 @@ #define WERR_NOMEM W_ERROR(8) #define WERR_INVALID_NAME W_ERROR(123) #define WERR_UNKNOWN_LEVEL W_ERROR(124) +#define WERR_OBJECT_PATH_INVALID W_ERROR(161) #define WERR_NO_MORE_ITEMS W_ERROR(259) #define WERR_MORE_DATA W_ERROR(234) #define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797) -- cgit From ce236d1dbf2673e2ff921683554cee41fca33249 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Fri, 22 Mar 2002 06:24:38 +0000 Subject: Stomped on some header file version numbers that have crept back in. (This used to be commit e66bdf1229ba84f64c19e817e2c4081dbbf0bee8) --- source3/include/doserr.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 498c3a5d2b..11103b2b0c 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -1,6 +1,5 @@ /* - Unix SMB/Netbios implementation. - Version 1.9. + Unix SMB/CIFS implementation. DOS error code constants Copyright (C) Andrew Tridgell 1992-2000 Copyright (C) John H Terpstra 1996-2000 -- cgit From 416165a52c432d722a12b99e0cf1fb3cbb521f86 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 9 Apr 2002 05:11:34 +0000 Subject: Added WERR_INVALID_FORM_NAME constant. (This used to be commit 908b70f3e23846d0b438a68e45e076e65016e95e) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 11103b2b0c..4945bc69d7 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -169,6 +169,7 @@ #define WERR_PRINTER_ALREADY_EXISTS W_ERROR(1802) #define WERR_INVALID_DATATYPE W_ERROR(1804) #define WERR_INVALID_ENVIRONMENT W_ERROR(1805) +#define WERR_INVALID_FORM_NAME W_ERROR(1902) #define WERR_INVALID_FORM_SIZE W_ERROR(1903) #define WERR_BUF_TOO_SMALL W_ERROR(2123) #define WERR_JOB_NOT_FOUND W_ERROR(2151) -- cgit From 9935aaec4766c0a57311301f234e19e79c27c0c1 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 24 Apr 2002 05:45:04 +0000 Subject: Merge from HEAD: >Added constant and message for invalid security descriptor dos error. (This used to be commit f16c85caff9adb640c70ce6b932f33bdec696665) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 4945bc69d7..9750dd7489 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -164,6 +164,7 @@ #define WERR_OBJECT_PATH_INVALID W_ERROR(161) #define WERR_NO_MORE_ITEMS W_ERROR(259) #define WERR_MORE_DATA W_ERROR(234) +#define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797) #define WERR_INVALID_PRINTER_NAME W_ERROR(1801) #define WERR_PRINTER_ALREADY_EXISTS W_ERROR(1802) -- cgit From e8682b6c8e0bf0ed6e2cdec3c2e83e8771f88755 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 7 May 2002 06:18:50 +0000 Subject: Merge from HEAD: >DOS error 1307 is returned when an invalid owner for a security descriptor >is detected. (This used to be commit 8b5cb1c2dda39ab4eaa5f61272cebcba072c332b) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 9750dd7489..45898f6375 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -164,6 +164,7 @@ #define WERR_OBJECT_PATH_INVALID W_ERROR(161) #define WERR_NO_MORE_ITEMS W_ERROR(259) #define WERR_MORE_DATA W_ERROR(234) +#define WERR_INVALID_OWNER W_ERROR(1307) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797) #define WERR_INVALID_PRINTER_NAME W_ERROR(1801) -- cgit From e90b65284812aaa5ff9e9935ce9bbad7791cbbcd Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 15 Jul 2002 10:35:28 +0000 Subject: updated the 3.0 branch from the head branch - ready for alpha18 (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce) --- 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 45898f6375..135d799596 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -165,7 +165,9 @@ #define WERR_NO_MORE_ITEMS W_ERROR(259) #define WERR_MORE_DATA W_ERROR(234) #define WERR_INVALID_OWNER W_ERROR(1307) +#define WERR_CAN_NOT_COMPLETE W_ERROR(1003) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) +#define WERR_SERVER_UNAVAILABLE W_ERROR(1722) #define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797) #define WERR_INVALID_PRINTER_NAME W_ERROR(1801) #define WERR_PRINTER_ALREADY_EXISTS W_ERROR(1802) -- cgit From a834a73e341059be154426390304a42e4a011f72 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 25 Sep 2002 15:19:00 +0000 Subject: sync'ing up for 3.0alpha20 release (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139) --- source3/include/doserr.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 135d799596..93936463e6 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -148,17 +148,20 @@ /* these are win32 error codes. There are only a few places where these matter for Samba, primarily in the NT printing code */ #define WERR_OK W_ERROR(0) +#define WERR_BADFUNC W_ERROR(1) #define WERR_BADFILE W_ERROR(2) #define WERR_ACCESS_DENIED W_ERROR(5) #define WERR_BADFID W_ERROR(6) -#define WERR_BADFUNC W_ERROR(1) -#define WERR_INSUFFICIENT_BUFFER W_ERROR(122) +#define WERR_NOMEM W_ERROR(8) +#define WERR_GENERAL_FAILURE W_ERROR(31) +#define WERR_NOT_SUPPORTED W_ERROR(50) +#define WERR_PRINTQ_FULL W_ERROR(61) +#define WERR_NO_SPOOL_SPACE W_ERROR(62) #define WERR_NO_SUCH_SHARE W_ERROR(67) #define WERR_ALREADY_EXISTS W_ERROR(80) -#define WERR_INVALID_PARAM W_ERROR(87) -#define WERR_NOT_SUPPORTED W_ERROR(50) #define WERR_BAD_PASSWORD W_ERROR(86) -#define WERR_NOMEM W_ERROR(8) +#define WERR_INVALID_PARAM W_ERROR(87) +#define WERR_INSUFFICIENT_BUFFER W_ERROR(122) #define WERR_INVALID_NAME W_ERROR(123) #define WERR_UNKNOWN_LEVEL W_ERROR(124) #define WERR_OBJECT_PATH_INVALID W_ERROR(161) -- cgit From c53eb2ed540e79d6deae5f41e17febc5bf5dbf57 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 17 Oct 2002 17:10:24 +0000 Subject: Added new error codes. Fix up connection code to retry in the same way that app-head does. Jeremy. (This used to be commit ec7953f20145799f6286a295472df4826bfdfb8f) --- source3/include/doserr.h | 47 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 40 insertions(+), 7 deletions(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 93936463e6..576aeda2bf 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -82,13 +82,28 @@ #define ERRnoipc 66 /* don't support ipc */ /* These errors seem to be only returned by the NT printer driver system */ - +#define ERRdriveralreadyinstalled 1795 /* ERROR_PRINTER_DRIVER_ALREADY_INSTALLED */ +#define ERRunknownprinterport 1796 /* ERROR_UNKNOWN_PORT */ #define ERRunknownprinterdriver 1797 /* ERROR_UNKNOWN_PRINTER_DRIVER */ +#define ERRunknownprintprocessor 1798 /* ERROR_UNKNOWN_PRINTPROCESSOR */ +#define ERRinvalidseparatorfile 1799 /* ERROR_INVALID_SEPARATOR_FILE */ +#define ERRinvalidjobpriority 1800 /* ERROR_INVALID_PRIORITY */ #define ERRinvalidprintername 1801 /* ERROR_INVALID_PRINTER_NAME */ #define ERRprinteralreadyexists 1802 /* ERROR_PRINTER_ALREADY_EXISTS */ +#define ERRinvalidprintercommand 1803 /* ERROR_INVALID_PRINTER_COMMAND */ #define ERRinvaliddatatype 1804 /* ERROR_INVALID_DATATYPE */ #define ERRinvalidenvironment 1805 /* ERROR_INVALID_ENVIRONMENT */ + +#define ERRunknownprintmonitor 3000 /* ERROR_UNKNOWN_PRINT_MONITOR */ #define ERRprinterdriverinuse 3001 /* ERROR_PRINTER_DRIVER_IN_USE */ +#define ERRspoolfilenotfound 3002 /* ERROR_SPOOL_FILE_NOT_FOUND */ +#define ERRnostartdoc 3003 /* ERROR_SPL_NO_STARTDOC */ +#define ERRnoaddjob 3004 /* ERROR_SPL_NO_ADDJOB */ +#define ERRprintprocessoralreadyinstalled 3005 /* ERROR_PRINT_PROCESSOR_ALREADY_INSTALLED */ +#define ERRprintmonitoralreadyinstalled 3006 /* ERROR_PRINT_MONITOR_ALREADY_INSTALLED */ +#define ERRinvalidprintmonitor 3007 /* ERROR_INVALID_PRINT_MONITOR */ +#define ERRprintmonitorinuse 3008 /* ERROR_PRINT_MONITOR_IN_USE */ +#define ERRprinterhasjobsqueued 3009 /* ERROR_PRINTER_HAS_JOBS_QUEUED */ /* Error codes for the ERRSRV class */ @@ -171,20 +186,38 @@ #define WERR_CAN_NOT_COMPLETE W_ERROR(1003) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) -#define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(1797) -#define WERR_INVALID_PRINTER_NAME W_ERROR(1801) -#define WERR_PRINTER_ALREADY_EXISTS W_ERROR(1802) -#define WERR_INVALID_DATATYPE W_ERROR(1804) -#define WERR_INVALID_ENVIRONMENT W_ERROR(1805) #define WERR_INVALID_FORM_NAME W_ERROR(1902) #define WERR_INVALID_FORM_SIZE W_ERROR(1903) #define WERR_BUF_TOO_SMALL W_ERROR(2123) #define WERR_JOB_NOT_FOUND W_ERROR(2151) #define WERR_DEST_NOT_FOUND W_ERROR(2152) #define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320) -#define WERR_PRINTER_DRIVER_IN_USE W_ERROR(3001) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) +#define WERR_PRINTER_DRIVER_ALREADY_INSTALLED W_ERROR(ERRdriveralreadyinstalled) +#define WERR_UNKNOWN_PORT W_ERROR(ERRunknownprinterport) +#define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(ERRunknownprinterdriver) +#define WERR_UNKNOWN_PRINTPROCESSOR W_ERROR(ERRunknownprintprocessor) +#define WERR_INVALID_SEPARATOR_FILE W_ERROR(ERRinvalidseparatorfile) +#define WERR_INVALID_PRIORITY W_ERROR(ERRinvalidjobpriority) +#define WERR_INVALID_PRINTER_NAME W_ERROR(ERRinvalidprintername) +#define WERR_PRINTER_ALREADY_EXISTS W_ERROR(ERRprinteralreadyexists) +#define WERR_INVALID_PRINTER_COMMAND W_ERROR(ERRinvalidprintercommand) +#define WERR_INVALID_DATATYPE W_ERROR(ERRinvaliddatatype) +#define WERR_INVALID_ENVIRONMENT W_ERROR(ERRinvalidenvironment) + +#define WERR_UNKNOWN_PRINT_MONITOR W_ERROR(ERRunknownprintmonitor) +#define WERR_PRINTER_DRIVER_IN_USE W_ERROR(ERRprinterdriverinuse) +#define WERR_SPOOL_FILE_NOT_FOUND W_ERROR(ERRspoolfilenotfound) +#define WERR_SPL_NO_STARTDOC W_ERROR(ERRnostartdoc) +#define WERR_SPL_NO_ADDJOB W_ERROR(ERRnoaddjob) +#define WERR_PRINT_PROCESSOR_ALREADY_INSTALLED W_ERROR(ERRprintprocessoralreadyinstalled) +#define WERR_PRINT_MONITOR_ALREADY_INSTALLED W_ERROR(ERRprintmonitoralreadyinstalled) +#define WERR_INVALID_PRINT_MONITOR W_ERROR(ERRinvalidprintmonitor) +#define WERR_PRINT_MONITOR_IN_USE W_ERROR(ERRprintmonitorinuse) +#define WERR_PRINTER_HAS_JOBS_QUEUED W_ERROR(ERRprinterhasjobsqueued) + + /* DFS errors */ #ifndef NERR_BASE -- cgit From 3eff1f48d5806aeb0347f13c50e7620bbdc04dd5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 13 Oct 2004 01:40:35 +0000 Subject: r2942: Add client-side support of triggering ads printer publishing over msrpc setprinter calls inside the net-tool. This is usefull to mimic the same queries a windows-client does. At least win2k returns WERR_IO_PENDING when printer is published via setprinter, samba returns WERR_OK but this does not hurt. Guenther (This used to be commit 69b745fb98b8054d1f52e8a3fe3b933fb04336db) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 576aeda2bf..c6d6b1fac9 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -183,6 +183,7 @@ #define WERR_NO_MORE_ITEMS W_ERROR(259) #define WERR_MORE_DATA W_ERROR(234) #define WERR_INVALID_OWNER W_ERROR(1307) +#define WERR_IO_PENDING W_ERROR(997) #define WERR_CAN_NOT_COMPLETE W_ERROR(1003) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) -- cgit From 5d1cb8e79edea9e8581d3c2c9dd297310cd9a98c Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 23 Mar 2005 23:26:33 +0000 Subject: r6014: rather large change set.... pulling back all recent rpc changes from trunk into 3.0. I've tested a compile and so don't think I've missed any files. But if so, just mail me and I'll clean backup in a couple of hours. Changes include \winreg, \eventlog, \svcctl, and general parse_misc.c updates. I am planning on bracketing the event code with an #ifdef ENABLE_EVENTLOG until I finish merging Marcin's changes (very soon). (This used to be commit 4e0ac63c36527cd8c52ef720cae17e84f67e7221) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index c6d6b1fac9..259eafc45f 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -185,6 +185,7 @@ #define WERR_INVALID_OWNER W_ERROR(1307) #define WERR_IO_PENDING W_ERROR(997) #define WERR_CAN_NOT_COMPLETE W_ERROR(1003) +#define WERR_NO_SUCH_SERVICE W_ERROR(1060) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) #define WERR_INVALID_FORM_NAME W_ERROR(1902) -- cgit From 66e8ed2632f8efb4e749a79609eb34dc488aacdc Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 25 Mar 2005 00:38:30 +0000 Subject: r6051: finish off net rpc service stop net rpc service start net rpc service pause net rpc service resume (This used to be commit a7fb2c50b07a7d9965675272a71f42beba92acfe) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 259eafc45f..60a3c335ec 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -186,6 +186,7 @@ #define WERR_IO_PENDING W_ERROR(997) #define WERR_CAN_NOT_COMPLETE W_ERROR(1003) #define WERR_NO_SUCH_SERVICE W_ERROR(1060) +#define WERR_INVALID_SERVICE_CONTROL W_ERROR(1052) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) #define WERR_INVALID_FORM_NAME W_ERROR(1902) -- cgit From 129b461673ecd0ad4d16c0c99585dd5c067172df Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 9 Jun 2005 15:20:11 +0000 Subject: r7440: * merge registry server changes from trunk (so far) for more printmig.exe work * merge the sys_select_signal(char c) change from trunk in order to keeo the winbind code in sync (This used to be commit a112c5570a7f8ddddde1af0fa665f40a6067e8cf) --- source3/include/doserr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 60a3c335ec..38cd87515e 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -185,6 +185,9 @@ #define WERR_INVALID_OWNER W_ERROR(1307) #define WERR_IO_PENDING W_ERROR(997) #define WERR_CAN_NOT_COMPLETE W_ERROR(1003) +#define WERR_REG_CORRUPT W_ERROR(1015) +#define WERR_REG_IO_FAILURE W_ERROR(1016) +#define WERR_REG_FILE_INVALID W_ERROR(1017) #define WERR_NO_SUCH_SERVICE W_ERROR(1060) #define WERR_INVALID_SERVICE_CONTROL W_ERROR(1052) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) -- cgit From 3f657f41cc7a71b3d5b769b31be030ebf543a645 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 15 Jun 2005 12:43:36 +0000 Subject: r7606: add WERR_NET_NAME_NOT_FOUND. This is what windows returns when trying to manipulate non-existing shares. Guenther (This used to be commit 2e5cb531ab8a8babbc425b22d17a39c18f602d4f) --- source3/include/doserr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 38cd87515e..77255ee4c1 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -236,4 +236,7 @@ #define WERR_DFS_INTERNAL_ERROR W_ERROR(NERR_BASE+590) #define WERR_DFS_CANT_CREATE_JUNCT W_ERROR(NERR_BASE+569) +#define WERR_NET_NAME_NOT_FOUND W_ERROR(NERR_BASE+210) + + #endif /* _DOSERR_H */ -- cgit From af8a691db11a5072865f8b03fd1cbd3aab5cb6d7 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 8 Jul 2005 04:51:27 +0000 Subject: r8219: Merge the new open code from HEAD to 3.0. Haven't yet run the torture tests on this as it's very late NY time (just wanted to get this work into the tree). I'll test this over the weekend.... Jerry - in looking at the difference between the two trees there seem to be some printing/ntprinting.c and registry changes we might want to examine to try keep in sync. Jeremy. (This used to be commit c7fe18761e2c753afbffd3a78abff46472a9b8eb) --- source3/include/doserr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 77255ee4c1..647f11527b 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -63,6 +63,9 @@ #define ERRinvalidname 123 /* Invalid name */ #define ERRunknownlevel 124 #define ERRnotlocked 158 /* This region is not locked by this locking context. */ +#define ERRinvalidpath 161 +#define ERRcancelviolation 173 +#define ERRnoatomiclocks 174 #define ERRrename 183 #define ERRbadpipe 230 /* Named pipe invalid */ #define ERRpipebusy 231 /* All instances of pipe are busy */ -- cgit From 4a9637495ecdcf97e211e0af174e2429379e3945 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 12 Aug 2005 00:35:31 +0000 Subject: r9253: From Samba4 tridge commit - added a new DOS error code (thanks to EMC) Jeremy. (This used to be commit b195af0b392f1acf1813d88720bf989725927d93) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 647f11527b..7c98171250 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -72,6 +72,7 @@ #define ERRpipeclosing 232 /* named pipe close in progress */ #define ERRnotconnected 233 /* No process on other end of named pipe */ #define ERRmoredata 234 /* More data to be returned */ +#define ERReainconsistent 255 /* from EMC */ #define ERRnomoreitems 259 #define ERRbaddirectory 267 /* Invalid directory name in a path. */ #define ERReasnotsupported 282 /* Extended attributes */ -- cgit From 54abd2aa66069e6baf7769c496f46d9dba18db39 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 30 Sep 2005 17:13:37 +0000 Subject: r10656: BIG merge from trunk. Features not copied over * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3) --- source3/include/doserr.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 7c98171250..593d5d99ee 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -5,6 +5,7 @@ Copyright (C) John H Terpstra 1996-2000 Copyright (C) Luke Kenneth Casson Leighton 1996-2000 Copyright (C) Paul Ashton 1998-2000 + Copyright (C) Gerald (Jerry) Carter 2005 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -174,6 +175,7 @@ #define WERR_NOMEM W_ERROR(8) #define WERR_GENERAL_FAILURE W_ERROR(31) #define WERR_NOT_SUPPORTED W_ERROR(50) +#define WERR_DEVICE_NOT_EXIST W_ERROR(55) #define WERR_PRINTQ_FULL W_ERROR(61) #define WERR_NO_SPOOL_SPACE W_ERROR(62) #define WERR_NO_SUCH_SHARE W_ERROR(67) @@ -227,6 +229,12 @@ #define WERR_PRINT_MONITOR_IN_USE W_ERROR(ERRprintmonitorinuse) #define WERR_PRINTER_HAS_JOBS_QUEUED W_ERROR(ERRprinterhasjobsqueued) +/* Configuration Manager Errors */ +/* Basically Win32 errors meanings are specific to the \ntsvcs pipe */ + +#define WERR_CM_NO_MORE_HW_PROFILES W_ERROR(35) +#define WERR_CM_NO_SUCH_VALUE W_ERROR(37) + /* DFS errors */ -- cgit From a5b2ec0ba0b13095d5b129ff2f4d3d6e1fea951a Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Tue, 11 Oct 2005 18:42:25 +0000 Subject: r10909: Give better shutdown messages (This used to be commit 8075b99b44085d107fa42d431300c60133ec53eb) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 593d5d99ee..a8e7a14bc1 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -196,6 +196,7 @@ #define WERR_REG_FILE_INVALID W_ERROR(1017) #define WERR_NO_SUCH_SERVICE W_ERROR(1060) #define WERR_INVALID_SERVICE_CONTROL W_ERROR(1052) +#define WERR_MACHINE_LOCKED W_ERROR(1271) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) #define WERR_INVALID_FORM_NAME W_ERROR(1902) -- cgit From 078efed0759e93b5b441d3f6a2f2206b3fe6152a Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 14 Oct 2005 17:32:37 +0000 Subject: r11063: merging missing error code for event logs (This used to be commit 1aeb7950d36b8faee529cb6dcd36c05809cfe1d0) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index a8e7a14bc1..60c450c819 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -198,6 +198,7 @@ #define WERR_INVALID_SERVICE_CONTROL W_ERROR(1052) #define WERR_MACHINE_LOCKED W_ERROR(1271) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) +#define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) #define WERR_INVALID_FORM_NAME W_ERROR(1902) #define WERR_INVALID_FORM_SIZE W_ERROR(1903) -- cgit From a48955306705ac7f045e3726d7097900550bebe3 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Sun, 11 Dec 2005 04:21:34 +0000 Subject: r12173: doing some service control work * Add a few new error codes for disabled services * dump some more details about service status in 'net rpc service' * disable the WINS and NetLogon services if not configured in smb.conf Still trying to figure out how to disable the start button on the NetLogon and WINS services. (This used to be commit c0f54eeebc84ec9fab63c5b105511762bcc136be) --- 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 60c450c819..62c1e4fa22 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -196,6 +196,8 @@ #define WERR_REG_FILE_INVALID W_ERROR(1017) #define WERR_NO_SUCH_SERVICE W_ERROR(1060) #define WERR_INVALID_SERVICE_CONTROL W_ERROR(1052) +#define WERR_SERVICE_DISABLED W_ERROR(1058) +#define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) #define WERR_MACHINE_LOCKED W_ERROR(1271) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500) -- cgit From 0af1500fc0bafe61019f1b2ab1d9e1d369221240 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 3 Feb 2006 22:19:41 +0000 Subject: r13316: Let the carnage begin.... Sync with trunk as off r13315 (This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 62c1e4fa22..8f8ea06696 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -200,6 +200,7 @@ #define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) #define WERR_MACHINE_LOCKED W_ERROR(1271) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) +#define WERR_TIME_SKEW W_ERROR(1398) #define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) #define WERR_INVALID_FORM_NAME W_ERROR(1902) -- cgit From 6fd4813ece5e03c92334acfa7e168cd7d0248919 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 14 Aug 2006 16:53:14 +0000 Subject: r17541: When returning a trans2 request, if the "max data bytes returned" is less than the amount we want to send, return what we can and set STATUS_BUFFER_OVERFLOW (doserror ERRDOS,ERRbufferoverflow). Required by OS/2 to handle EA's that are too large. It's hard to test this in Samba4 smbtorture as the max data bytes returned is hard coded at 0xffff (as it is in the Samba3 client libraries also). I used a custom version of Samba4 smbtorture to test this out. Might add a "max data bytes" param to make this testable in the build farm. Confirmed by "Guenter Kukkukk (sambaos2)" and Andreas Taegener that this fixes the issue. Jeremy. (This used to be commit ff2f1202b76991a404dae8df17c36f8135c8dc51) --- 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 8f8ea06696..bc381e3351 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -44,6 +44,7 @@ #define ERRnomem 8 /* Out of memory */ #define ERRbadmem 9 /* Invalid memory block address */ #define ERRbadenv 10 /* Invalid environment */ +#define ERRbadformat 11 /* Bad Format */ #define ERRbadaccess 12 /* Invalid open mode */ #define ERRbaddata 13 /* Invalid data (only from ioctl call) */ #define ERRres 14 /* reserved */ @@ -60,6 +61,7 @@ #define ERRfilexists 80 /* File in operation already exists */ #define ERRinvalidparam 87 #define ERRcannotopen 110 /* Cannot open the file specified */ +#define ERRbufferoverflow 111 #define ERRinsufficientbuffer 122 #define ERRinvalidname 123 /* Invalid name */ #define ERRunknownlevel 124 -- cgit From e0b6961ac5b501f51bd004a392c606e3ef308fee Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 7 Oct 2006 05:23:56 +0000 Subject: r19160: Add new WERR codes seen by working with NETLOGON getdcname. Guenther (This used to be commit 78b0124a6e7051da2df3157f02593f06f7f31a1b) --- 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 bc381e3351..4e3a85ff73 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -201,6 +201,8 @@ #define WERR_SERVICE_DISABLED W_ERROR(1058) #define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) #define WERR_MACHINE_LOCKED W_ERROR(1271) +#define WERR_NO_LOGON_SERVERS W_ERROR(1311) +#define WERR_NO_SUCH_DOMAIN W_ERROR(1355) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_TIME_SKEW W_ERROR(1398) #define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500) -- cgit From 8e00e9d7a6114089fc176bc3446c6c97a01543d6 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 1 Mar 2007 02:43:33 +0000 Subject: r21609: Fix memory leaks in error code paths (and one in winbindd_group.c). Patch from Zack Kirsch . Jeremy. (This used to be commit df07a662e32367a52c1e8473475423db2ff5bc51) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 4e3a85ff73..3c3978a5b9 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -202,6 +202,7 @@ #define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) #define WERR_MACHINE_LOCKED W_ERROR(1271) #define WERR_NO_LOGON_SERVERS W_ERROR(1311) +#define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_TIME_SKEW W_ERROR(1398) -- cgit From 94e4a468f02bc243b72c7e1ddd5a15facf661ae5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 May 2007 23:11:11 +0000 Subject: r23127: Fill in some more netlogon dsgetdcname flavours (netr_DsRGetDCNameEx, netr_DsRGetDCNameEx2) and add new ds request and reply flags, also add some more WERROR codes. Guenther (This used to be commit 37ae7f419702c563bcd0d9c27c02bde7efd34dd7) --- source3/include/doserr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 3c3978a5b9..5073cd005c 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -184,6 +184,7 @@ #define WERR_ALREADY_EXISTS W_ERROR(80) #define WERR_BAD_PASSWORD W_ERROR(86) #define WERR_INVALID_PARAM W_ERROR(87) +#define WERR_SEM_TIMEOUT W_ERROR(121) #define WERR_INSUFFICIENT_BUFFER W_ERROR(122) #define WERR_INVALID_NAME W_ERROR(123) #define WERR_UNKNOWN_LEVEL W_ERROR(124) @@ -193,6 +194,7 @@ #define WERR_INVALID_OWNER W_ERROR(1307) #define WERR_IO_PENDING W_ERROR(997) #define WERR_CAN_NOT_COMPLETE W_ERROR(1003) +#define WERR_INVALID_FLAGS W_ERROR(1004) #define WERR_REG_CORRUPT W_ERROR(1015) #define WERR_REG_IO_FAILURE W_ERROR(1016) #define WERR_REG_FILE_INVALID W_ERROR(1017) @@ -214,6 +216,7 @@ #define WERR_JOB_NOT_FOUND W_ERROR(2151) #define WERR_DEST_NOT_FOUND W_ERROR(2152) #define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320) +#define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(2453) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) #define WERR_PRINTER_DRIVER_ALREADY_INSTALLED W_ERROR(ERRdriveralreadyinstalled) -- cgit From f09115f85cc315bde71df47bfb63f080e509dd72 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 27 Jun 2007 09:36:00 +0000 Subject: r23624: Merge dos error code from samba4 (returned from dfs_Enum against w2k3 as soon as a one DFS_VOLUME_FLAVOR_AD_BLOB dfsroot exists). Guenther (This used to be commit 837b0a14c430faa4e4cada03a1efe2823a7b2e2e) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 5073cd005c..e9dab2adef 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -217,6 +217,7 @@ #define WERR_DEST_NOT_FOUND W_ERROR(2152) #define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320) #define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(2453) +#define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) #define WERR_PRINTER_DRIVER_ALREADY_INSTALLED W_ERROR(ERRdriveralreadyinstalled) -- cgit From d824b98f80ba186030cbb70b3a1e5daf80469ecd Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 9 Jul 2007 19:25:36 +0000 Subject: r23779: Change from v2 or later to v3 or later. Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3) --- source3/include/doserr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index e9dab2adef..adc8e41f89 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -9,7 +9,7 @@ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or + the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, -- cgit From 5e54558c6dea67b56bbfaba5698f3a434d3dffb6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 10 Jul 2007 00:52:41 +0000 Subject: r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07) --- source3/include/doserr.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index adc8e41f89..2f2861ae4a 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -18,8 +18,7 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + along with this program. If not, see . */ #ifndef _DOSERR_H -- cgit From 06ae5243f302c79fa2fe9ebbf1fb212e2f830c18 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 15 Oct 2007 19:10:19 +0200 Subject: Add WERR_SERVICE_ALREADY_RUNNING. Guenther (This used to be commit 357f00384994946485a5190b6a9c493aeee53cd2) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 2f2861ae4a..6e29faf96f 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -199,6 +199,7 @@ #define WERR_REG_FILE_INVALID W_ERROR(1017) #define WERR_NO_SUCH_SERVICE W_ERROR(1060) #define WERR_INVALID_SERVICE_CONTROL W_ERROR(1052) +#define WERR_SERVICE_ALREADY_RUNNING W_ERROR(1056) #define WERR_SERVICE_DISABLED W_ERROR(1058) #define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) #define WERR_MACHINE_LOCKED W_ERROR(1271) -- cgit From 22cf7f5ffa7f37be3c85d226c3477508f88eccd5 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 30 Nov 2007 19:46:25 +0100 Subject: Merge join error codes from Samba 4. Guenther (This used to be commit 88a01bd810c36631272c5db727334bdc6f12f07d) --- source3/include/doserr.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 6e29faf96f..a22eda2ab7 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -217,6 +217,11 @@ #define WERR_DEST_NOT_FOUND W_ERROR(2152) #define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320) #define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(2453) + +#define WERR_SETUP_ALREADY_JOINED W_ERROR(2691) +#define WERR_SETUP_NOT_JOINED W_ERROR(2692) +#define WERR_SETUP_DOMAIN_CONTROLLER W_ERROR(2693) + #define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) -- cgit From 713e1536fe4914e6df11cf10316d0b1c7c3685a3 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 18 Dec 2007 13:38:14 +0100 Subject: Merge WERR_NO_SUCH_LOGON_SESSION from Samba4. Guenther (This used to be commit 7b528647879bb55c9c85243a3e2906c09490edc9) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index a22eda2ab7..079a5664dd 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -204,6 +204,7 @@ #define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) #define WERR_MACHINE_LOCKED W_ERROR(1271) #define WERR_NO_LOGON_SERVERS W_ERROR(1311) +#define WERR_NO_SUCH_LOGON_SESSION W_ERROR(1312) #define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) -- cgit From f8dacb9860dfcf1b19191ebeb4a1c0279955464f Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 3 Jan 2008 16:40:04 +0100 Subject: Add some more join related werror codes. Guenther (This used to be commit 62e7d467ab1b2f98327960eec3a3a925b2f04bda) --- 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 079a5664dd..08f5b3e39d 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -216,12 +216,14 @@ #define WERR_BUF_TOO_SMALL W_ERROR(2123) #define WERR_JOB_NOT_FOUND W_ERROR(2151) #define WERR_DEST_NOT_FOUND W_ERROR(2152) +#define WERR_USER_EXISTS W_ERROR(2224) #define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320) #define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(2453) #define WERR_SETUP_ALREADY_JOINED W_ERROR(2691) #define WERR_SETUP_NOT_JOINED W_ERROR(2692) #define WERR_SETUP_DOMAIN_CONTROLLER W_ERROR(2693) +#define WERR_DEFAULT_JOIN_REQUIRED W_ERROR(2694) #define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) -- cgit From 80d7cccfe7d6179da75c00481f2116dae6755682 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 18 Jan 2008 01:04:40 +0100 Subject: Add and correct some WERROR codes. Michael (This used to be commit 7aec862ddc2aa2b5152c3a452971e55ba43646a5) --- source3/include/doserr.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 08f5b3e39d..546d06926a 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -213,12 +213,17 @@ #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) #define WERR_INVALID_FORM_NAME W_ERROR(1902) #define WERR_INVALID_FORM_SIZE W_ERROR(1903) +#define WERR_PASSWORD_MUST_CHANGE W_ERROR(1907) +#define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(1908) +#define WERR_ACCOUNT_LOCKED_OUT W_ERROR(1909) + +/* should these go down to NERR_BASE ? */ #define WERR_BUF_TOO_SMALL W_ERROR(2123) #define WERR_JOB_NOT_FOUND W_ERROR(2151) #define WERR_DEST_NOT_FOUND W_ERROR(2152) #define WERR_USER_EXISTS W_ERROR(2224) #define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320) -#define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(2453) +#define WERR_DC_NOT_FOUND W_ERROR(2453) #define WERR_SETUP_ALREADY_JOINED W_ERROR(2691) #define WERR_SETUP_NOT_JOINED W_ERROR(2692) -- cgit From 372f74bba2650cb4f4c8f262c6cf8d761a753e81 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 Jan 2008 23:39:38 +0100 Subject: Add WERR_INVALID_COMPUTER_NAME. Guenther (This used to be commit cb1ff32eff06031150a6821658152e02a4077bbd) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 546d06926a..5794fbe71c 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -202,6 +202,7 @@ #define WERR_SERVICE_ALREADY_RUNNING W_ERROR(1056) #define WERR_SERVICE_DISABLED W_ERROR(1058) #define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) +#define WERR_INVALID_COMPUTER_NAME W_ERROR(1210) #define WERR_MACHINE_LOCKED W_ERROR(1271) #define WERR_NO_LOGON_SERVERS W_ERROR(1311) #define WERR_NO_SUCH_LOGON_SESSION W_ERROR(1312) -- cgit From 0f50f207b764b68fece8d67a7ca8d049e4184af4 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 10 Apr 2008 21:19:30 +0200 Subject: Add MAX_NERR define. Guenther (This used to be commit 729eda95401e63feabb3ed329c6d2888dabe1d68) --- source3/include/doserr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 5794fbe71c..d5892c1652 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -270,6 +270,10 @@ #define NERR_BASE (2100) #endif +#ifndef MAX_NERR +#define MAX_NERR (NERR_BASE+899) +#endif + #define WERR_DFS_NO_SUCH_VOL W_ERROR(NERR_BASE+562) #define WERR_DFS_NO_SUCH_SHARE W_ERROR(NERR_BASE+565) #define WERR_DFS_NO_SUCH_SERVER W_ERROR(NERR_BASE+573) -- cgit From 293831563330b78ee4bdd463c37b7be21a4ebedc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 12 Apr 2008 18:29:13 +0200 Subject: Move some WERRORs down to the NERR_BASE block. Guenther (This used to be commit 2453375ee04f466800f53a0f2991d8d5dee0bd8e) --- source3/include/doserr.h | 27 +++++++++++---------------- 1 file changed, 11 insertions(+), 16 deletions(-) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index d5892c1652..d4bd927fa7 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -218,19 +218,6 @@ #define WERR_DOMAIN_CONTROLLER_NOT_FOUND W_ERROR(1908) #define WERR_ACCOUNT_LOCKED_OUT W_ERROR(1909) -/* should these go down to NERR_BASE ? */ -#define WERR_BUF_TOO_SMALL W_ERROR(2123) -#define WERR_JOB_NOT_FOUND W_ERROR(2151) -#define WERR_DEST_NOT_FOUND W_ERROR(2152) -#define WERR_USER_EXISTS W_ERROR(2224) -#define WERR_NOT_LOCAL_DOMAIN W_ERROR(2320) -#define WERR_DC_NOT_FOUND W_ERROR(2453) - -#define WERR_SETUP_ALREADY_JOINED W_ERROR(2691) -#define WERR_SETUP_NOT_JOINED W_ERROR(2692) -#define WERR_SETUP_DOMAIN_CONTROLLER W_ERROR(2693) -#define WERR_DEFAULT_JOIN_REQUIRED W_ERROR(2694) - #define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) @@ -274,13 +261,21 @@ #define MAX_NERR (NERR_BASE+899) #endif +#define WERR_BUF_TOO_SMALL W_ERROR(NERR_BASE+23) +#define WERR_JOB_NOT_FOUND W_ERROR(NERR_BASE+51) +#define WERR_DEST_NOT_FOUND W_ERROR(NERR_BASE+52) +#define WERR_USER_EXISTS W_ERROR(NERR_BASE+124) +#define WERR_NET_NAME_NOT_FOUND W_ERROR(NERR_BASE+210) +#define WERR_NOT_LOCAL_DOMAIN W_ERROR(NERR_BASE+220) +#define WERR_DC_NOT_FOUND W_ERROR(NERR_BASE+353) #define WERR_DFS_NO_SUCH_VOL W_ERROR(NERR_BASE+562) #define WERR_DFS_NO_SUCH_SHARE W_ERROR(NERR_BASE+565) #define WERR_DFS_NO_SUCH_SERVER W_ERROR(NERR_BASE+573) #define WERR_DFS_INTERNAL_ERROR W_ERROR(NERR_BASE+590) #define WERR_DFS_CANT_CREATE_JUNCT W_ERROR(NERR_BASE+569) - -#define WERR_NET_NAME_NOT_FOUND W_ERROR(NERR_BASE+210) - +#define WERR_SETUP_ALREADY_JOINED W_ERROR(NERR_BASE+591) +#define WERR_SETUP_NOT_JOINED W_ERROR(NERR_BASE+592) +#define WERR_SETUP_DOMAIN_CONTROLLER W_ERROR(NERR_BASE+593) +#define WERR_DEFAULT_JOIN_REQUIRED W_ERROR(NERR_BASE+594) #endif /* _DOSERR_H */ -- cgit From 98abf71ff525711bda177b4b8b64f0f43d872891 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 12 Apr 2008 18:30:14 +0200 Subject: Add WERR_USER_ALREADY_EXISTS and WERR_PASSWORD_RESTRICTION. Guenther (This used to be commit eefd03d39b107598e9b0d1f35def7b17073d8ebc) --- 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 d4bd927fa7..1d1cc49051 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -206,6 +206,8 @@ #define WERR_MACHINE_LOCKED W_ERROR(1271) #define WERR_NO_LOGON_SERVERS W_ERROR(1311) #define WERR_NO_SUCH_LOGON_SESSION W_ERROR(1312) +#define WERR_USER_ALREADY_EXISTS W_ERROR(1316) +#define WERR_PASSWORD_RESTRICTION W_ERROR(1325) #define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) -- cgit From 202e8cc57efc1f69f0d6dd57a6e9bc38ea8e4afd Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 14 Apr 2008 15:48:23 +0200 Subject: doserr: Add WERR_INVALID_DOMAIN_STATE and WERR_INVALID_DOMAIN_ROLE. Guenther (This used to be commit 91a55fc27dc100cf193cfa2613771312f018449e) --- 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 1d1cc49051..684f17298f 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -211,6 +211,8 @@ #define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) +#define WERR_INVALID_DOMAIN_STATE W_ERROR(1353) +#define WERR_INVALID_DOMAIN_ROLE W_ERROR(1354) #define WERR_TIME_SKEW W_ERROR(1398) #define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) -- cgit From 44912a9fb9e2cf96b0117790fb6d5e4e7c6eca45 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Apr 2008 02:23:20 +0200 Subject: errors: Add WERR_NONE_MAPPED. Guenther (This used to be commit dc165e1c80586664ddb4d3d68182598d02ba204a) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 684f17298f..a99475a4e7 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -210,6 +210,7 @@ #define WERR_PASSWORD_RESTRICTION W_ERROR(1325) #define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) +#define WERR_NONE_MAPPED W_ERROR(1332) #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_INVALID_DOMAIN_STATE W_ERROR(1353) #define WERR_INVALID_DOMAIN_ROLE W_ERROR(1354) -- cgit From c1d4243c5a02dad3159c494697dea9154a6ea199 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 16 Apr 2008 02:37:27 +0200 Subject: errors: Add WERR_NO_SUCH_USER. Guenther (This used to be commit 82803186febfe6a55c1a598073657c2c4a513000) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index a99475a4e7..65892d3abd 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -207,6 +207,7 @@ #define WERR_NO_LOGON_SERVERS W_ERROR(1311) #define WERR_NO_SUCH_LOGON_SESSION W_ERROR(1312) #define WERR_USER_ALREADY_EXISTS W_ERROR(1316) +#define WERR_NO_SUCH_USER W_ERROR(1317) #define WERR_PASSWORD_RESTRICTION W_ERROR(1325) #define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) -- cgit From dddac2bc8f97c6ece4242281e817415c77b181a2 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 Apr 2008 22:19:23 +0200 Subject: errors: add WERR_INVALID_DOMAINNAME. Guenther (This used to be commit b11a5e70d38239fb50ba4606656e2168cc398a12) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 65892d3abd..d4fefb234b 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -203,6 +203,7 @@ #define WERR_SERVICE_DISABLED W_ERROR(1058) #define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) #define WERR_INVALID_COMPUTER_NAME W_ERROR(1210) +#define WERR_INVALID_DOMAINNAME W_ERROR(1212) #define WERR_MACHINE_LOCKED W_ERROR(1271) #define WERR_NO_LOGON_SERVERS W_ERROR(1311) #define WERR_NO_SUCH_LOGON_SESSION W_ERROR(1312) -- cgit From d0411c19dc847919b2a7941d91d2605c885e2b62 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 29 Apr 2008 20:10:17 +0200 Subject: errors: add WERR_NOT_FOUND. Guenther (This used to be commit b9ac03bdfa5763c713674acd966ab5d4371992a5) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index d4fefb234b..44ce73973c 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -202,6 +202,7 @@ #define WERR_SERVICE_ALREADY_RUNNING W_ERROR(1056) #define WERR_SERVICE_DISABLED W_ERROR(1058) #define WERR_SERVICE_NEVER_STARTED W_ERROR(1077) +#define WERR_NOT_FOUND W_ERROR(1168) #define WERR_INVALID_COMPUTER_NAME W_ERROR(1210) #define WERR_INVALID_DOMAINNAME W_ERROR(1212) #define WERR_MACHINE_LOCKED W_ERROR(1271) -- cgit From 372a6c0360a295223b4ccbd9c2de63e800531231 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 26 May 2008 14:19:28 +0200 Subject: doserr: add WERR_REVISION_MISMATCH. Guenther (This used to be commit 017ad275e51ff2d9ddfb4390979f16868f3e6a3f) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 44ce73973c..68dc0c13c0 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -206,6 +206,7 @@ #define WERR_INVALID_COMPUTER_NAME W_ERROR(1210) #define WERR_INVALID_DOMAINNAME W_ERROR(1212) #define WERR_MACHINE_LOCKED W_ERROR(1271) +#define WERR_REVISION_MISMATCH W_ERROR(1306) #define WERR_NO_LOGON_SERVERS W_ERROR(1311) #define WERR_NO_SUCH_LOGON_SESSION W_ERROR(1312) #define WERR_USER_ALREADY_EXISTS W_ERROR(1316) -- cgit From ff7b8bcebf0f09b6f1b0a9719bd9670a4fc11868 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 28 May 2008 13:57:21 +0200 Subject: doserr: Add WERR_GROUP_EXISTS and WERR_SPECIAL_ACCOUNT. Guenther (This used to be commit 058cf7001e8a57ff0a1e19aadf3e0e068b7e69f4) --- 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 68dc0c13c0..095414ae3c 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -211,6 +211,7 @@ #define WERR_NO_SUCH_LOGON_SESSION W_ERROR(1312) #define WERR_USER_ALREADY_EXISTS W_ERROR(1316) #define WERR_NO_SUCH_USER W_ERROR(1317) +#define WERR_GROUP_EXISTS W_ERROR(1318) #define WERR_PASSWORD_RESTRICTION W_ERROR(1325) #define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) @@ -218,6 +219,7 @@ #define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338) #define WERR_INVALID_DOMAIN_STATE W_ERROR(1353) #define WERR_INVALID_DOMAIN_ROLE W_ERROR(1354) +#define WERR_SPECIAL_ACCOUNT W_ERROR(1371) #define WERR_TIME_SKEW W_ERROR(1398) #define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) -- cgit From 39101acba53f259f5a0147c9dc19f8d1d0dd6212 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 2 Jun 2008 14:45:08 +0200 Subject: errors: add more WERRORs. Guenther (This used to be commit 973de861c98c62ba31ceb63b3434dc201ae8bf06) --- source3/include/doserr.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 095414ae3c..b027ba4f9b 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -212,6 +212,8 @@ #define WERR_USER_ALREADY_EXISTS W_ERROR(1316) #define WERR_NO_SUCH_USER W_ERROR(1317) #define WERR_GROUP_EXISTS W_ERROR(1318) +#define WERR_MEMBER_IN_GROUP W_ERROR(1320) +#define WERR_USER_NOT_IN_GROUP W_ERROR(1321) #define WERR_PASSWORD_RESTRICTION W_ERROR(1325) #define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) @@ -220,6 +222,7 @@ #define WERR_INVALID_DOMAIN_STATE W_ERROR(1353) #define WERR_INVALID_DOMAIN_ROLE W_ERROR(1354) #define WERR_SPECIAL_ACCOUNT W_ERROR(1371) +#define WERR_ALIAS_EXISTS W_ERROR(1379) #define WERR_TIME_SKEW W_ERROR(1398) #define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500) #define WERR_SERVER_UNAVAILABLE W_ERROR(1722) @@ -275,6 +278,8 @@ #define WERR_BUF_TOO_SMALL W_ERROR(NERR_BASE+23) #define WERR_JOB_NOT_FOUND W_ERROR(NERR_BASE+51) #define WERR_DEST_NOT_FOUND W_ERROR(NERR_BASE+52) +#define WERR_GROUP_NOT_FOUND W_ERROR(NERR_BASE+120) +#define WERR_USER_NOT_FOUND W_ERROR(NERR_BASE+121) #define WERR_USER_EXISTS W_ERROR(NERR_BASE+124) #define WERR_NET_NAME_NOT_FOUND W_ERROR(NERR_BASE+210) #define WERR_NOT_LOCAL_DOMAIN W_ERROR(NERR_BASE+220) -- cgit From 5a4cf3dbf24809a61d4d1d62036e05f5d108d0f6 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 26 Jun 2008 09:49:13 +0200 Subject: errors: add WERR_DS_DRA_BAD_NC and WERR_DS_DRA_BAD_DN. Guenther (This used to be commit 2efe18f7c96d8d122943342b9af1db62a1432771) --- source3/include/doserr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index b027ba4f9b..c455f7a3c9 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -235,6 +235,9 @@ #define WERR_DEVICE_NOT_AVAILABLE W_ERROR(4319) #define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105) +#define WERR_DS_DRA_BAD_DN W_ERROR(8439) +#define WERR_DS_DRA_BAD_NC W_ERROR(8440) + #define WERR_PRINTER_DRIVER_ALREADY_INSTALLED W_ERROR(ERRdriveralreadyinstalled) #define WERR_UNKNOWN_PORT W_ERROR(ERRunknownprinterport) #define WERR_UNKNOWN_PRINTER_DRIVER W_ERROR(ERRunknownprinterdriver) -- cgit From 050db35262e8fb8d475e0b193c6a8c12f517307b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 1 Aug 2008 17:22:00 +0200 Subject: doserr: add WERR_MEMBER_IN_ALIAS. Guenther (This used to be commit b62de0d1944de3dba55e182e0d8eb7c6ca5ec045) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index c455f7a3c9..9dd20e87e7 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -222,6 +222,7 @@ #define WERR_INVALID_DOMAIN_STATE W_ERROR(1353) #define WERR_INVALID_DOMAIN_ROLE W_ERROR(1354) #define WERR_SPECIAL_ACCOUNT W_ERROR(1371) +#define WERR_MEMBER_IN_ALIAS W_ERROR(1378) #define WERR_ALIAS_EXISTS W_ERROR(1379) #define WERR_TIME_SKEW W_ERROR(1398) #define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500) -- cgit From 087a992b973466079f033c55bc5a1f522dc235fd Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 1 Sep 2008 17:07:33 +0200 Subject: doserr: add WERR_WRONG_PASSWORD. Guenther (This used to be commit 977fec76b77639403ba9ab7bb00c57601e23493d) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index 9dd20e87e7..c901df28e4 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -214,6 +214,7 @@ #define WERR_GROUP_EXISTS W_ERROR(1318) #define WERR_MEMBER_IN_GROUP W_ERROR(1320) #define WERR_USER_NOT_IN_GROUP W_ERROR(1321) +#define WERR_WRONG_PASSWORD W_ERROR(1323) #define WERR_PASSWORD_RESTRICTION W_ERROR(1325) #define WERR_LOGON_FAILURE W_ERROR(1326) #define WERR_NO_SUCH_DOMAIN W_ERROR(1355) -- cgit From 893f78731412f2bf79a507e6ebdcbafbdeacb74d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 12 Sep 2008 10:12:01 +0200 Subject: doserr: add WERR_NO_SUCH_ALIAS. Guenther (This used to be commit e065802a61f22e9fdcd4b911805c42c46a79b3f2) --- source3/include/doserr.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/include/doserr.h') diff --git a/source3/include/doserr.h b/source3/include/doserr.h index c901df28e4..5d3b866d01 100644 --- a/source3/include/doserr.h +++ b/source3/include/doserr.h @@ -223,6 +223,7 @@ #define WERR_INVALID_DOMAIN_STATE W_ERROR(1353) #define WERR_INVALID_DOMAIN_ROLE W_ERROR(1354) #define WERR_SPECIAL_ACCOUNT W_ERROR(1371) +#define WERR_NO_SUCH_ALIAS W_ERROR(1376) #define WERR_MEMBER_IN_ALIAS W_ERROR(1378) #define WERR_ALIAS_EXISTS W_ERROR(1379) #define WERR_TIME_SKEW W_ERROR(1398) -- cgit