[ 
https://issues.apache.org/jira/browse/HIVE-21009?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16760321#comment-16760321
 ] 

Prasanth Jayachandran commented on HIVE-21009:
----------------------------------------------

nit: Hadoop configuration getPassword() seems to be iterating over credentials 
provider and fallsback to config. which seems similar to what you are doing, 
isn't it? 
[https://hadoop.apache.org/docs/r2.6.4/api/org/apache/hadoop/conf/Configuration.html#getPassword(java.lang.String)]

 

> LDAP - Specify binddn for ldap-search
> -------------------------------------
>
>                 Key: HIVE-21009
>                 URL: https://issues.apache.org/jira/browse/HIVE-21009
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 2.1.0, 2.1.1, 2.2.0, 2.3.0, 2.3.1, 2.3.2
>            Reporter: Thomas Uhren
>            Assignee: David McGinnis
>            Priority: Major
>         Attachments: HIVE-21009.01.patch, HIVE-21009.patch
>
>
> When user accounts cannot do an LDAP search, there is currently no way of 
> specifying a custom binddn to use for the ldap-search.
> So I'm missing something like that:
> {code}
> hive.server2.authentication.ldap.bindn=cn=ldapuser,ou=user,dc=example
> hive.server2.authentication.ldap.bindnpw=password
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to