Configure LDAP Authentication Between Hue and Hive
About this task
Complete the following steps to configure LDAP authentication between Hue and Hive:
Complete the following steps to configure LDAP authentication between Hue and Hive:
[beeswax] section of the hue.ini:
set mechanism option.
[beeswax]
...
# Security mechanism of authentication none/GSSAPI/MAPR-SECURITY
mechanism=LDAP
[beeswax] section of the hue.ini
(for Hive integration only):
[beeswax]
...
# Override the default desktop username and password of the hue user used for authentications with other services.
# e.g. Used for LDAP/PAM pass-through authentication.
auth_username=sampleuser
auth_password=123456
...
[desktop] section of the hue.ini to set the
username and password for all services that require username/password
authentication:[desktop]
...
# Default LDAP/PAM/.. username and password of the hue user used for authentications with other services.
# Inactive if password is empty.
# e.g. LDAP pass-through authentication for HiveServer2 or Impala. Apps can override them individually.
auth_username=sampleuser
auth_password=123456
...maprcli node services -name hue -action restart -nodes <space delimited list of nodes>