diff --git service/src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java service/src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java index 85abba7..5342214 100644 --- service/src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java +++ service/src/java/org/apache/hive/service/auth/LdapAuthenticationProviderImpl.java @@ -70,7 +70,7 @@ public void Authenticate(String user, String password) DirContext ctx = new InitialDirContext(env); ctx.close(); } catch (NamingException e) { - throw new AuthenticationException("Error validating LDAP user"); + throw new AuthenticationException("Error validating LDAP user", e); } return; }