[DOC] wrong install command for auth_pam plugin

Bug #1229132 reported by Przemek
8
This bug affects 1 person
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://www.percona.com/doc/percona-pam-for-mysql/installation.html#installing-server-side-plugin

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 |
+--------------------------------+----------+--------------------+-------------+---------+

Tags: doc pam auth

Related branches

Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

Same is true for 5.6:

mysql> show variables like 'version%';
+-------------------------+------------------------------------+
| Variable_name | Value |
+-------------------------+------------------------------------+
| version | 5.6.13-rc60.5 |
| version_comment | Percona Server (GPL), Release 60.5 |
| version_compile_machine | x86_64 |
| 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';

Changed in percona-pam-for-mysql:
status: New → Confirmed
Changed in percona-pam-for-mysql:
assignee: nobody → Hrvoje Matijakovic (hrvojem)
status: Confirmed → Triaged
importance: Undecided → High
tags: added: doc
Revision history for this message
Hrvoje Matijakovic (hrvojem) wrote :
Changed in percona-pam-for-mysql:
status: Triaged → Fix Committed
Changed in percona-pam-for-mysql:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3030

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.