Move some WERRORs down to the NERR_BASE block.
authorGünther Deschner <gd@samba.org>
Sat, 12 Apr 2008 16:29:13 +0000 (18:29 +0200)
committerGünther Deschner <gd@samba.org>
Sat, 12 Apr 2008 16:29:13 +0000 (18:29 +0200)
Guenther
(This used to be commit 2453375ee04f466800f53a0f2991d8d5dee0bd8e)

source3/include/doserr.h

index d5892c1652b2c2d15da3d87a38ebc721b140a426..d4bd927fa7ae21cbe12a041c8bbbf7cb49af0b08 100644 (file)
 #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)
 
 #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 */