Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6026

Ldap Authenticator should be more generic with BindDN

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.10.0
    • Fix Version/s: 1.3.0, 2.0.0
    • Component/s: Authentication
    • Labels:
      None
    • Environment:

      CDH4.4, Fedora Directory Service

    • Hadoop Flags:
      Reviewed
    • Release Note:
      Hive LDAP Authenticator now has filter support for LDAP users and groups.

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ngangam Naveen Gangam
                Reporter:
                johndee Johndee Burks
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: