summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-10 11:21:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:39:37 -0500
commitb0e342e389d19377ad6c1b4236e60306d662ddab (patch)
tree6b38fb124b7b078a42f52a991d5afb64b17f1182 /source4
parent2d29354a355672261be356c2a8d9eff75b6a5c84 (diff)
downloadsamba-b0e342e389d19377ad6c1b4236e60306d662ddab.tar.gz
samba-b0e342e389d19377ad6c1b4236e60306d662ddab.tar.bz2
samba-b0e342e389d19377ad6c1b4236e60306d662ddab.zip
r10867: add WERR_UNKNOWN_REVISION errorcode
metze (This used to be commit b436206c498ea166b8b9fa47638d5f8f6f4752bf)
Diffstat (limited to 'source4')
-rw-r--r--source4/include/doserr.h1
-rw-r--r--source4/libcli/util/doserr.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/include/doserr.h b/source4/include/doserr.h
index 410ba89cea..8fe5f2cf6c 100644
--- a/source4/include/doserr.h
+++ b/source4/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/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index eecf923bac..a32da5a880 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/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 },