diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/include/doserr.h | 5 | ||||
-rw-r--r-- | source4/libcli/util/doserr.c | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/source4/include/doserr.h b/source4/include/doserr.h index bc5143b127..1d4f7208d1 100644 --- a/source4/include/doserr.h +++ b/source4/include/doserr.h @@ -222,12 +222,13 @@ #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) diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c index ee2ca25435..aff46bc8bf 100644 --- a/source4/libcli/util/doserr.c +++ b/source4/libcli/util/doserr.c @@ -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 }, |