Leader initiated recovery authentication failure

2017-11-04 Thread Wei
Hi All, After enabling basic authentication for solr cloud, I noticed that the internal leader initiated recovery failed with 401 response. The recovery request from leader: GET //replica1.mycloud.com:9090/solr/admin/cores?action=*REQUESTRECOVERY*=replica1=javabin=2 HTTP/1.1" 401 310 &quo

Get Username within a plugin (Basic Authentication Plugin)

2017-10-24 Thread startrekfan
Hello, I have set up an solr server with the "Basic Authentication Plugin". Now I'd like to write a custom PostFilter(extends ExtendedQueryBase) plugin. Can you explain me how I can get the username of the authenticated user within my plugin? Thanks

Get Username within a plugin (Basic Authentication Plugin)

2017-10-24 Thread startrekfan
Hello, I have set up an solr server with the "Basic Authentication Plugin". Now I'd like to write a custom PostFilter(extends ExtendedQueryBase) plugin. Can you explain me how I can get the username of the authenticated user within my plugin? Thanks

Re: ERROR ipc.AbstractRpcClient: SASL authentication failed

2017-10-04 Thread Rick Leir
WARN ipc.AbstractRpcClient: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] ERROR ipc.AbstractRpcClient: SASL authentication

Re: ERROR ipc.AbstractRpcClient: SASL authentication failed

2017-10-04 Thread Ascot Moss
.sasl.SaslException: GSS initiate failed [Caused > by GSSException: No valid credentials provided (Mechanism level: Failed to > find any Kerberos tgt)] > > ERROR ipc.AbstractRpcClient: SASL authentication failed. The most likely > cause is missing or invalid credentials. Consider 'kinit'. &

ERROR ipc.AbstractRpcClient: SASL authentication failed

2017-10-04 Thread Ascot Moss
: Exception encountered while connecting to the server : javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)] ERROR ipc.AbstractRpcClient: SASL authentication failed. The most likely cause

Authentication error : request has come without principal. failed permission

2017-10-02 Thread Shamik Bandopadhyay
Hi, I'm seeing this random Authentication failure in our Solr Cloud cluster which is eventually rendering the nodes in "down" state. This doesn't seem to have a pattern, just starts to happen out of the blue. I've 2 shards, each having two replicas. They are using Solr basic auth

Re: Solr JDBC and Basic Authentication

