On 8/16/2015 12:09 PM, Tarala, Magesh wrote:
> I have a solr cloud with 3 nodes. I've added password protection following 
> the steps here: 
> http://stackoverflow.com/questions/28043957/how-to-set-apache-solr-admin-password
> 
> Now only one node is able to load the collections. The others are getting 401 
> Unauthorized error when loading the collections.
> 
> Could anybody provide the instructions to configure security for solr cloud?

Authentication and SolrCloud do not work well together, unless it's
client-certificate-based authentication (SSL).  This is because there is
currently no way to tell Solr what user/pass to use when making requests
to another node.

This was one of the early issues trying to solve the problem with
user/pass authentication and inter-node requests:

https://issues.apache.org/jira/browse/SOLR-4470

That issue is now closed as a duplicate, because Solr 5.3 will have an
authentication/authorization framework, and basic authentication is one
of the first things that has been implemented using that framework:

https://issues.apache.org/jira/browse/SOLR-7692

The release process for 5.3 is underway now.  If all goes well, the
release will happen well before the end of August.

Thanks,
Shawn

Reply via email to