Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-10394

Mixed case usernames do not work

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Urgent
    • Resolution: Fixed
    • Fix Version/s: 2.2.3
    • Labels:
      None
    • Environment:

      Centos 7, Cassandra 2.2.1

    • Severity:
      Critical

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              samt Sam Tunnicliffe
              Reporter:
              wildwillie William Streaker
              Authors:
              Sam Tunnicliffe
              Reviewers:
              Tom Hobbs
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: