summaryrefslogtreecommitdiff
path: root/source4/libcli/util
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-10-16 11:39:40 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:05 +0100
commit4860557842a8b5e2c5ceba03c64f42996f0bf60c (patch)
tree525a2a79acb742acc92c379eb63a7e1c640c8b0c /source4/libcli/util
parentf1f746875c9585f985e5fcd89d3830d62f599c8f (diff)
downloadsamba-4860557842a8b5e2c5ceba03c64f42996f0bf60c.tar.gz
samba-4860557842a8b5e2c5ceba03c64f42996f0bf60c.tar.bz2
samba-4860557842a8b5e2c5ceba03c64f42996f0bf60c.zip
r25665: Add some more WERR codes.
Guenther (This used to be commit 846d81c0ade7a1b56366feb4338312c24dc4351b)
Diffstat (limited to 'source4/libcli/util')
-rw-r--r--source4/libcli/util/doserr.c3
-rw-r--r--source4/libcli/util/werror.h8
2 files changed, 11 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index 49818e573a..28618dbf2b 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -119,6 +119,9 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_SEC_E_ENCRYPT_FAILURE", WERR_SEC_E_ENCRYPT_FAILURE },
{ "WERR_SEC_E_DECRYPT_FAILURE", WERR_SEC_E_DECRYPT_FAILURE },
{ "WERR_SEC_E_ALGORITHM_MISMATCH", WERR_SEC_E_ALGORITHM_MISMATCH },
+ { "WERR_NOT_AUTHENTICATED", WERR_NOT_AUTHENTICATED },
+ { "WERR_CALL_NOT_IMPLEMENTED", WERR_CALL_NOT_IMPLEMENTED },
+ { "WERR_FRS_INVALID_SERVICE_PARAMETER", WERR_FRS_INVALID_SERVICE_PARAMETER },
{ NULL, W_ERROR(0) }
};
diff --git a/source4/libcli/util/werror.h b/source4/libcli/util/werror.h
index 55a4faa6a5..bde58265d4 100644
--- a/source4/libcli/util/werror.h
+++ b/source4/libcli/util/werror.h
@@ -79,6 +79,7 @@ typedef uint32_t WERROR;
#define WERR_FILE_EXISTS W_ERROR(80)
#define WERR_BAD_PASSWORD W_ERROR(86)
#define WERR_INVALID_PARAM W_ERROR(87)
+#define WERR_CALL_NOT_IMPLEMENTED W_ERROR(120)
#define WERR_INSUFFICIENT_BUFFER W_ERROR(122)
#define WERR_INVALID_NAME W_ERROR(123)
#define WERR_UNKNOWN_LEVEL W_ERROR(124)
@@ -90,6 +91,7 @@ typedef uint32_t WERROR;
#define WERR_NOT_FOUND W_ERROR(1168)
#define WERR_INVALID_COMPUTERNAME W_ERROR(1210)
#define WERR_INVALID_DOMAINNAME W_ERROR(1212)
+#define WERR_NOT_AUTHENTICATED W_ERROR(1244)
#define WERR_UNKNOWN_REVISION W_ERROR(1305)
#define WERR_REVISION_MISMATCH W_ERROR(1306)
#define WERR_INVALID_OWNER W_ERROR(1307)
@@ -176,6 +178,12 @@ typedef uint32_t WERROR;
#define WERR_DS_NO_MSDS_INTID W_ERROR(0x00002194)
#define WERR_DS_DUP_MSDS_INTID W_ERROR(0x00002195)
+/* FRS errors */
+#ifndef FRS_ERR_BASE
+#define FRS_ERR_BASE (8000)
+#endif
+#define WERR_FRS_INVALID_SERVICE_PARAMETER W_ERROR(FRS_ERROR_BASE+17)
+
/* SEC errors */
#define WERR_SEC_E_ENCRYPT_FAILURE W_ERROR(0x80090329)
#define WERR_SEC_E_DECRYPT_FAILURE W_ERROR(0x80090330)