1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-27 08:23:49 +03:00

r21291: add two more error codes

metze
This commit is contained in:
Stefan Metzmacher
2007-02-12 09:36:53 +00:00
committed by Gerald (Jerry) Carter
parent a6fc47eff3
commit dd04c5dec5
2 changed files with 5 additions and 1 deletions

View File

@@ -115,6 +115,8 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_CLASS_NOT_REGISTERED", WERR_CLASS_NOT_REGISTERED },
{ "WERR_NO_SHUTDOWN_IN_PROGRESS", WERR_NO_SHUTDOWN_IN_PROGRESS },
{ "WERR_SHUTDOWN_ALREADY_IN_PROGRESS", WERR_SHUTDOWN_ALREADY_IN_PROGRESS },
{ "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 },
{ NULL, W_ERROR(0) }
};

View File

@@ -280,7 +280,9 @@
#define WERR_DS_DUP_MSDS_INTID W_ERROR(0x00002195)
/* SEC errors */
#define WERR_SEC_E_ALGORITHM_MISMATCH W_ERROR(0x80090331)
#define WERR_SEC_E_ENCRYPT_FAILURE W_ERROR(0x80090329)
#define WERR_SEC_E_DECRYPT_FAILURE W_ERROR(0x80090330)
#define WERR_SEC_E_ALGORITHM_MISMATCH W_ERROR(0x80090331)
#define WERR_FOOBAR WERR_GENERAL_FAILURE