mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
r25665: Add some more WERR codes.
Guenther
(This used to be commit 846d81c0ad
)
This commit is contained in:
parent
f1f746875c
commit
4860557842
@ -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) }
|
||||
};
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user