r4435: add another error code
authorStefan Metzmacher <metze@samba.org>
Fri, 31 Dec 2004 07:21:31 +0000 (07:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:49 +0000 (13:07 -0500)
metze
(This used to be commit 02861f63052c48fc85c6694ad8164cc6cc5443d4)

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

index 1d4f7208d16ec34f6f6d02707e3169e257f77803..06e0986445997100faadbda6c7776deee80511d1 100644 (file)
 #endif
 
 #define WERR_NET_NAME_NOT_FOUND                W_ERROR(NERR_BASE+210)
+#define WERR_DEVICE_NOT_SHARED         W_ERROR(NERR_BASE+211)
 
 /* DFS errors */
 #define WERR_DFS_NO_SUCH_VOL            W_ERROR(NERR_BASE+562)
index aff46bc8bfb59af24cb1dc81b72098599e2e3961..a9acb7335c3aa8e6b287cb9a625122d16a4323df 100644 (file)
@@ -61,6 +61,7 @@ static const struct werror_code_struct dos_errs[] =
        { "WERR_PRINTER_DRIVER_IN_USE", WERR_PRINTER_DRIVER_IN_USE },
        { "WERR_STATUS_MORE_ENTRIES", WERR_STATUS_MORE_ENTRIES },
        { "WERR_NET_NAME_NOT_FOUND", WERR_NET_NAME_NOT_FOUND },
+       { "WERR_DEVICE_NOT_SHARED", WERR_DEVICE_NOT_SHARED },
        { "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 },