Return-Path: X-Original-To: apmail-cassandra-dev-archive@www.apache.org Delivered-To: apmail-cassandra-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1226F10C4F for ; Thu, 6 Jun 2013 13:02:48 +0000 (UTC) Received: (qmail 88596 invoked by uid 500); 6 Jun 2013 13:02:46 -0000 Delivered-To: apmail-cassandra-dev-archive@cassandra.apache.org Received: (qmail 88471 invoked by uid 500); 6 Jun 2013 13:02:41 -0000 Mailing-List: contact dev-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list dev@cassandra.apache.org Received: (qmail 88463 invoked by uid 99); 6 Jun 2013 13:02:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 13:02:39 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [193.196.8.10] (HELO linux3.ids-mannheim.de) (193.196.8.10) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jun 2013 13:02:34 +0000 Received: from linux2.ids-mannheim.de ([10.0.1.7]) by linux3.ids-mannheim.de with smtp (Exim 4.72) (envelope-from ) id 1UkZpU-0005rg-6V for dev@cassandra.apache.org; Thu, 06 Jun 2013 15:02:13 +0200 Received: (qmail 9356 invoked from network); 6 Jun 2013 13:02:17 -0000 Received: from pc-frick.ids-mannheim.de (HELO ?10.99.1.41?) (10.99.1.41) by linux2.ids-mannheim.de with SMTP; 6 Jun 2013 13:02:17 -0000 Message-ID: <51B08853.10209@ids-mannheim.de> Date: Thu, 06 Jun 2013 15:02:11 +0200 From: Michael Hanl User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: dev@cassandra.apache.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SA-Do-Not-Run: Yes X-SA-Exim-Connect-IP: 10.0.1.7 X-SA-Exim-Rcpt-To: dev@cassandra.apache.org X-SA-Exim-Mail-From: hanl@ids-mannheim.de X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on linux3.ids-mannheim.de X-Spam-Level: Subject: Re: AW: PasswordAuthenticator X-SA-Exim-Version: 4.2.1 (built Mon, 03 Jul 2006 09:34:15 +0200) X-SA-Exim-Scanned: Yes (on linux3.ids-mannheim.de) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-2.9 required=3.0 tests=BAYES_00,GREYLIST_ISWHITE autolearn=ham version=3.3.2 Just for the record, I worked around this issue. Since there has been no indication what so ever, where this went wrong (since no log was registered), I manually created the user in system_auth.users and system_auth.credentials. After switching to PasswordAuthenticator, I could successfully log into cqlsh and cassandra-cli. Greetings, Michael On 06/06/2013 08:13 AM, Michael Hanl wrote: > That's the thing. I don't. Whereas the column families et successfully created, the user is not. And no, I don't have any of those messages in my logs. I checked a couple of times while restarting the nodes. > > Greetings > Michael Hanl > > Michal Michalski schrieb: > >> Don't you have a default "cassandra" user in system_auth.users? >> >> cqlsh> SELECT * from system_auth.users ; >> >> name | super >> -----------+------- >> cassandra | True >> >> It should be created on startup and you should see this in your logs: >> >> "PasswordAuthenticator created default user cassandra" >> >> However, if it fails, you should see this: >> >> "Skipped default superuser setup: some nodes were not ready" >> >> Do you have any of these messages in your log? >> >> M. >> >> W dniu 05.06.2013 17:19, Michael Hanl pisze: >>> Hello, >>> >>> Based on several examples online I was trying to use the >>> PasswordAuthenticator on our project nodes. >>> Although setting it up with the version 1.2.5 of cassandra was not that >>> difficult, I cannot seem to get access neither in cqlsh nor in the CLI. >>> Having a look at the filesystem and the schema tables (nodetool) that >>> the respective column families have been created with the startup of >>> cassandra, but there is no default user, which of course I need to setup >>> my own users. >>> >>> I tried several repairs with the nodetool already, but obviously when >>> there are no data in the column family, repair is kind of useless. >>> >>> I hope someone has an idea (besides writing my own authentiction >>> interface implementation). >>> >>> >>> Kind regards, >>> >>> Michael Hanl