summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-08 18:01:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:01 -0500
commitf9609d779dcbae389386ab594605d188c6933766 (patch)
treeabdd627accb90249b8d4e262291f180bdf114dfb
parentd3c9737e5b8da23165d65b42d37e16549a80ce70 (diff)
downloadsamba-f9609d779dcbae389386ab594605d188c6933766.tar.gz
samba-f9609d779dcbae389386ab594605d188c6933766.tar.bz2
samba-f9609d779dcbae389386ab594605d188c6933766.zip
r20080: add error code that maps to NT_STATUS_INVALID_NETWORD_RESPONSE
metze (This used to be commit cb5c2e9dc6838145fe9f6f2e727a1df26e688467)
-rw-r--r--source4/libcli/util/doserr.c1
-rw-r--r--source4/libcli/util/doserr.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index fe2b555ab6..6f0d27e8ab 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -36,6 +36,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_BADFID", WERR_BADFID },
{ "WERR_BADFUNC", WERR_BADFUNC },
{ "WERR_BAD_NETPATH", WERR_BAD_NETPATH },
+ { "WERR_BAD_NET_RESP", WERR_BAD_NET_RESP },
{ "WERR_UNEXP_NET_ERR", WERR_UNEXP_NET_ERR },
{ "WERR_INSUFFICIENT_BUFFER", WERR_INSUFFICIENT_BUFFER },
{ "WERR_NO_SUCH_SHARE", WERR_NO_SUCH_SHARE },
diff --git a/source4/libcli/util/doserr.h b/source4/libcli/util/doserr.h
index 0e1bcd4499..18b66065e2 100644
--- a/source4/libcli/util/doserr.h
+++ b/source4/libcli/util/doserr.h
@@ -174,6 +174,7 @@
#define WERR_GENERAL_FAILURE W_ERROR(31)
#define WERR_NOT_SUPPORTED W_ERROR(50)
#define WERR_BAD_NETPATH W_ERROR(53)
+#define WERR_BAD_NET_RESP W_ERROR(58)
#define WERR_UNEXP_NET_ERR W_ERROR(59)
#define WERR_PRINTQ_FULL W_ERROR(61)
#define WERR_NO_SPOOL_SPACE W_ERROR(62)