r4431: add WERR_NET_NAME_NOT_FOUND
authorStefan Metzmacher <metze@samba.org>
Fri, 31 Dec 2004 04:45:13 +0000 (04:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:48 +0000 (13:07 -0500)
metze
(This used to be commit 74e65680fa9a6b8f04c6ae62ec1da49659879fb5)

source4/include/doserr.h
source4/libcli/util/doserr.c

index bc5143b127384fc633702e59205b1510ad11d0bd..1d4f7208d16ec34f6f6d02707e3169e257f77803 100644 (file)
 #define WERR_PRINTER_HAS_JOBS_QUEUED W_ERROR(ERRprinterhasjobsqueued)
 
 
-/* DFS errors */
-
 #ifndef NERR_BASE
 #define NERR_BASE (2100)
 #endif
 
+#define WERR_NET_NAME_NOT_FOUND                W_ERROR(NERR_BASE+210)
+
+/* DFS errors */
 #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)
index ee2ca25435859e558a75051d59470a08e8d168b7..aff46bc8bfb59af24cb1dc81b72098599e2e3961 100644 (file)
@@ -59,7 +59,8 @@ static const struct werror_code_struct dos_errs[] =
        { "WERR_DEST_NOT_FOUND", WERR_DEST_NOT_FOUND },
        { "WERR_NOT_LOCAL_DOMAIN", WERR_NOT_LOCAL_DOMAIN },
        { "WERR_PRINTER_DRIVER_IN_USE", WERR_PRINTER_DRIVER_IN_USE },
-       { "WERR_STATUS_MORE_ENTRIES  ", WERR_STATUS_MORE_ENTRIES },
+       { "WERR_STATUS_MORE_ENTRIES", WERR_STATUS_MORE_ENTRIES },
+       { "WERR_NET_NAME_NOT_FOUND", WERR_NET_NAME_NOT_FOUND },
        { "WERR_DFS_NO_SUCH_VOL", WERR_DFS_NO_SUCH_VOL },
        { "WERR_DFS_NO_SUCH_SHARE", WERR_DFS_NO_SUCH_SHARE },
        { "WERR_DFS_NO_SUCH_SERVER", WERR_DFS_NO_SUCH_SERVER },