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

PAM: allow authenticated_as=user_name mapping

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      extend pam_user_map.so to support syntax like

      1
      *:*
      2
      @group:*
      

      the first line will set authenticated_as to be the same as user_name, the second line will do that only for users in the specified group. That is, one can read * as the "authenticated pam user name".

      The goal is to allow

      CREATE USER ''@'%' IDENTIFIED VIA pam
      

      but have users logging in with CURRENT_USER=USER(), not CURRENT_USER=''@'%', in other words, to support user management outside of MariaDB

      Attachments

        Activity

          People

            Unassigned Unassigned
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.