zoukankan      html  css  js  c++  java
  • 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

  • 相关阅读:
    JSON2 源代码
    C#冒泡排序详解
    SqlHelper 带详细中文注释
    js-cookie
    淘宝镜像(cnpm) 安装
    vue全局刷新
    webpack-npm安装-查看当前版本
    半环进度条
    Parameter 'name' implicitly has an 'any' type.
    vue3.0-如何切换路由-路由模式ts
  • 原文地址:https://www.cnblogs.com/hongfeng2019/p/11577478.html
Copyright © 2011-2022 走看看