You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Johndee Burks (JIRA)" <ji...@apache.org> on 2013/12/12 22:27:08 UTC

[jira] [Created] (HIVE-6026) Ldap Authenticator should be more generic with BindDN

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)