[DOC] wrong install command for auth_pam plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Invalid
|
Undecided
|
Unassigned | ||
5.6 |
Invalid
|
Undecided
|
Unassigned | ||
percona-pam-for-mysql |
Fix Released
|
High
|
Hrvoje Matijakovic |
Bug Description
Seems that the command to load PAM Authentication Plugin has changed in recent versions, and this documentation is no longer valid:
http://
Server version: 5.5.33-31.1 Percona Server (GPL), Release rel31.1, Revision 566
mysql> INSTALL PLUGIN auth_pam_server SONAME 'auth_pam.so';
ERROR 1127 (HY000): Can't find symbol 'auth_pam_server' in library
but this works:
mysql> INSTALL PLUGIN auth_pam SONAME 'auth_pam.so';
Query OK, 0 rows affected (0.00 sec)
mysql> show plugins;
+------
| Name | Status | Type | Library | License |
+------
...
| auth_pam | ACTIVE | AUTHENTICATION | auth_pam.so | GPL |
+------
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifieddoc/source/installation.rst (+1/-1)
Changed in percona-pam-for-mysql: | |
assignee: | nobody → Hrvoje Matijakovic (hrvojem) |
status: | Confirmed → Triaged |
importance: | Undecided → High |
tags: | added: doc |
Changed in percona-pam-for-mysql: | |
status: | Triaged → Fix Committed |
Changed in percona-pam-for-mysql: | |
status: | Fix Committed → Fix Released |
Same is true for 5.6:
mysql> show variables like 'version%'; ------- ------- -----+- ------- ------- ------- ------- ------- + ------- ------- -----+- ------- ------- ------- ------- ------- + compile_ machine | x86_64 | ------- ------- -----+- ------- ------- ------- ------- ------- +
+------
| Variable_name | Value |
+------
| version | 5.6.13-rc60.5 |
| version_comment | Percona Server (GPL), Release 60.5 |
| version_
| version_compile_os | Linux |
+------
4 rows in set (0,00 sec)
This is the command that works:
INSTALL PLUGIN auth_pam SONAME 'auth_pam.so';