2017-09-11 Thread Joel Bernstein
SolrCloud mode with 3 servers, > basic authentication is enabled. > > When I try to connect and execute a query, I get "USER_REQUIRED auth > header null" in log files. > > I found on some forums that there is an open issue ( SOLR-8213 > https://issues.apache.org/jira/brows

Solr JDBC and Basic Authentication

2017-09-11 Thread calamita . agostino
Hi all, I'm using Solr 6.6 with solrj for jdbc connections and query. In my Solr installation, configured in SolrCloud mode with 3 servers, basic authentication is enabled. When I try to connect and execute a query, I get "USER_REQUIRED auth header null" in log files. I found on s

Re: Problem in documentation -- authentication JSON fails validation

2017-06-26 Thread Cassandra Targett
I have a commit locally that I will push shortly that fixes the JSON on that page for 7.0 (and 6.7 if/when it happens). I ran all the JSON examples through a linter and found a few additional problems that should be fixed now. On Sat, Jun 24, 2017 at 1:13 PM, Chris Ulicny

Re: Problem in documentation -- authentication JSON fails validation

2017-06-24 Thread Chris Ulicny
I haven't actually tested it, but I believe the JSON should probably be this: { "set-permission": {"name": "update", "role":"dev"}, "set-permission": {"name": "read", "role":"guest"} } It's missing closing double quotes for 'update' and 'read' and had an extra comma after the 'guest' entry.

Problem in documentation -- authentication JSON fails validation

2017-06-24 Thread Shawn Heisey
This problem brought to you courtesy of the IRC channel. On this page of the reference guide: https://lucene.apache.org/solr/guide/6_6/rule-based-authorization-plugin.html There is this curl command: curl --user solr:SolrRocks -H 'Content-type:application/json' -d '{ "set-permission":

Re: Adding a Basic Authentication user fails with 404

2017-06-06 Thread Susheel Kumar
pting to implement Basic Authentication per the documentation, but > when I try to use the API to add a user, I get a 404 error. It seems the > /admin/authentication API entry point isn't there: > > $ curl --user solr:SolrRocks http://localhost:8983/solr/ > admin/authentication > -

Adding a Basic Authentication user fails with 404

2017-06-06 Thread David Parker
Hello, I am running a stand-alone instance of Solr 6.5 (without ZooKeeper). I am attempting to implement Basic Authentication per the documentation, but when I try to use the API to add a user, I get a 404 error. It seems the /admin/authentication API entry point isn't there: $ curl --user

solr authentication error

2017-05-04 Thread Satya Marivada
Hi, Can someone please say what I am missing in this case? I have solr 6.3.0, and enabled http authentication, the configuration has been uploaded to zookeeper. But I do see below error in logs sometimes. Are the nodes not able to ciommunicate because of this error? I am not seeing any

Re: Error when adding user for Solr Basic Authentication

2017-04-13 Thread Zheng Lin Edwin Yeo
i found from StackOverflow that we have to use escaping of single quote and to use double quote around the JSON string. http://stackoverflow.com/questions/43387719/error-when-adding-user-for-solr-basic-authentication/43387895#43387895 curl --user user:password http://localhost:8983/solr/admin

Error when adding user for Solr Basic Authentication

2017-04-13 Thread Zheng Lin Edwin Yeo
Hi, When I try to add the user for the Solr Basic Authentication using the following method in curl curl --user user:password http://localhost:8983/solr/admin/authentication -H 'Content-type:application/json' -d '{ "set-user": {"tom" : "TomIsCool" ,

NonRepeatableRequestException Error during indexing after setting up Basic Authentication

2017-04-11 Thread Zheng Lin Edwin Yeo
Hi, I'm getting an error with indexing using SolrJ after setting up the Basic Authentication with the following code. Credentials defaultcreds = new UsernamePasswordCredentials("id", "password"); appendAuthentication(defaultcreds, "BASIC", solr); private st

Re: Expiry of Basic Authentication Plugin

2017-04-11 Thread Zheng Lin Edwin Yeo
de. > > Best > > On Tue, Apr 11, 2017 at 7:18 AM, Zheng Lin Edwin Yeo <edwinye...@gmail.com > > > wrote: > > > Anyone has any idea if the authentication will expired automatically? > Mine > > has already been authenticated for more than 20 hours, and it has not

Re: Expiry of Basic Authentication Plugin

2017-04-11 Thread Jordi Domingo Borràs
Browsers retain basic auth information. You have to close it or clean browsing history. You can also change the user password at server side. Best On Tue, Apr 11, 2017 at 7:18 AM, Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > Anyone has any idea if the authentication wil

Re: Expiry of Basic Authentication Plugin

2017-04-10 Thread Zheng Lin Edwin Yeo
Anyone has any idea if the authentication will expired automatically? Mine has already been authenticated for more than 20 hours, and it has not auto logged out yet. Regards, Edwin On 11 April 2017 at 00:19, Zheng Lin Edwin Yeo <edwinye...@gmail.com> wrote: > Hi, > > Would like

Expiry of Basic Authentication Plugin

2017-04-10 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, after I have entered the authentication to access Solr with Basic Authentication Plugin, will the authentication be expired automatically after a period of time? I'm using SolrCloud on Solr 6.4.2 Regards, Edwin

Re: Solr6.3.0 SolrJ API for Basic Authentication

2017-02-16 Thread Hrishikesh Gadre
Hey, The other alternative would be to implement a HttpClientConfigurer which can perform preemptive basic authentication (just the same way SolrRequest is sending the credentials). The code is available in the branch_6x here, https://github.com/apache/lucene-solr/blob

Re: Solr6.3.0 SolrJ API for Basic Authentication

2017-02-16 Thread Bryan Bende
any dummy solrQuery instead ? > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr6-3-0-SolrJ-API-for-Basic-Authentication-tp4320238p4320675.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr6.3.0 SolrJ API for Basic Authentication

2017-02-16 Thread vrindavda
.nabble.com/Solr6-3-0-SolrJ-API-for-Basic-Authentication-tp4320238p4320675.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr6.3.0 SolrJ API for Basic Authentication

2017-02-14 Thread Bryan Bende
(0:0:0:0:0:0:0:1:9983)] DEBUG > org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: > 0x15a3bc76e1f000e after 1ms > 16:55:46.958 [main-SendThread(0:0:0:0:0:0:0:1:9983)] DEBUG > org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: > 0x15a3bc76e1f000e after 1ms > \ > > > Please help. > Vrinda Davda > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr6-3-0-SolrJ-API-for-Basic-Authentication-tp4320238.html > Sent from the Solr - User mailing list archive at Nabble.com.

