summaryrefslogtreecommitdiff
path: root/source4/libcli/util/doserr.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-09-18 20:44:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:58 -0500
commitf3fd73ed52349a75890c30a7dfac72fa20618e3a (patch)
treef22b2e88db8c5843d7000e1e248a456d6e7f47e2 /source4/libcli/util/doserr.c
parent1eebe9cbe5ad8123cd86ee84ebe93cd493f206a9 (diff)
downloadsamba-f3fd73ed52349a75890c30a7dfac72fa20618e3a.tar.gz
samba-f3fd73ed52349a75890c30a7dfac72fa20618e3a.tar.bz2
samba-f3fd73ed52349a75890c30a7dfac72fa20618e3a.zip
r18633: Add a couple of new WERR codes encountered with dfs torture testing.
Guenther (This used to be commit e2879f6fc21e5ca96b24ed11e4a460a0ebada8c3)
Diffstat (limited to 'source4/libcli/util/doserr.c')
-rw-r--r--source4/libcli/util/doserr.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index c7d7053165..c0a4e2cb96 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -36,9 +36,10 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_BADFID", WERR_BADFID },
{ "WERR_BADFUNC", WERR_BADFUNC },
{ "WERR_BAD_NETPATH", WERR_BAD_NETPATH },
+ { "WERR_UNEXP_NET_ERR", WERR_UNEXP_NET_ERR },
{ "WERR_INSUFFICIENT_BUFFER", WERR_INSUFFICIENT_BUFFER },
{ "WERR_NO_SUCH_SHARE", WERR_NO_SUCH_SHARE },
- { "WERR_ALREADY_EXISTS", WERR_ALREADY_EXISTS },
+ { "WERR_FILE_EXISTS", WERR_FILE_EXISTS },
{ "WERR_INVALID_PARAM", WERR_INVALID_PARAM },
{ "WERR_NOT_SUPPORTED", WERR_NOT_SUPPORTED },
{ "WERR_BAD_PASSWORD", WERR_BAD_PASSWORD },
@@ -46,6 +47,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_INVALID_NAME", WERR_INVALID_NAME },
{ "WERR_UNKNOWN_LEVEL", WERR_UNKNOWN_LEVEL },
{ "WERR_OBJECT_PATH_INVALID", WERR_OBJECT_PATH_INVALID },
+ { "WERR_ALREADY_EXISTS", WERR_ALREADY_EXISTS },
{ "WERR_NO_MORE_ITEMS", WERR_NO_MORE_ITEMS },
{ "WERR_MORE_DATA", WERR_MORE_DATA },
{ "WERR_UNKNOWN_PRINTER_DRIVER", WERR_UNKNOWN_PRINTER_DRIVER },
@@ -55,10 +57,12 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_INVALID_ENVIRONMENT", WERR_INVALID_ENVIRONMENT },
{ "WERR_INVALID_FORM_NAME", WERR_INVALID_FORM_NAME },
{ "WERR_INVALID_FORM_SIZE", WERR_INVALID_FORM_SIZE },
+ { "WERR_ALREADY_SHARED", WERR_ALREADY_SHARED },
{ "WERR_BUF_TOO_SMALL", WERR_BUF_TOO_SMALL },
{ "WERR_JOB_NOT_FOUND", WERR_JOB_NOT_FOUND },
{ "WERR_DEST_NOT_FOUND", WERR_DEST_NOT_FOUND },
{ "WERR_NOT_LOCAL_DOMAIN", WERR_NOT_LOCAL_DOMAIN },
+ { "WERR_DEVICE_NOT_AVAILABLE", WERR_DEVICE_NOT_AVAILABLE },
{ "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 },
@@ -97,6 +101,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_PRINTQ_FULL", WERR_PRINTQ_FULL },
{ "WERR_NO_SPOOL_SPACE", WERR_NO_SPOOL_SPACE },
{ "WERR_CAN_NOT_COMPLETE", WERR_CAN_NOT_COMPLETE },
+ { "WERR_NOT_FOUND", WERR_NOT_FOUND },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
{ "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED },
{ "WERR_NO_SHUTDOWN_IN_PROGRESS", WERR_NO_SHUTDOWN_IN_PROGRESS },