summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-23 22:59:42 +0100
committerGünther Deschner <gd@samba.org>2009-02-24 01:01:57 +0100
commit1a9bb33a7db393aff970619f20490e755f0d282b (patch)
tree790bc8dcec25179f5cb4e33788d654360a19b86a /libcli
parent2033b44c3f0872d98d8144a9fbf6d09fbde196e5 (diff)
downloadsamba-1a9bb33a7db393aff970619f20490e755f0d282b.tar.gz
samba-1a9bb33a7db393aff970619f20490e755f0d282b.tar.bz2
samba-1a9bb33a7db393aff970619f20490e755f0d282b.zip
error-codes: add WERR_INVALID_USER_BUFFER.
Guenther
Diffstat (limited to 'libcli')
-rw-r--r--libcli/util/doserr.c1
-rw-r--r--libcli/util/werror.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/libcli/util/doserr.c b/libcli/util/doserr.c
index 160e7bc3e0..226c2f950d 100644
--- a/libcli/util/doserr.c
+++ b/libcli/util/doserr.c
@@ -135,6 +135,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_INVALID_FLAGS", WERR_INVALID_FLAGS },
{ "WERR_NOT_FOUND", WERR_NOT_FOUND },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },
+ { "WERR_INVALID_USER_BUFFER", WERR_INVALID_USER_BUFFER },
{ "WERR_NO_TRUST_SAM_ACCOUNT", WERR_NO_TRUST_SAM_ACCOUNT },
{ "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED },
{ "WERR_NO_SHUTDOWN_IN_PROGRESS", WERR_NO_SHUTDOWN_IN_PROGRESS },
diff --git a/libcli/util/werror.h b/libcli/util/werror.h
index d22516ae5c..4b34b14243 100644
--- a/libcli/util/werror.h
+++ b/libcli/util/werror.h
@@ -136,6 +136,7 @@ typedef uint32_t WERROR;
#define WERR_TIME_SKEW W_ERROR(1398)
#define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500)
#define WERR_SERVER_UNAVAILABLE W_ERROR(1722)
+#define WERR_INVALID_USER_BUFFER W_ERROR(1784)
#define WERR_NO_TRUST_SAM_ACCOUNT W_ERROR(1787)
#define WERR_INVALID_FORM_NAME W_ERROR(1902)
#define WERR_INVALID_FORM_SIZE W_ERROR(1903)