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

server can send empty error message to client with pam_use_cleartext_plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.2.25, 10.1.40, 10.3.16, 10.4.6
    • 10.4.7
    • Plugin - pam
    • None

    Description

      If pam_use_cleartext_plugin is configured on the server, and if you have an error in your PAM service configuration, similar to the following:

      $ cat /etc/pam.d/mariadb
      auth required pam_unix.so audit
      auth required pam_unix.so audit
      

      Then the client receives an empty error message if you try to use PAM authentication:

      $ mysql -u alice --plugin-dir=/usr/lib64/mysql/plugin
      ERROR:
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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