diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-12-31 04:45:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:07:48 -0500 |
commit | cb25806d8dcdbf45f6de3b1a86e1c40ee3711fee (patch) | |
tree | 0ed89cd92d2afcd346a569e2661df631728eabbd /source4 | |
parent | e0a40dec0956ae08fa7bc11f9be9a036f8d6dedf (diff) | |
download | samba-cb25806d8dcdbf45f6de3b1a86e1c40ee3711fee.tar.gz samba-cb25806d8dcdbf45f6de3b1a86e1c40ee3711fee.tar.bz2 samba-cb25806d8dcdbf45f6de3b1a86e1c40ee3711fee.zip |
r4431: add WERR_NET_NAME_NOT_FOUND
metze
(This used to be commit 74e65680fa9a6b8f04c6ae62ec1da49659879fb5)
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 }, |