[MDEV-17292] Package the pam_user_map module Created: 2018-09-25 Updated: 2020-08-25 Due: 2019-07-31 Resolved: 2020-02-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Packaging, Plugin - pam |
| Fix Version/s: | 10.2.31, 10.3.22, 10.4.12 |
| Type: | Task | Priority: | Critical |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
Currently, users have to manually compile pam_user_map.c, and then install pam_user_map.so in the proper location. Do we want to package this, so that users can install it more easily? |
| Comments |
| Comment by Alexey Botchkov [ 2019-08-01 ] |
|
https://github.com/MariaDB/server/commit/1b04e854531fd5634defaffa30fed82e3329436d |
| Comment by Sergei Golubchik [ 2019-08-04 ] |
|
A questionable solution. Why not to install it in the |
| Comment by Alexey Botchkov [ 2019-08-05 ] |
|
As the pam_user_map is the part of the MariaDB, i thought it makes sence to keep it with the rest of the libraries. |
| Comment by Sergei Golubchik [ 2019-08-06 ] |
|
As discussed on slack, let's try to make it a separate package, no dependencies, with a pam module in a standard location |
| Comment by Charles JUDITH [ 2019-12-30 ] |
|
There's a SPEC file, any ETA to have this package available? I'm currently using this package within my company. |
| Comment by Charles JUDITH [ 2020-01-24 ] |
|
Any details on how this will be implemented? A new package like the SPEC file added in attachement or included within an existing package? |
| Comment by Aurélien LEQUOY [ 2020-02-03 ] |
|
Hello, You made a mistake when you released the version 10.3.22 (and all others also I guess, but I didn't tested) The file pam_user_map.so is not in the good directory the log : Feb 03 17:48:29 pmaria36-par mysqld[18993]: PAM unable to dlopen(/usr/lib64/security/pam_user_map.so): /usr/lib64/security/pam_user_map.so: cannot open shared object file: No such file or directory For Centos : with cp -a /usr/lib/security/pam_user_map.so /usr/lib64/security/ it's working perfectly : Feb 03 18:04:11 pmaria36-par mysqld[18993]: pam_ldap(mariadb:auth): nslcd authentication; user=a.lequoy |
| Comment by Aurélien LEQUOY [ 2020-02-03 ] |
|
I created a pull request : https://github.com/MariaDB/server/pull/1443 https://github.com/MariaDB/server/pull/1443/commits/7bd57a55f78abffb508ab89972de1feccf6e155b |