From user-return-34447-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Jun 4 12:21:48 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32C7510277 for ; Tue, 4 Jun 2013 12:21:48 +0000 (UTC) Received: (qmail 31421 invoked by uid 500); 4 Jun 2013 12:21:45 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 31398 invoked by uid 500); 4 Jun 2013 12:21:45 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 31390 invoked by uid 99); 4 Jun 2013 12:21:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 12:21:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cscetbon.ext@orange.com designates 193.251.215.92 as permitted sender) Received: from [193.251.215.92] (HELO relais-inet.francetelecom.com) (193.251.215.92) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 12:21:41 +0000 Received: from omfedm05.si.francetelecom.fr (unknown [xx.xx.xx.1]) by omfedm11.si.francetelecom.fr (ESMTP service) with ESMTP id 5C5003B4BDB for ; Tue, 4 Jun 2013 14:21:20 +0200 (CEST) Received: from PUEXCH61.nanterre.francetelecom.fr (unknown [10.101.44.32]) by omfedm05.si.francetelecom.fr (ESMTP service) with ESMTP id 158E035C0C2 for ; Tue, 4 Jun 2013 14:21:20 +0200 (CEST) Received: from PUEXCB2E.nanterre.francetelecom.fr ([10.101.44.54]) by PUEXCH61.nanterre.francetelecom.fr ([10.101.44.32]) with mapi; Tue, 4 Jun 2013 14:21:19 +0200 From: To: "user@cassandra.apache.org" Date: Tue, 4 Jun 2013 14:21:18 +0200 Subject: Re: Removing authentification Thread-Topic: Removing authentification Thread-Index: Ac5hHgSRkJMmU/d4TYCO7CFapMdQ1g== Message-ID: <564_1370348480_51ADDBC0_564_34_1_E37FCD6B-49D6-402E-8F35-B10696FD6CFC@orange.com> References: <12202_1370339665_51ADB951_12202_27_1_BFDCE1C9-AFAD-4CFE-B218-EBF15248408B@orange.com> <51ADBAC9.1070604@opera.com> In-Reply-To: <51ADBAC9.1070604@opera.com> Accept-Language: fr-FR Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: fr-FR Content-Type: multipart/alternative; boundary="_000_E37FCD6B49D6402E8F35B10696FD6CFCorangecom_" MIME-Version: 1.0 X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.5.21.113319 X-Virus-Checked: Checked by ClamAV on apache.org --_000_E37FCD6B49D6402E8F35B10696FD6CFCorangecom_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable right ! authorizer was still set. I didn't know there was 2 different class= es for handling logging and access. thanks -- Cyril SCETBON On Jun 4, 2013, at 12:00 PM, Michal Michalski > wrote: How about authorizer? Is it set to org.apache.cassandra.auth.AllowAllAuthorizer? Authenticator is responsible for handling logging in as a specific user. Authorizer checks if logged user has appriopriate permissions. M. W dniu 04.06.2013 11:54, cscetbon.ext@orange.com pisze: Hi, What's the procedure to remove authentification ? I have set authenticator to org.apache.cassandra.auth.AllowAllAuthenticator= in cassandra.yaml, however I still get cqlsh:pns_fr> select * from t1 limit 1; Bad Request: User anonymous has no SELECT permission on or an= y of its parents Perhaps you meant to use CQL 2? Try using the -2 option when starting cqlsh. Do I have to drop system_auth keyspace ? Can I do it without authentificati= on enabled ? thanks -- Cyril SCETBON ___________________________________________________________________________= ______________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confiden= tielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu= ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages el= ectroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete al= tere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged inf= ormation that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and dele= te this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for message= s that have been modified, changed or falsified. Thank you. ___________________________________________________________________________= ______________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confiden= tielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu= ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages el= ectroniques etant susceptibles d'alteration, France Telecom - Orange decline toute responsabilite si ce message a ete al= tere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged inf= ormation that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and dele= te this message and its attachments. As emails may be altered, France Telecom - Orange is not liable for message= s that have been modified, changed or falsified. Thank you. --_000_E37FCD6B49D6402E8F35B10696FD6CFCorangecom_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable right ! authorizer was = still set. I didn't know there was 2 different classes for handling logging= and access.

thanks
-- 
<= div class=3D"" style=3D"color: rgb(0, 0, 0); font-family: Helvetica; font-s= ize: medium; font-style: normal; font-variant: normal; font-weight: normal;= letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webk= it-auto; text-indent: 0px; text-transform: none; white-space: normal; widow= s: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-strok= e-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line= -break: after-white-space; ">Cyril SCETBON

On Jun 4, 2013, at 12:00 PM, Michal Michalski <michalm@opera.com> wrote:

How about authoriz= er? Is it set to
org.apache.cassandra.auth.AllowAllAuthorizer?

A= uthenticator is responsible for handling logging in as a specific user. Authorizer checks if logged user has appriopriate permissions.

M.
W dniu 04.06.2013 11:54, c= scetbon.ext@orange.com pisze:
Hi,

W= hat's the procedure to remove authentification ?
I have set authenticato= r to org.apache.cassandra.auth.AllowAllAuthenticator in cassandra.yaml, how= ever I still get

cqlsh:pns_fr> select * from t1 limit 1;
Bad R= equest: User anonymous has no SELECT permission on <table k1.t1> or a= ny of its parents
Perhaps you meant to use CQL 2? Try using the -2 optio= n when starting cqlsh.

Do I have to drop system_auth keyspace ? Can = I do it without authentification enabled ?

thanks
--
Cyril SCE= TBON


___________________________________________________________= ______________________________________________________________

Ce me= ssage et ses pieces jointes peuvent contenir des informations confidentiell= es ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou co= pies sans autorisation. Si vous avez recu ce message par erreur, veuillez l= e signaler
a l'expediteur et le detruire ainsi que les pieces jointes. L= es messages electroniques etant susceptibles d'alteration,
France Teleco= m - Orange decline toute responsabilite si ce message a ete altere, deforme= ou falsifie. Merci.

This message and its attachments may contain co= nfidential or privileged information that may be protected by law;
they = should not be distributed, used or copied without authorisation.
If you = have received this email in error, please notify the sender and delete this= message and its attachments.
As emails may be altered, France Telecom -= Orange is not liable for messages that have been modified, changed or fals= ified.
Thank you.




___________________________________________________________________=
______________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confiden=
tielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu=
 ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages el=
ectroniques etant susceptibles d'alteration,
France Telecom - Orange decline toute responsabilite si ce message a ete al=
tere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged inf=
ormation that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and dele=
te this message and its attachments.
As emails may be altered, France Telecom - Orange is not liable for message=
s that have been modified, changed or falsified.
Thank you.
= --_000_E37FCD6B49D6402E8F35B10696FD6CFCorangecom_--