hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johndee Burks (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-6026) Ldap Authenticator should be more generic with BindDN
Date Thu, 12 Dec 2013 21:27:08 GMT
Johndee Burks created HIVE-6026:
-----------------------------------

             Summary: Ldap Authenticator should be more generic with BindDN
                 Key: HIVE-6026
                 URL: https://issues.apache.org/jira/browse/HIVE-6026
             Project: Hive
          Issue Type: Bug
          Components: Authentication
    Affects Versions: 0.10.0
         Environment: CDH4.4, Fedora Directory Service
            Reporter: Johndee Burks
            Priority: Minor


The bindDN implementation should be more generic for the LDAP authenticator. Currently it
looks like this: 

     49     // setup the security principal
     50     String bindDN;
     51     if (baseDN != null) {
     52       bindDN = "uid=" + user + "," + baseDN;
     53     } else {
     54       bindDN = user;
     55     }

This causes problems for ldap implementations that expect "cn=" first. 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message