Solr6.3.0 SolrJ API for Basic Authentication

2017-02-14 Thread vrindavda
id: 0x15a3bc76e1f000e after 1ms 16:55:46.958 [main-SendThread(0:0:0:0:0:0:0:1:9983)] DEBUG org.apache.zookeeper.ClientCnxn - Got ping response for sessionid: 0x15a3bc76e1f000e after 1ms \ Please help. Vrinda Davda -- View this message in context: http://lucene.472066.n3.nabble.com/Solr6-3-0-SolrJ-API

Re: HELP!!- Error on authentication for mongodb in data-source-config.xml

2017-01-18 Thread Shawn Heisey
On 1/18/2017 10:18 AM, Abhijit Pawar wrote: > One thing that popped in my mind is I saw your code wherein the > password for mysql is not included in quotes or double quotes. > password=REDACTED > Whereas mine were included. > > password="*<>*" > > Do you think that could be a possible issue

Re: HELP!!- Error on authentication for mongodb in data-source-config.xml

2017-01-18 Thread Abhijit Pawar
t; > > > On Wed, Jan 18, 2017 at 9:26 AM, Shawn Heisey <apa...@elyograg.org> wrote: > >> On 1/16/2017 1:04 PM, Abhijit Pawar wrote: >> > Hello, >> > >> > Need your help on one small problem I am facing in SOLR. >> > >> &g

Re: HELP!!- Error on authentication for mongodb in data-source-config.xml

2017-01-18 Thread Abhijit Pawar
2017 at 9:26 AM, Shawn Heisey <apa...@elyograg.org> wrote: > On 1/16/2017 1:04 PM, Abhijit Pawar wrote: > > Hello, > > > > Need your help on one small problem I am facing in SOLR. > > > > I have added authentication for our mongodb database in > data-sourc

Re: HELP!!- Error on authentication for mongodb in data-source-config.xml

2017-01-18 Thread Shawn Heisey
On 1/16/2017 1:04 PM, Abhijit Pawar wrote: > Hello, > > Need your help on one small problem I am facing in SOLR. > > I have added authentication for our mongodb database in data-source-config > file in SOLR. > rating,updatedAt,comparable,hide_price FROM > products':ja

HELP!!- Error on authentication for mongodb in data-source-config.xml

2017-01-16 Thread Abhijit Pawar
Hello, Need your help on one small problem I am facing in SOLR. I have added authentication for our mongodb database in data-source-config file in SOLR. This is the configuration I have done : >*.*<>*] ​Any idea what could be the issue.​?Appreciate you help!!! ​Thank Yo

Shards not working with basic authentication

2017-01-06 Thread Reagan Philip
Hello!We are on Solr 5.4.1 and basic authentication is enabled.We are trying to use shards to combine 2 Solr cores but getting a "401 Unauthorized" error while querying from the admin UI. Basically internal connection errors out with shards. Also tried using "shardcredentials&quo

Re: Unity.SolrNetIntegration with Solr basic-authentication

2017-01-03 Thread Shawn Heisey
On 1/3/2017 5:56 AM, Reagan Philip wrote: > Hi,I'm trying to use Unity.SolrNetIntegration with a > basic-authentication enabled Solr server but could not find any > details about it. I did create another post with more details > http://lucene.472066.n3.nabble.com/Solr-basic-au

Unity.SolrNetIntegration with Solr basic-authentication

2017-01-03 Thread Reagan Philip
Hi,I'm trying to use Unity.SolrNetIntegration with a basic-authentication enabled Solr server but could not find any details about it. I did create another post with more details http://lucene.472066.n3.nabble.com/Solr-basic-authentication-with-Unity-SolrNetIntegration-tc4311494.htmlPlease help

Solr basic-authentication with Unity.SolrNetIntegration

