[MDEV-5737] Mariadb cluster does not ship pam authentication module Created: 2014-02-25 Updated: 2014-02-26 Due: 2014-03-26 Resolved: 2014-02-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.33a |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Christian McHugh | Assignee: | Unassigned |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
After installing mariadb-galera-server I do not appear to have the pam auth plugin. Here are the only authentication plugins available:
|
| Comments |
| Comment by Sergei Golubchik [ 2014-02-26 ] |
|
how did you install mariadb-galera-server? Did you use apt-get? |
| Comment by Christian McHugh [ 2014-02-26 ] |
|
Yep!
|
| Comment by Elena Stepanova [ 2014-02-26 ] |
|
The module is shipped, but as the most of plugins it is a separate library. To enable it, run INSTALL SONAME 'auth_pam'. If it does not work, please comment to re-open the bug and provide information about your OS/architecture. |
| Comment by Christian McHugh [ 2014-02-26 ] |
|
Oh man! You are right. Install soname loaded it right up. I don't see in the documentation a way to specify these commands in my.cnf. Is that possible? It looks like --plugin-load auth_pam, could be passed to the mysqld process at startup, but on debian these options are not user editable without modifying, and thus customizing, the init script script. |
| Comment by Elena Stepanova [ 2014-02-26 ] |
|
If you ran INSTALL SONAME, you don't need to re-load the plugin on each server startup, it will stay there until you unload it (or until the library is removed from the file system). |