Timothy Zhang created SPARK-34134:
-------------------------------------

             Summary: LDAP authentication of spark thrift server support user 
id mapping
                 Key: SPARK-34134
                 URL: https://issues.apache.org/jira/browse/SPARK-34134
             Project: Spark
          Issue Type: Improvement
          Components: Security
    Affects Versions: 3.0.1
            Reporter: Timothy Zhang


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.

{code:none}
hive.server2.authentication.ldap.customLDAPQuery="(&(objectClass=person)(mail=${uid}))"
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to