2016-12-28 Thread rphilip
Hello! I need to use Unity.SolrNetIntegration with a Solr instance which has basic authentication enabled. Below is the start-up code I use now and it works fine against Solr with no-authentication; var solrServers = new Unity.SolrNetIntegration.Config.SolrServers { new

Re: Custom authentication plugin & inter-node auth

2016-11-01 Thread Noble Paul
It should be related to SOLR-9692: blockUnknown property makes inter-node communication impossible This is fixed in 6.3 On Tue, Nov 1, 2016 at 8:44 AM, devanshic02 <dink...@gmail.com> wrote: > > Hi > > I am facing same issue > I have a custom authentication plugin and

Re: Custom authentication plugin & inter-node auth

2016-10-31 Thread devanshic02
Hi I am facing same issue I have a custom authentication plugin and it is calling admin/info/key when the PKIAuthenticationPlugin is attempting to authenticate an inter-node request. Can you let me know how you resolved the same -- View this message in context: http://lucene.472066.n3

How to configure Spring data SolrCloud connection with Basic Authentication

2016-10-29 Thread saeed shahsavan
I have configure Solr 6.2.1 as SolrCloud and i have Configured Basic Authentication so i am going to configure Spring data solr 2.0.4.RELEASE with Solrj 6.2 and this is my code: @Configuration @EnableSolrRepositories(basePackages = { "ir.saeed.server.solr" }, multicoreSupport = tru

Solr 4.10.2 Enabling Basic Authentication in HTTP

2016-10-05 Thread Alexandre Drouin
Hi, I currently have basic authentication enabled with HTTPS and it is working great. I want to remove SSL from my Solr installation (master/slave) while keeping the basic authentication. To this effect, I removed the SslSelectChannelConnector connector from my jetty.xml file and I replaced

RE: Solr 4.10.2 Enabling Basic Authentication in HTTP

2016-10-05 Thread Alexandre Drouin
I forgot to mention that I also tried this connector without success: 5 1500 false If I remove the basic authentication related configuration from web.xml I can access Solr without issue so

Custom authentication plugin & inter-node auth

2016-09-05 Thread Matt Richards
Hi We have just upgraded to 5.4.1 from 5.2.1 and have a custom authentication plugin class configured, which is using Spnego to validate user requests. Since there is now built-in support for inter-node authentication via the PKIAuthenticationPlugin we were expecting this to be activated

Custom authentication plugin & inter-node auth

2016-09-05 Thread Matt Richards
Hi We have just upgraded to 5.4.1 from 5.2.1 and have a custom authentication plugin class configured, which is using Spnego to validate user requests. Since there is now built-in support for inter-node authentication via the PKIAuthenticationPlugin we were expecting this to be activated

RE: solr-6.1.0 - Using different client and server certificates for authentication doesn't work

2016-08-17 Thread Kostas
This is what helped me: https://gist.github.com/jankronquist/6412839 -Original Message- From: Kostas [mailto:k...@dataverse.gr] Sent: Tuesday, July 26, 2016 3:22 PM To: solr-user@lucene.apache.org Subject: solr-6.1.0 - Using different client and server certificates for authentication

Re: Regarding Solr UI authentication

2016-08-12 Thread Shawn Heisey
On 8/11/2016 11:12 PM, Pradeep Chandra wrote: > I am running solr using the command *bin/solr start *in Ubuntu. Now I > want to give UI authentication to secure my Solr. Can you tell me how > to make Solr password protected. I am not using Zookeeper/SolrCloud. For what I would call

Regarding Solr UI authentication

2016-08-12 Thread Pradeep Chandra
Hi I am running solr using the command *bin/solr start *in Ubuntu. Now I want to give UI authentication to secure my Solr. Can you tell me how to make Solr password protected. I am not using Zookeeper/SolrCloud. Thanks and Regards, M Pradeep Chandra

Authenticating the SOLR 6.0 using Kerberos Authentication

2016-08-11 Thread Preeti Bhat
Hi All, We are running a SOLR 6.0 in AWS EC2 instance (Windows Server 2012) . Based on the below URL, I found that we would be able to Authenticate the SOLR in standalone mode using "Kerberos Authentication". But since we are having this in the AWS, we don't have the control on t

Re: How to set credentials when querying using SolrJ - Basic Authentication

2016-08-01 Thread Susheel Kumar
Thank you so much, Shawn. Didn't realize that i could call process directly. I think it will be helpful to add this code to solr documentation. I'll create a jira to update the documentation. Thanks, Susheel On Mon, Aug 1, 2016 at 7:14 PM, Shawn Heisey wrote: > On

Re: How to set credentials when querying using SolrJ - Basic Authentication

2016-08-01 Thread Shawn Heisey
On 8/1/2016 1:59 PM, Susheel Kumar wrote: > BUT how do we set the credentials when calling > > //HOW to set credentials before calling query method > ??? > ??? > solrClient.query(collection, query);method? Here's an example of setting credentials on an arbitrary request object that is

How to set credentials when querying using SolrJ - Basic Authentication

2016-08-01 Thread Susheel Kumar
Hello, I am looking to pass user / pwd when querying using CloudSolrClient. The documentation https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin describes about setting the credential when calling the request method like below SolrRequest req ;//create a new request

solr-6.1.0 - Using different client and server certificates for authentication doesn't work

2016-07-26 Thread Kostas
Hello. I have setup Solr 6.1.0 to use SSL (on Windows) and to do client authentication based on the client certificate. When I use the same certificate for both the server and the client authentication, everything works OK

Re: Internode communication failed when enable basic authentication Solr 6.1.0

2016-07-21 Thread Shankar Ramalingam
elated to https://issues.apache.org/jira/browse/SOLR-9188 ? > > Ales Gregor > > > > 2016-06-24 15:15 GMT+02:00 Shankar Ramalingam <shankarmc...@gmail.com>: > > > Hi Team, > > > > Basic Authentication is enabled on Solr cloud and node1 is running on one

Re: Internode communication failed when enable basic authentication Solr 6.1.0

2016-07-08 Thread Aleš Gregor
Hello, could this be related to https://issues.apache.org/jira/browse/SOLR-9188 ? Ales Gregor 2016-06-24 15:15 GMT+02:00 Shankar Ramalingam <shankarmc...@gmail.com>: > Hi Team, > > Basic Authentication is enabled on Solr cloud and node1 is running on one > machine a

Internode communication failed when enable basic authentication Solr 6.1.0

2016-06-24 Thread Shankar Ramalingam
Hi Team, Basic Authentication is enabled on Solr cloud and node1 is running on one machine and node2 is runnin on second machine, zookeeper installed on second machine. Getting unathorized error when enable basic auth, error mostly occure when machine trying access machine 2 solr and also while

SolrCloud with SSL and Basic Authentication

2016-06-01 Thread Tempes, Piotr (Consultant)
I have ask same question on stackoverflow: http://stackoverflow.com/questions/37577074/solrcloud-with-ssl-and-basic-authentication Is it possible to configure SolrCloud with SSL and Basic Authentication? I have configured 3 nodes of Solr in SolrCloud with SSL using this:https

Re: Solr M2M authentication on Jetty

2016-05-18 Thread Joel Bernstein
processes in Solr that push data to users. This would eliminate the need for users to have direct access to Solr if the authentication issues become a problem. Currently the only way to push data is to use the update function which pushes data to another Solr collection. But it would be easy to write

RE: Solr M2M authentication on Jetty

2016-05-18 Thread Gregoric, James
authentication on Jetty Dear Solr Community, We would like to provide an in-house group of users access to our Solr database in a way that meets the following specifications: 1. Use the Jetty web service that Solr 6.0 installs by default. 2. Provide an M2M (machine-to-machine

Solr M2M authentication on Jetty

2016-05-18 Thread Gregoric, James
setup a cron job that periodically executes a query and stores the results. 3. Authentication credentials for the M2M interface to the Jetty service are provided by an LDAP service so it is possible to log who is accessing what data. 4. Result data retrieved from Solr (result UIDs

Re: Solrj Basic Authentication randomly failing - "request has come without principal"

2016-05-18 Thread shamik
anyone ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solrj-Basic-Authentication-randomly-failing-request-has-come-without-principal-tp4277342p4277533.html Sent from the Solr - User mailing list archive at Nabble.com.

回复:Re: How to encrypte the password for basic authentication of Solr

2016-05-17 Thread tjlp
Hi, Shawn, Thanks. So, we can not add some credentials at first in the security.json, right? To simplify, I just want to hardcode some users before the Solr starts. Googling the topic about "Basic authentication for Solr Admin panel", we can call jetty utility for generating encrypte

Solrj Basic Authentication randomly failing - request has come without principal

2016-05-17 Thread Shamik Bandopadhyay
Hi, I'm facing this issue where SolrJ calls are randomly failing on basic authentication. Here's exception: ERROR923629[qtp466002798-20] - org.apache.solr.security.PKIAuthenticationPlugin.doAuthenticate(PKIAuthenticationPlugin.java:125) - Invalid key INFO923630[qtp466002798-20

Re: How to encrypte the password for basic authentication of Solr

2016-05-17 Thread Shawn Heisey
me after I sent this that I perhaps have answered the wrong question. Once you have the example security.json in place, you can use that solr user (and the default password) with the set-user functionality in the /admin/authentication API to create a new user or to change the password on the solr user. Th

Re: How to encrypte the password for basic authentication of Solr

2016-05-17 Thread Shawn Heisey
On 5/17/2016 2:23 AM, t...@sina.com wrote: > In the Wiki > https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin, > the basic authentication is introduced. With basic authentication, the > sample security.json has the line > "credentials":{"so

How to encrypte the password for basic authentication of Solr

2016-05-17 Thread tjlp
Hi, In the Wiki https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin, the basic authentication is introduced. With basic authentication, the sample security.json has the line "credentials":{"solr":"IV0EHq1OnNrj6gvRCw

set-property API doesn't work for security.json authentication

2016-05-12 Thread Shamik Bandopadhyay
Hi, I'm trying to update the set-property option in security.json authentication section. As per the documentation, "Set arbitrary properties for authentication plugin. The only supported property is 'blockUnknown'" https://cwiki.apache.org/confluence/display/solr/Basic+Authenticat

Re: Solrj API with Basic Authentication

2016-05-11 Thread shamik
ckTrace(); } } Just wanted to know if this is recommended ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solrj-API-with-Basic-Authentication-tp4276312p4276319.html Sent from the Solr - User mailing list archive at Nabble.com.

Solrj API with Basic Authentication

2016-05-11 Thread Shamik Bandopadhyay
Hi, I'm looking into the option of adding basic authentication using Solrj API. Currently, I'm using the following code for querying Solr. SolrClient client = new CloudSolrClient("127.0.0.1:9983"); ((CloudSolrClient)client).setDefaultCollection("gettingstarted"); Modifi

Re: Issues with Authentication / Role based authorization

2016-05-11 Thread shamik
ole": "browseRole" } ], "": { "v": 6 } } } But when I log in as "dev", I seemed to have similar access to "solr" and "beehive". "dev" can add/delete data, create collection, etc. Will the order of the permissions matter here even though "dev" is assigned to a specific role ? -- View this message in context: http://lucene.472066.n3.nabble.com/Issues-with-Authentication-Role-based-authorization-tp4276024p4276203.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Issues with Authentication / Role based authorization

2016-05-11 Thread Brian J. Vanecek
I can't say I followed your entire example, but I think you're running into a couple of issues: 1) Users don't get any roles by default. So, when you initial setup includes this: { "name": "all", "role": "all" } but nobody has the "all" role, it doesn't surprise

Re: Issues with Authentication / Role based authorization

2016-05-11 Thread shamik
Anyone ? -- View this message in context: http://lucene.472066.n3.nabble.com/Issues-with-Authentication-Role-based-authorization-tp4276024p4276153.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Issues with Authentication / Role based authorization

2016-05-11 Thread shamik
Ok, I'm really struggling to figure out the right approach here. I wanted to make it simple and started fresh. Removed the existing node (node1 and node2), started the server in Cloud mode and uploaded the following security.json. { "authentication": { "blockUnknown&quo

How do we generate SHA256 password for Authentication

2016-05-10 Thread Shamik Bandopadhyay
Hi, I'm trying to setup Authentication and Role-based authorization in Solr 5.5. Beside "Solr" user from example, I've created another user "dev". I've used the following website to generate sha256 encoded password. http://www.lorem-ipsum.co.uk/hasher.php I've used p

issue of the popped message "ERROR: Solr at http://xxxx:8983/solr did not come online within 30 seconds!" in Solr with basic authentication

2016-05-09 Thread tjlp
Hi, I am using Solr 5.5.0. I config the basic authentication to Solr following by http://muddyazian.blogspot.com/2013/11/how-to-require-password-authentication.html. Then when I start solr, the message "ERROR: Solr at http://:8983/solr did not come online within 30 seconds!"

Sold 5.3 certificate client authentication

2016-03-21 Thread Abdul Rahim, Muzammil (Nokia - IN/Bangalore)
Hi, My basic requirement is to secure the solr admin page. I thought of securing it using certificate authentication. So I followed the below link https://cwiki.apache.org/confluence/display/solr/Enabling+SSL With the help of above link I was able to secure my admin page but I am using

Re: How to configure authentication in windows start script?

2016-01-14 Thread Kristine Jetzke
s on Windows when authentication is enabled? I would be happy to provide a patch.

Re: How to configure authentication in windows start script?

2016-01-14 Thread Jan Høydahl
e Linux script is an option called AUTHC_CLIENT_CONFIGURER_ARG but I >> don't find anything similar for Windows... >> > > I just realized that this option is not used anyway for the status check > during startup. Any ideas how a solution would look like to make the st

How to configure authentication in windows start script?

2016-01-13 Thread Kristine Jetzke
Hi, I am using an authentication plugin in my Solr 5.4 standalone installation running on Windows. How do I pass authentication options to the start script? In the Linux script is an option called AUTHC_CLIENT_CONFIGURER_ARG but I don't find anything similar for Windows... Thanks, tine

Re: API accessible without authentication even though Basic Auth Plugin is enabled

2015-12-23 Thread Shawn Heisey
On 12/22/2015 11:45 PM, William Bell wrote: > Why would someone stay on 5.3.x instead of upgrading to 5.4? Why backport > when you can just upgrade? We just had this same discussion on the dev list. Anshum wants to cut a 5.3.2 release, somebody asked the same thing you did, and this is what I

Re: API accessible without authentication even though Basic Auth Plugin is enabled

2015-12-22 Thread Noble Paul
Works like described in 5.4.0, didn't work in 5.3.1, s. > https://issues.apache.org/jira/browse/SOLR-8408 > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/API-accessible-without-authentication-even-though-Basic-Auth-Plugin-is-enabled-tp42449

Re: API accessible without authentication even though Basic Auth Plugin is enabled

2015-12-22 Thread William Bell
> > https://issues.apache.org/jira/browse/SOLR-8408 > > > > > > > > -- > > View this message in context: > > > http://lucene.472066.n3.nabble.com/API-accessible-without-authentication-even-though-Basic-Auth-Plugin-is-enabled-tp4244940p4246099.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > > -- Bill Bell billnb...@gmail.com cell 720-256-8076

Re: API accessible without authentication even though Basic Auth Plugin is enabled

2015-12-17 Thread tine-2
e-without-authentication-even-though-Basic-Auth-Plugin-is-enabled-tp4244940p4246099.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr5.3.1 solrcloud Enabling Basic AUthentication

2015-12-14 Thread Noble Paul
You don't need to submit a sha256, Solr will do itself. Just use the provided commands please refer this https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin On Mon, Dec 14, 2015 at 6:56 AM, soledede_w...@ehsy.com < soledede_w...@ehsy.com> wrote: > I want to

Solr5.3.1 solrcloud Enabling Basic AUthentication

2015-12-13 Thread soledede_w...@ehsy.com
I want to restrict Admin UI , I know can config the security.json but how. if use sha256(password+salt) hash) ,how to submit the salt for solr server. who can give me a simple example Thanks soledede_w...@ehsy.com

Re: API accessible without authentication even though Basic Auth Plugin is enabled

2015-12-11 Thread Chris Hostetter
r-user@lucene.apache.org : Subject: API accessible without authentication even though Basic Auth Plugin : is enabled : : Hi, : : I noticed that it is possible to access the API even if the Basic Auth plugin is enabled. Is that a known issue/done on purpose? I didn’t find anything in JIRA or th

Re: API accessible without authentication even though Basic Auth Plugin is enabled

2015-12-11 Thread Noble Paul
an unauthenticated request must be able to access /select path. authentication layer has no idea whether it is a protected resource or not. So, when no credentials headers are sent it sets the user principal as null and lets the request go through. Whereas in the case of wrong credentials

API accessible without authentication even though Basic Auth Plugin is enabled

2015-12-11 Thread Kristine Jetzke
/display/solr/Basic+Authentication+Plugin <https://cwiki.apache.org/confluence/display/solr/Basic+Authentication+Plugin> - Started Solr cluster using cloud example: bin/solr start -e cloud -c -z localhost:2181 - Executed the following commands: - curl -u solr:SolrRocks 'http://localhost:898

Re: Sold 5.3 with Basic Authentication in a not SolrCloud environment

2015-12-05 Thread Ishan Chattopadhyaya
At the moment, the Basic Authentication doesn't work with standalone Solr (non-SolrCloud). Kerberos authentication works. If you want support for Basic Authentication for standalone Solr, please feel free to open a JIRA and contribute a patch. On Wed, Sep 16, 2015 at 3:30 PM, Dominique Bejean

Sold 5.3 with Basic Authentication in a not SolrCloud environment

2015-09-16 Thread Dominique Bejean
Hi, The wiki explains how to upload the security.json file to Zk ( https://cwiki.apache.org/confluence/display/solr/Authentication+and+Authorization+Plugins ). However, is it possible to use authentication and authorization plugin in a not SolrCloud environment ? If yes, where has to be located

Re: Solr authentication - Error 401 Unauthorized

2015-09-13 Thread Noble Paul
roviding a username/password - as a >> mostly user like you I'm not sure of the roadmap. >> >> I think you should relax those restrictions a bit and try again. >> >> On Fri, Sep 11, 2015 at 5:06 AM, Merlin Morgenstern < >> merlin.morgenst...@gmail.com> wro

Re: Solr authentication - Error 401 Unauthorized

2015-09-12 Thread Dan Davis
, 2015 at 5:06 AM, Merlin Morgenstern < merlin.morgenst...@gmail.com> wrote: > I have secured solr cloud via basic authentication. > > Now I am having difficulties creating cores and getting status information. > Solr keeps telling me that the request is unothorized. Howeve

Re: Solr authentication - Error 401 Unauthorized

2015-09-12 Thread Dan Davis
roadmap. > > I think you should relax those restrictions a bit and try again. > > On Fri, Sep 11, 2015 at 5:06 AM, Merlin Morgenstern < > merlin.morgenst...@gmail.com> wrote: > >> I have secured solr cloud via basic authentication. >> >> Now I am havin

Solr authentication - Error 401 Unauthorized

2015-09-11 Thread Merlin Morgenstern
I have secured solr cloud via basic authentication. Now I am having difficulties creating cores and getting status information. Solr keeps telling me that the request is unothorized. However, I have access to the admin UI after login. How do I configure solr to use the basic authentication

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-10 Thread Dan Davis
;> At startup, these are the log messages that say there is no security > >> configuration and the plugins aren’t being used even though > security.json > >> is in Zookeeper: > >> 2015-09-04 08:06:21.205 INFO (main) [ ] o.a.s.c.CoreContainer > Security

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-10 Thread Dan Davis
gt; At startup, these are the log messages that say there is no security >> >> configuration and the plugins aren’t being used even though >> security.json >> >> is in Zookeeper: >> >> 2015-09-04 08:06:21.205 INFO (main) [ ] o.a.s.c.CoreContainer >>

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-08 Thread Kevin Lee
eeper: >> 2015-09-04 08:06:21.205 INFO (main) [ ] o.a.s.c.CoreContainer Security >> conf doesn't exist. Skipping setup for authorization module. >> 2015-09-04 08:06:21.205 INFO (main) [ ] o.a.s.c.CoreContainer No >> authentication plugin used. >> >> Tha

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-05 Thread Dan Davis
curity > conf doesn't exist. Skipping setup for authorization module. > 2015-09-04 08:06:21.205 INFO (main) [ ] o.a.s.c.CoreContainer No > authentication plugin used. > > Thanks, > Kevin > > > On Sep 4, 2015, at 5:47 AM, Noble Paul <noble.p...@gmail.com> wrote: >

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-04 Thread davidphilip cherian
//issues.apache.org/jira/browse/SOLR-8004 > >> > >> On Wed, Sep 2, 2015 at 1:36 PM, Kevin Lee <kgle...@yahoo.com.invalid> > wrote: > >>> I’ve found that completely exiting Chrome or Firefox and opening it > back up re-prompts for credentials when they are required

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-04 Thread Noble Paul
Paul <noble.p...@gmail.com> wrote: >> >> I opened a ticket for the same >> >> https://issues.apache.org/jira/browse/SOLR-8004 >> >> >> >> On Wed, Sep 2, 2015 at 1:36 PM, Kevin Lee <kgle...@yahoo.com.invalid> >> wrote: >> >

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-04 Thread Kevin Lee
) [ ] o.a.s.c.CoreContainer Security conf doesn't exist. Skipping setup for authorization module. 2015-09-04 08:06:21.205 INFO (main) [ ] o.a.s.c.CoreContainer No authentication plugin used. Thanks, Kevin > On Sep 4, 2015, at 5:47 AM, Noble Paul <noble.p...@gmail.com&

Re: Issue Using Solr 5.3 Authentication and Authorization Plugins

2015-09-04 Thread Kevin Lee
om.invalid> wrote: >>> I’ve found that completely exiting Chrome or Firefox and opening it back up >>> re-prompts for credentials when they are required. It was re-prompting >>> with the /browse path where authentication was working each time I >>> completely

<    1   2   3   4   >