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

Ldap Authenticator should be more generic with BindDN

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.10.0
    • 1.3.0, 2.0.0
    • Authentication
    • None
    • CDH4.4, Fedora Directory Service

    • Reviewed
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: