SASL Authentication Failure 4
Symptom
When using SASL authentication (Kerberos V5), the following error appears in the log file:
ERROR main 408010 : (Active Directory) Exception: "LDAPException(resultCode=82 (local error), errorMessage='An error occurred while attempting to initialize the JAAS login context for GSSAPI authentication: javax.security.auth.login.LoginException: Message stream modified (41) caused by KrbException: Message stream modified (41)')"
ERROR main 408003 : (Active Directory) Failed to connect to an available server, or no servers were available.
FATAL main 405405 : Security Manager init FAILED
Cause
The SECURITY_AD_SASL_OPTION_REALM parameter does not specify the Authentication Realm as a fully-qualified domain name (FQDN).
Resolution
Specify the authentication realm as a FQDN. For more information, see SECURITY_AD_SASL_OPTION_REALM.