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

Ambiguity between named_pipe system variable and named_pipe plugin activation option

    XMLWordPrintable

Details

    Description

      There seems to be ambiguity between the named_pipe system variable and the option that can enable/disable the named_pipe authentication plugin.

      The system variable enables/disables connections over named pipes:

      https://github.com/MariaDB/server/blob/mariadb-10.4.5/sql/sys_vars.cc#L2407

      https://mariadb.com/kb/en/library/server-system-variables/#named_pipe

      The option enables/disables the named_pipe authentication plugin:

      https://github.com/MariaDB/server/blob/mariadb-10.4.5/sql/sql_plugin.cc#L3720

      https://github.com/MariaDB/server/blob/mariadb-10.4.5/sql/sql_plugin.cc#L54

      https://mariadb.com/kb/en/library/authentication-plugin-named-pipe/#named_pipe

      If someone configures this in their my.cnf:

      [mariadb]
      ...
      named_pipe=1
      

      Would that refer to the system variable, or the plugin activation option, or would that somehow refer to both?

      Can users still use the plugin activation option with the same name?:

      [mariadb]
      plugin_load_add = auth_named_pipe
      named_pipe=FORCE_PLUS_PERMANENT
      

      https://mariadb.com/kb/en/plugin-overview/#configuring-plugin-activation-at-server-startup

      Attachments

        Issue Links

          Activity

            People

              dbart Daniel Bartholomew
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 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.