27#define _(String) dgettext (PACKAGE, String)
28#define gettext_noop(String) String
29#define N_(String) gettext_noop (String)
31#define ERR(name, desc) { name, #name, desc }
44 N_(
"SASL mechanism called too many times")),
71 N_(
"Could not prepare internationalized (non-ASCII) string.")),
73 N_(
"SASL mechanism could not parse input")),
79 N_(
"Client-side functionality not available in library "
80 "(application error)")),
82 N_(
"Server-side functionality not available in library "
83 "(application error)")),
85 N_(
"GSSAPI library could not deallocate memory in "
86 "gss_release_buffer() in SASL library. This is a serious "
89 N_(
"GSSAPI library could not understand a peer name in "
90 "gss_import_name() in SASL library. This is most likely due "
91 "to incorrect service and/or hostnames.")),
93 N_(
"GSSAPI error in client while negotiating security context in "
94 "gss_init_sec_context() in SASL library. This is most likely "
95 "due insufficient credentials or malicious interactions.")),
97 N_(
"GSSAPI error in server while negotiating security context in "
98 "gss_accept_sec_context() in SASL library. This is most likely due "
99 "insufficient credentials or malicious interactions.")),
101 N_(
"GSSAPI error while decrypting or decoding data in gss_unwrap() in "
102 "SASL library. This is most likely due to data corruption.")),
104 N_(
"GSSAPI error while encrypting or encoding data in gss_wrap() in "
107 N_(
"GSSAPI error acquiring credentials in gss_acquire_cred() in "
108 "SASL library. This is most likely due to not having the proper "
109 "Kerberos key available in /etc/krb5.keytab on the server.")),
111 N_(
"GSSAPI error creating a display name denoting the client in "
112 "gss_display_name() in SASL library. This is probably because "
113 "the client supplied bad data.")),
115 N_(
"Other entity requested integrity or confidentiality protection "
116 "in GSSAPI mechanism but this is currently not implemented.")),
120 N_(
"SecurID needs additional passcode.")),
122 N_(
"SecurID needs new pin.")),
125 N_(
"No callback specified by caller (application error).")),
127 N_(
"Authentication failed because the anonymous token was "
130 N_(
"Authentication failed because the authentication identity was "
133 N_(
"Authentication failed because the authorization identity was "
136 N_(
"Authentication failed because the password was not provided.")),
138 N_(
"Authentication failed because the passcode was not provided.")),
140 N_(
"Authentication failed because the pin code was not provided.")),
142 N_(
"Authentication failed because the service name was not provided.")),
144 N_(
"Authentication failed because the host name was not provided.")),
146 N_(
"GSSAPI error encapsulating token.")),
148 N_(
"GSSAPI error decapsulating token.")),
150 N_(
"GSSAPI error getting OID for SASL mechanism name.")),
152 N_(
"GSSAPI error testing for OID in OID set.")),
154 N_(
"GSSAPI error releasing OID set.")),
156 N_(
"Authentication failed because a tls-unique CB was not provided.")),
158 N_(
"Callback failed to provide SAML20 IdP identifier.")),
160 N_(
"Callback failed to provide SAML20 redirect URL.")),
162 N_(
"Callback failed to provide OPENID20 redirect URL.")),
164 N_(
"Authentication failed because a tls-exporter channel binding was not provided."))
186 static const char *unknown =
N_(
"Libgsasl unknown error");
191 if (err < 0 || err >= (
int) (
sizeof (
errors) /
sizeof (
errors[0])))
224 if (err < 0 || err >= (
int) (
sizeof (
errors) /
sizeof (
errors[0])))
#define bindtextdomain(Domainname, Dirname)
@ GSASL_GSSAPI_UNWRAP_ERROR
@ GSASL_GSSAPI_IMPORT_NAME_ERROR
@ GSASL_GSSAPI_RELEASE_OID_SET_ERROR
@ GSASL_SECURID_SERVER_NEED_ADDITIONAL_PASSCODE
@ GSASL_GSSAPI_RELEASE_BUFFER_ERROR
@ GSASL_NO_CB_TLS_EXPORTER
@ GSASL_GSSAPI_ACCEPT_SEC_CONTEXT_ERROR
@ GSASL_NO_OPENID20_REDIRECT_URL
@ GSASL_SECURID_SERVER_NEED_NEW_PIN
@ GSASL_GSSAPI_INQUIRE_MECH_FOR_SASLNAME_ERROR
@ GSASL_AUTHENTICATION_ERROR
@ GSASL_GSSAPI_TEST_OID_SET_MEMBER_ERROR
@ GSASL_NO_SAML20_IDP_IDENTIFIER
@ GSASL_GSSAPI_DISPLAY_NAME_ERROR
@ GSASL_GSSAPI_ENCAPSULATE_TOKEN_ERROR
@ GSASL_GSSAPI_ACQUIRE_CRED_ERROR
@ GSASL_MECHANISM_CALLED_TOO_MANY_TIMES
@ GSASL_GSSAPI_WRAP_ERROR
@ GSASL_MECHANISM_PARSE_ERROR
@ GSASL_GSSAPI_DECAPSULATE_TOKEN_ERROR
@ GSASL_NO_ANONYMOUS_TOKEN
@ GSASL_NO_SAML20_REDIRECT_URL
@ GSASL_UNKNOWN_MECHANISM
@ GSASL_GSSAPI_INIT_SEC_CONTEXT_ERROR
@ GSASL_GSSAPI_UNSUPPORTED_PROTECTION_ERROR
static struct @15 errors[]
const char * gsasl_strerror(int err)
const char * gsasl_strerror_name(int err)