diff options
-rw-r--r-- | source4/include/doserr.h | 1 | ||||
-rw-r--r-- | source4/libcli/util/doserr.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/doserr.h b/source4/include/doserr.h index 1d4f7208d1..06e0986445 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 aff46bc8bf..a9acb7335c 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 }, |