Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-34513

Server authentication prints incorrect error message when a user created with the PARSEC plugin logs into the server with an incorrect password.

    XMLWordPrintable

Details

    Description

      Server authentication shows password missing error (using password: NO) when we trying to login to the server with a wrong password for a user created with PARSEC plugin. Did not see this issue with a user created using mysql_native_password or the ed25519 plugin
      User created with PARSEC plugin

      ${BASEDIR}/bin/mariadb -utestuser -ppass1 -hlocalhost -P4401 --protocol=tcp --plugin-dir=${BASEDIR}/lib/plugin -e"show grants"
      ERROR 1045 (28000): Access denied for user 'testuser'@'localhost' (using password: NO)
      ${BASEDIR}/bin/mariadb -utestuser -ppass -hlocalhost -P4401 --protocol=tcp --plugin-dir=${BASEDIR}/lib/plugin -e"show grants"
      +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | Grants for testuser@localhost                                                                                                                                                                                                            |
      +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
      | GRANT ALL PRIVILEGES ON *.* TO `testuser`@`localhost` IDENTIFIED VIA parsec USING 'P0:0jHhJvGp2D87GXWintGt+CZc:8I5tBGxbHga4mv075O+tfD3doRG3OBF0QwguqNabzf8' WITH GRANT OPTION      
      

      Attachments

        Activity

          People

            nikitamalyavin Nikita Malyavin
            ramesh Ramesh Sivaraman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.