If you want to use an account in an LDAP server to access Hue, you must connect Hue to the LDAP server. This topic describes how to connect Hue to EMR OpenLDAP and perform authentication. If you use a user-created LDAP server, modify the configurations based on your business requirements.
Procedure
- Go to the Service Configuration section of Hue.
- Change the value of backend to desktop.auth.backend.LdapBackend.
- Add custom configurations.
- Save the configurations.
- In the upper-right corner of the Service Configuration section, click Save.
- In the dialog box that appears, turn on Auto-update Configuration and specify related information.
- Click OK.
- Deploy client configurations.
- In the upper-right corner of the Service Configuration section, click Deploy Client Configuration.
- Set the required parameters.
- Click OK.
- In the upper-right corner of the Hue page, select Restart Hue from the Actions drop-down list.
What to do next
Notice After you connect Hue to the LDAP server, the original admin account cannot be used
to access Hue. The new administrator is the first logon user after the LDAP server
is connected.