GUI clients can't authenticate with PAM plugin
Bug #1166938 reported by
Joshua Prunier
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
5.6 |
Fix Released
|
Medium
|
Sergei Glushchenko | ||
percona-pam-for-mysql |
Fix Released
|
Undecided
|
Sergei Glushchenko |
Bug Description
GUI clients such as MySQL Workbench & Sequel Pro can not authenticate with a user defined with auth_pam. The HeidiSQL GUI tool does work though. This is the actual error reported by MySQL Workbench and Sequel Pro.
"Your connection attempt failed for user 'jprunier' from your host to server flier:3306:
Authentication plugin 'dialog' cannot be loaded: The specified module could not be found."
If the user account is dropped and recreated to authenticate with Oracles Enterprise PAM plugin (in Oracle MySQL or Percona) MySQL Workbench & Sequel Pro work, while HeidiSQL then fails.
Command line authentication works as expected.
Related branches
lp://staging/~sergei.glushchenko/percona-server/5.5-BT40550-ps-bug1166938
- Laurynas Biveinis (community): Approve
- Registry Administrators: Pending requested
-
Diff: 18 lines (+7/-2)1 file modifiedplugin/percona-pam-for-mysql/src/auth_pam_compat.c (+7/-2)
lp://staging/~sergei.glushchenko/percona-server/5.6-BT40550-ps-bug1166938
- Laurynas Biveinis (community): Approve
- Registry Administrators: Pending requested
-
Diff: 18 lines (+7/-2)1 file modifiedplugin/percona-pam-for-mysql/src/auth_pam_compat.c (+7/-2)
lp://staging/~sergei.glushchenko/percona-pam-for-mysql/bug1166938
- Laurynas Biveinis (community): Approve
- Registry Administrators: Pending requested
-
Diff: 18 lines (+7/-2)1 file modifiedsrc/auth_pam_compat.c (+7/-2)
Changed in percona-pam-for-mysql: | |
status: | New → Triaged |
assignee: | nobody → Sergei Glushchenko (sergei.glushchenko) |
status: | Triaged → In Progress |
Changed in percona-pam-for-mysql: | |
status: | In Progress → Fix Released |
tags: | added: i58282 |
To post a comment you must log in.
Joshua -
The issue seems to be in the client-side plugin dialog that is needed for the clients in order to talk with PAM plugin on the server. This plugin is distributed together with the PAM plugin. Thus
1) is the dialog plugin available on the client?
2) does the authentication work if you use auth_pam_compat instead of auth_pam on the server? The _compat plugin uses the standard Oracle client-plugin on the client side instead of dialog.
Sergei, is it possible that this has been fixed by fixing bug 1155859?