Re: elasticsearch shield relam problem

2015-03-24 Thread Jay Modi
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

Re: elasticsearch shield relam problem

2015-03-23 Thread Jay Modi
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

Re: elasticsearch shield relam problem

2015-03-22 Thread phani . nadiminti
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

Re: elasticsearch shield relam problem

2015-03-18 Thread Jay Modi
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

Re: elasticsearch shield relam problem

2015-03-18 Thread phani . nadiminti
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

Re: elasticsearch shield relam problem

2015-03-18 Thread Jay Modi
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.

Re: elasticsearch shield relam problem

2015-03-18 Thread phani . nadiminti
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

Re: elasticsearch shield relam problem

2015-03-16 Thread Jay Modi
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

elasticsearch shield relam problem

2015-03-16 Thread phani . nadiminti
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