Elasticsearch接入LDAP
说明: elasticsearch版本: 7.6.1 修改elasticsearch.yml,添加如下内容,并根据自己情况做相应修改 # 使用ldap xpack: security: authc: realms: ldap: ldap1: order: 0 url: "ldap://192.168.0.100:389" user_dn_templates: - "uid={0},ou=People,dc=Chk,dc=com" group_search: base_dn: "dc=Chk,dc=com" files: role_mapping: "/etc/elasticsearch/role_mapping.yml" unmapped_groups_as_roles: false # 使用ldaps xpack: security: authc: realms: ldap:……