summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-10 11:21:02 +0000
committerStefan Metzmacher <metze@samba.org>2005-10-10 11:21:02 +0000
commitfe7f7838ba25828aa72e9a3bd5aff2922e26a860 (patch)
treed5cbef34e38bfe9fb81058409890b42aaf2511eb
parentd255f29bac50c242248004537bc15926639094f6 (diff)
downloadsamba-fe7f7838ba25828aa72e9a3bd5aff2922e26a860.tar.gz
samba-fe7f7838ba25828aa72e9a3bd5aff2922e26a860.tar.xz
samba-fe7f7838ba25828aa72e9a3bd5aff2922e26a860.zip
r10867: add WERR_UNKNOWN_REVISION errorcode
metze
-rw-r--r--source/include/doserr.h1
-rw-r--r--source/libcli/util/doserr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/include/doserr.h b/source/include/doserr.h
index 410ba89ceac..8fe5f2cf6cb 100644
--- a/source/include/doserr.h
+++ b/source/include/doserr.h
@@ -188,6 +188,7 @@
#define WERR_MORE_DATA W_ERROR(234)
#define WERR_CAN_NOT_COMPLETE W_ERROR(1003)
#define WERR_INVALID_DOMAINNAME W_ERROR(1212)
+#define WERR_UNKNOWN_REVISION W_ERROR(1305)
#define WERR_REVISION_MISMATCH W_ERROR(1306)
#define WERR_INVALID_OWNER W_ERROR(1307)
#define WERR_NO_SUCH_USER W_ERROR(1317)
diff --git a/source/libcli/util/doserr.c b/source/libcli/util/doserr.c
index eecf923bac7..a32da5a880a 100644
--- a/source/libcli/util/doserr.c
+++ b/source/libcli/util/doserr.c
@@ -69,6 +69,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_DFS_INTERNAL_ERROR", WERR_DFS_INTERNAL_ERROR },
{ "WERR_DFS_CANT_CREATE_JUNCT", WERR_DFS_CANT_CREATE_JUNCT },
{ "WERR_INVALID_SECURITY_DESCRIPTOR", WERR_INVALID_SECURITY_DESCRIPTOR },
+ { "WERR_UNKNOWN_REVISION", WERR_UNKNOWN_REVISION },
{ "WERR_REVISION_MISMATCH", WERR_REVISION_MISMATCH },
{ "WERR_INVALID_OWNER", WERR_INVALID_OWNER },
{ "WERR_INVALID_DOMAINNAME", WERR_INVALID_DOMAINNAME },