X-pack LDAP configuration?

Hello there,

I am trying to setup LDAP authentication with X-Pack, I have created a normal user, but that didn't work for me either ways (with user and without user) I get the webpage.

curl -u vijay:XXXX http://abc.com:9200 - it works
curl http://abc.com:9200 - it works

Tried LDAP stuff since it is the requirement, but didn't quite know to check my LDAP configuration is working or not.

Configuration entries elasticsearch.yml

xpack:
security:
authc:
realms:
ldap1:
type: ldap
order: 0
url: "ldaps://gslb.yyg.yyads.google.com:636"
bind_dn: "cn=hello, ou=users, dc=YYG, dc=YYADS, dc=google, DC=COM"
bind_password: password
user_search:
base_dn: "dc=YYG, dc=YYADS, dc=GOOGLE, DC=COM"
attribute: cn
group_search:
base_dn: "dc=YYG, dc=YYADS, dc=GOOGLE, DC=COM"

Please let me know if I am missing something and how to test this.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.