LAS 控制台提供了 OpenLDAP 服务以管理集群用户和用户组。若您需对接自建的 LDAP 服务,则需手动配置来启用各个服务的 LDAP 认证。
您需要手动配置 HiveServer2 的 LDAP 认证信息,在 LAS 控制台 Hive 服务的服务参数配置页面,修改以下配置项。
配置项 | 参考值 | 说明 |
---|---|---|
hive.server2.authentication.ldap.url |
| 用于指定连接 LDAP 服务的URL。需要根据实际情况进行配置。
|
hive.server2.authentication.ldap.baseDN |
| 用于指定 LDAP 服务中用户所在的 Base DN,LAS 集群的 LDAP 为 |
配置项 | 参考值 | 说明 |
---|---|---|
usersync.ldap.url | ldap://{ldap_hostname}:{port} | 变更 hue 登陆 ldap 链接信息 |
usersync.ldap.username.pattern | "uid=,ou=user,ou=emr,dc=compute,dc=com" | |
usersync.ldap.force.username.lowercase | False | |
usersync.ldap.bind.dn | "cn=admin,dc=compute,dc=com" | 禁用 admin 登陆,该参数内容置空 |
usersync.ldap.bind.password | ||
usersync.ldap.base.dn | "ou=emr,dc=compute,dc=com" | 变更其他服务 ldap 链接信息(比如 hive 链接) |
usersync.ldap.username.pattern | "uid=,ou=user,ou=emr,dc=compute,dc=com" | |
auth_username | admin | 变更 hive、spark 认证信息 |
auth_password |
配置项 | 参考值 | 说明 |
---|---|---|
hive.server2.authentication.ldap.baseDN | ou=user,ou=emr,dc=compute,dc=com | 用于指定 LDAP 服务中用户所在的 Base DN,LAS 集群的 LDAP 为 |
hive.server2.authentication.ldap.url | ldap://{ldap_hostname}:{port} | 用于指定连接 LDAP 服务的 URL。需要根据实际情况进行配置。
|