Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AC66617520 for ; Thu, 24 Sep 2015 14:56:04 +0000 (UTC) Received: (qmail 5818 invoked by uid 500); 24 Sep 2015 14:56:04 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 5786 invoked by uid 500); 24 Sep 2015 14:56:04 -0000 Mailing-List: contact commits-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 commits@cassandra.apache.org Received: (qmail 5775 invoked by uid 99); 24 Sep 2015 14:56:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Sep 2015 14:56:04 +0000 Date: Thu, 24 Sep 2015 14:56:04 +0000 (UTC) From: "Sam Tunnicliffe (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10394) Mixed case usernames do not work MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-10394?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906452#comment-14906452 ] Sam Tunnicliffe commented on CASSANDRA-10394: --------------------------------------------- It is a regression introduced in CASSANDRA-7653. I'll post a patch shortly, but it should be noted that {{CREATE USER}} is deprecated in favour of {{CREATE ROLE}} in 2.2 > Mixed case usernames do not work > -------------------------------- > > Key: CASSANDRA-10394 > URL: https://issues.apache.org/jira/browse/CASSANDRA-10394 > Project: Cassandra > Issue Type: Bug > Components: Core > Environment: Centos 7, Cassandra 2.2.1 > Reporter: William Streaker > Assignee: Sam Tunnicliffe > Priority: Critical > Fix For: 2.1.x > > > When you create a user with a mixed case username it is stored as all lower case. When you try and login with the mixed case username it will fail, but logging in as the lower case name works. This is a change from the 2.1.x versions that are released where mixed case usernames worked. > example: > CREATE USER stBarts WITH PASSWORD 'island'; > The above statement changes the username to "stbarts". > This would not be so bad except during login case does matter and has to match what is stored in the system. > Recommended fix: allow mixed case usernames to be stored in system, or convert mixed case username entered to lower case during login. -- This message was sent by Atlassian JIRA (v6.3.4#6332)