Phani,
We just released Shield 1.1 and 1.2
(https://www.elastic.co/blog/shield-1-1-and-1-2-released). LDAP user search
is included and may be worth trying out. If you were to use it, I think
your configuration would look something like:
shield:
authc:
realms:
ldap1:
type: l
Since you are using uid, your setup would look something like this
shield:
authc:
realms:
ldap1:
type: ldap
order: 0
url: "ldap://ldapserver:389";
user_dn_templates:
- "uid={0}, ou=People,dc=test,dc=org"
This assumes all users are directly in
Hi Jay,
sorry for late reply . I am using openldap server .i followed the
configurations given by es people i did like in example but i am not able
to login with ldap credentials.is ldap in elastic search is mount ldap or
it will import users in to the file?
i have tried following link
What type of LDAP server are you integrating with? We have some
documentation for LDAP
setup, http://www.elastic.co/guide/en/shield/current/ldap.html.
If you are using Active Directory, there is a specific realm for it that
abstracts some of the LDAP setup to make it
simpler: http://www.elasti
Thank you Jay for quick reply yes it got worked I changed the path to
es_home config.now authentication is performing fine next I am looking in
to LDAP integration with elastic search can you suggest me steps how can we
integrate ldap to elasticsearch.
Thanks
phani.
On Wednesday, March 18, 20
Hi Phani,
I think the correct thing to do is:
export ES_JAVA_OPTS="-Des.path.conf=/etc/elasticsearch"
bin/shield/esusers useradd es_admin -r admin
Verify that /etc/elasticsearch/shield/users exists and contains an entry
for the admin user. Once you have confirmed that, then try to authenticate.
HI Jay,
Thank you for the reply i tried the following steps.
i did .rpm installation in linux servers my configuration file located
at /etc/elasticsearch (main es coniguration file)
But when i install shied i see there is a configurations directory
created inside ES_HOME(/usr/share/elas
Hi Phani,
How did you install elasticsearch and where is your elasticsearch
configuration located? If you have used a RPM or DEB package, you will need
to add an environment variable before running the esusers command, please
see http://www.elastic.co/guide/en/shield/current/getting-started.htm
Hi All,
I am using elastic version 1.4.2 in development i installed
elasticsearch shield on each node of my cluster i have 3 nodes in my
cluster.
i followed the below procedure to install shield.
*Step 1: Install* bin/plugin -i elasticsearch/license/latestbin/plugin
-i elasticsearc