CDH開啟ldap


參考:

官網ldap:

https://www.cloudera.com/documentation/enterprise/6/6.2/topics/cm_sg_ldap_grp_mappings.html

如何在RedHat7上安裝OpenLDA並配置客戶端
https://cloud.tencent.com/developer/article/1100819?from=10680   GG
如何在RedHat7中實現OpenLDAP集成SSH登錄並使用sssd同步用戶
https://cloud.tencent.com/developer/article/1100823

如何為Hive配置OpenLDAP認證
https://cloud.tencent.com/developer/article/1078635   GG

SSSD:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sssd-introduction
https://cloud.tencent.com/developer/article/1100823

 

HDFS:

配置之前:

 

 

 

 

 

配置之后:

hdfs配置-security

 

hive:

 

 

HUE;

配置之前:

impala:

https://cloud.tencent.com/developer/article/1078631 

 

 

 配置之后;

 

注: 配置后用公司的ldap在hive不能訪問,有時間搭一個openldap測試

LDAP:
vim ldap.conf #末尾添加
URI ldap://xxxxx:389
BASE dc=opayride,dc=com


#查找ldap的用戶,驗證連通性
[root@zhep-opay-temp-big-data-1 ~]# ldapsearch -D "cn=admin,dc=opayride,dc=com" -W |grep feng.hong
Enter LDAP Password:
# hive, Users, opayride.com
dn: cn=hive,cn=Users,dc=opayride,dc=com
cn: hive
homeDirectory: /home/users/hive
sn: hive
uid: hive

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM