[ 
https://issues.apache.org/jira/browse/SOLR-15233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17310568#comment-17310568
 ] 

Geza Nagy commented on SOLR-15233:
----------------------------------

Hi [~gerlowskija]

I reproduced the issue using the socker project and with the RuleBasedAuth 
plugin (instead of Ranger)

if you have time to check it's on my fork:

[https://github.com/gezan/solr-kerberos-docker/tree/SOLR-15233]

I also extended the README with the repro steps.

> ConfigurableInternodeAuthHadoopPlugin with Ranger is broken
> -----------------------------------------------------------
>
>                 Key: SOLR-15233
>                 URL: https://issues.apache.org/jira/browse/SOLR-15233
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Authentication, Authorization
>    Affects Versions: 8.4.1
>            Reporter: Geza Nagy
>            Priority: Major
>              Labels: authentication, authorization
>         Attachments: Screenshot 2021-03-09 at 18.15.31.png, security.json
>
>
> Setting up a cluster with multiple solr nodes with Kerberos using it for 
> internode communication as well (attached security.json) and added Ranger as 
> authorization plugin.
> When sending requests the authentication happens against the end user but the 
> authorization is for solr service user.
> Tested two cases (3 nodes, have a collection with 2 replicas on 2 nodes of 
> it):
> 1. send a query to a node where the collection has replica. Authorization is 
> wrong every nodes
> 2. send a query to a node which doesn't contain a replica. The first place 
> authorization is fine but when the query distributed it goes as solr service 
> user issued.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to