Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.0.1
-
None
-
None
Description
I'm trying to configure LDAP authentication of spark thrift server, and would like to implement user id mapping to mail address.
My scenario is, "uid" is the key of our LDAP system, and "mail"(email address) is one of attributes. Now we want users to input email address, i.e. "mail" when they login thrift client. That is to map "username" input to mail attribute query. e.g.
hive.server2.authentication.ldap.customLDAPQuery="(&(objectClass=person)(mail=${uid}))"