[MDEV-19881] pam plugin from MariaDB 10.3 doesn't work with MariaDB 10.4 Created: 2019-06-27 Updated: 2022-08-04 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Plugin - pam |
| Affects Version/s: | 10.4.6 |
| Fix Version/s: | 10.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Unresolved | Votes: | 2 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
As a way to work around the numerous pam bugs in MariaDB 10.4.6, I tried to copy the pam plugins from MariaDB 10.3.16. This does not work, and it fails instantly without even asking for a password. For example, copy the plugin from the 10,3 to the 10.4 server:
Then move the existing one on the 10.4 server:
And then install the one from 10.3:
Create a Unix user account and set a password for the user:
Create the PAM service configuration:
Then in MariaDB, install the plugin:
And then create the user account:
And then you need to do the /etc/shadow workaround for pam_unix:
And then restart MariaDB:
And then, try to authenticate as the Unix account (while using the workaround for
Unlike in |
| Comments |
| Comment by Sergei Golubchik [ 2019-06-30 ] |
|
This is a bug in the 10.3 pam plugin that just didn't show up earlier |