From: Stefan Metzmacher Date: Fri, 31 Dec 2004 07:21:31 +0000 (+0000) Subject: r4435: add another error code X-Git-Tag: samba-4.0.0alpha6~801^3~12156 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=7ac62a7b133cac8915fe10272c1045d7aa4dc7fa r4435: add another error code metze (This used to be commit 02861f63052c48fc85c6694ad8164cc6cc5443d4) --- diff --git a/source4/include/doserr.h b/source4/include/doserr.h index 1d4f7208d16..06e09864459 100644 --- a/source4/include/doserr.h +++ b/source4/include/doserr.h @@ -227,6 +227,7 @@ #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) diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c index aff46bc8bfb..a9acb7335c3 100644 --- a/source4/libcli/util/doserr.c +++ b/source4/libcli/util/doserr.c @@ -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 },