OpenLDAP
OpenLDAP is an open-source implementation of the Lightweight Directory Access Protocol (LDAP). In EMR clusters, OpenLDAP provides user management and identity authentication.
Service integration
By default, Knox integrates with OpenLDAP in an EMR cluster. When you access a service web UI from the Access Links and Ports tab in the EMR console, you must authenticate with an OpenLDAP user. Many open-source components in EMR clusters also use OpenLDAP for authentication. Some services provide a one-click option to enable LDAP authentication. For detailed integration steps, refer to the documentation for each service.
If a service does not offer a one-click option to enable LDAP authentication, configure it manually by following the community documentation for that software. You may need the OpenLDAP service information listed in the following table.
|
Parameter |
Description |
|
OpenLDAP service address |
standard cluster: ldap://master-1-1:10389 high-availability cluster: ldap://master-1-1:10389,ldap://master-1-2:10389 |
|
Default user baseDN |
In the EMR console, go to the Configure tab for the OpenLDAP service. On the openldap tab, find the value of the user_base_dn parameter. The default value is |
|
adminDN |
In the EMR console, go to the Configure tab for the OpenLDAP service and find the value of the admin_dn parameter. The default value is |
|
Admin password |
In the EMR console, go to the Configure tab for the OpenLDAP service and find the value of the admin_pwd parameter. |
Manage LDAP users
We recommend that you use the Users feature in the EMR console to add OpenLDAP users. This feature creates OpenLDAP users with the same usernames as your RAM users. For details, see Manage OpenLDAP Users.
You can also manage users with OpenLDAP command-line tools such as ldapadd, ldapdelete, and ldapmodify, or by using an LDIF file. For more information, see the OpenLDAP community documentation.