Skip to content
  • There are no suggestions because the search field is empty.

Enable LDAP Authentication

Enable LDAP AuthenticationEnable LDAP Authentication

To enable LDAP mode of authentication using Active Directory for HiveServer2 for Warehouse data source, follow these steps.

  1. Log on to the Analytics Warehouse appliance as root user.
  2. Navigate to /opt/mapr/hive/hive-0.11/conf.new/ directory. Type the following command and press ENTER:

    cd /opt/mapr/hive/hive-0.11/conf.new/

  3. Edit the file hive-site.xml. Type the following command and press ENTER:

    vi hive-site.xml

  4. Add the following properties under tag:
    hive.server2.authentication LDAP hive.server2.authentication.ldap.url LDAP_URL
    Where LDAP_URL is the URL of the LDAP Server.
  5. Restart HiveServer2.