V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jack1998
V2EX  ›  Elasticsearch

es8.11.x 是否可以可视化接入 LDAP 呢?

  •  
  •   jack1998 · 102 天前 · 814 次点击
    这是一个创建于 102 天前的主题,其中的信息可能已经有所发展或是发生改变。
    请问大佬们 es 升级 liscense 后接入 LDAP (采用 docker 部署,
    -v config/:/usr/share/elasticsearch/config 使用 office 的 8.11.1 es 镜像)
    官方文档和 google 只找到了在 elasticsearch.yml 中加入 xpack 的方案接入(失败)如下:
    xpack:
    security:
    authc:
    realms:
    ldap1:
    type: ldap
    order: 0
    url: "ldap://xxx.com:389"
    bind_dn: "cn=username, ou=people, dc=example, dc=com"
    bind_password: password
    user_search:
    base_dn: "dc=example,dc=com"
    filter: "uid={0}"
    unmapped_groups_as_roles: false
    native1:
    type: native
    order: 1
    由于 license 是破解的,需要 run 之后进入 kibana 上传 or 采用 curl 方式
    3 条回复    2024-01-17 13:33:31 +08:00
    julyclyde
        1
    julyclyde  
       102 天前
    license 和 settings 注入之后是会保存在数据里的,下次启动并不需要重新注入

    退一步讲,你都没从文档里学会怎么 POST settings 就开始玩 LDAP 这种高级功能了?
    jack1998
        2
    jack1998  
    OP
       102 天前
    @julyclyde 大佬 POST settings 是指 dev tools 嘛? LDAP 主要用来做限制用户权限的,搞了很长时间还没解决
    julyclyde
        3
    julyclyde  
       101 天前
    @jack1998 elasticsearch 文档你到底看了没有啊?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2532 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 15:58 · PVG 23:58 · LAX 08:58 · JFK 11:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.