Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
In a kerberized HS2 with LDAP authentication enabled, LDAP user usually logs in using username in form of username@domain in LDAP multi-domain case. But it fails if the domain was not in the Hadoop auth_to_local mapping rule, the error is as following:
Caused by: org.apache.hadoop.security.authentication.util.KerberosName$NoMatchingRule: No rules applied to ctang@mydomain.com at org.apache.hadoop.security.authentication.util.KerberosName.getShortName(KerberosName.java:389) at org.apache.hadoop.security.User.<init>(User.java:48)
Attachments
Attachments
Issue Links
- is broken by
-
HIVE-12981 ThriftCLIService uses incompatible getShortName() implementation
- Closed
-
HIVE-13401 Kerberized HS2 with LDAP auth enabled fails kerberos/delegation token authentication
- Closed
- is related to
-
HIVE-15174 Respect auth_to_local rules from hdfs configs (core-site.xml) for LDAP authentication too
- Open