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

Don Bosco Durai commented on SOLR-7274:
---------------------------------------

[~ichattopadhyaya], I had some issues running with the above syntax. The code 
is expecting that -Dsolr.hdfs.security.kerberos.keytabfile passed. I have not 
yet traced through the code, but maybe some other defaults are kicking in and 
expecting the above property.

My working syntax is below. I think, -Dkerberos.keytab is not getting into 
affect. 

bin/solr -c -z localhost:2181 -a 
"-Djava.security.auth.login.config=$HOME/conf/jaas-client.conf 
-Dcookie.domain=`hostname -f` -Dkerberos.principal=HTTP/`hostname 
-f`@EXAMPLE.COM -Dkerberos.keytab=/keytabs/http.keytab 
-DauthcPlugin=org.apache.solr.security.KerberosPlugin 
-Dsolr.hdfs.security.kerberos.keytabfile=/keytabs/http.keytab"



> Pluggable authentication module in Solr
> ---------------------------------------
>
>                 Key: SOLR-7274
>                 URL: https://issues.apache.org/jira/browse/SOLR-7274
>             Project: Solr
>          Issue Type: Sub-task
>            Reporter: Anshum Gupta
>         Attachments: SOLR-7274.patch, SOLR-7274.patch, SOLR-7274.patch, 
> SOLR-7274.patch, SOLR-7274.patch
>
>
> It would be good to have Solr support different authentication protocols.
> To begin with, it'd be good to have support for kerberos and basic auth.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to