Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
10.2.24, 10.1.40, 10.3.15, 10.4.5, 10.5.3
-
None
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
- relates to
-
MDEV-19636 Usage message for plugin activation option doesn't mention FORCE_PLUS_PERMANENT
-
- Closed
-
-
MDEV-9022 [PATCH] New authentication plugin for authentication via named pipe
-
- Closed
-
-
MDEV-20226 Make plugin activation options into dynamic global system variables
-
- Closed
-
Activity
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 |
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: {noformat} [mariadb] ... named_pipe=1 {noformat} Would that refer to the system variable, or the plugin activation option, or would that somehow refer to both? |
Link |
This issue relates to |
Link |
This issue relates to |
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: {noformat} [mariadb] ... named_pipe=1 {noformat} Would that refer to the system variable, or the plugin activation option, or would that somehow refer to both? |
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: {code:ini} [mariadb] ... named_pipe=1 {code} 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?: {code:ini} [mariadb] plugin_load_add = auth_named_pipe named_pipe=FORCE_PLUS_PERMANENT {code} https://mariadb.com/kb/en/plugin-overview/#configuring-plugin-activation-at-server-startup |
Affects Version/s | 10.5.3 [ 24263 ] |
Fix Version/s | 10.5 [ 23123 ] |
Labels | need_feedback |
Labels | need_feedback |
Labels | need_feedback |
Labels | need_feedback |
Labels | need_feedback |
Labels | need_feedback |
Component/s | Documentation [ 10903 ] | |
Component/s | Authentication and Privilege System [ 13101 ] |
Assignee | Vladislav Vaintroub [ wlad ] | Sergei Golubchik [ serg ] |
Assignee | Sergei Golubchik [ serg ] | Geoff Montee [ geoffmontee ] |
Fix Version/s | 10.1 [ 16100 ] |
Epic Link | MENT-51 [ 75581 ] |
Link | This issue is part of MENT-51 [ MENT-51 ] |
Epic Link | MENT-51 [ 75581 ] |
Workflow | MariaDB v3 [ 97099 ] | MariaDB v4 [ 141309 ] |
Link | This issue relates to MENT-1404 [ MENT-1404 ] |
Fix Version/s | 10.2 [ 14601 ] |
Fix Version/s | 10.3 [ 22126 ] |
Assignee | Geoff Montee [ geoffmontee ] | Joe Cotellese [ JIRAUSER54006 ] |
Assignee | Joe Cotellese [ JIRAUSER54006 ] | Daniel Bartholomew [ dbart ] |
Fix Version/s | 10.4 [ 22408 ] |
GeoffMontee, what happens now? What does --named-pipe do?
It is supposed to enable connections over named pipes. When one wants to enable/disable a plugin one can always use --plugin-named-pipe which was implemented precisely to resolve conflicts like this.