Skip to content
Snippets Groups Projects
Commit 58e4344c authored by Benjamin Couturier's avatar Benjamin Couturier Committed by Steven Murray
Browse files

Added security errors

parent 24966580
Branches
Tags
No related merge requests found
......@@ -447,18 +447,20 @@ char *sys_monerrlist[EMONMAXERR - EMONBASEOFF +2] =
char *sys_secerrlist[ESECMAXERR-ESECBASEOFF+2] =
{"Error 0",
"System error",
"Bad credentials",
"Could not establish context",
"Bad magic number",
"Could not map username to uid/gid",
"Could not map principal to username",
"Could not load security mechanism",
"Context not initialized",
"Security protocol not supported",
"Bad credentials",
"Could not establish context",
"Bad magic number",
"Could not map username to uid/gid",
"Could not map principal to username",
"Could not load security mechanism",
"Context not initialized",
"Security protocol not supported",
"Could not set service name",
"Service type not set",
"Could not lookup security protocol",
"BAD ERROR NUMBER"
"Csec incompatibility",
"Unexpected response from peer",
"BAD ERROR NUMBER"
};
......
......@@ -440,8 +440,9 @@
#define ESEC_NO_SVC_NAME ESECBASEOFF + 10 /* Service name not set */
#define ESEC_NO_SVC_TYPE ESECBASEOFF + 11 /* Service type not set */
#define ESEC_NO_SECPROT ESECBASEOFF + 12 /* Could not lookup security protocol */
#define ESECMAXERR ESECBASEOFF + 12
#define ESEC_BAD_CSEC_VERSION ESECBASEOFF + 13 /* Csec incompatability */
#define ESEC_BAD_PEER_RESP ESECBASEOFF + 14 /* Unexpected response from peer */
#define ESECMAXERR ESECBASEOFF + 14
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment