[MCOL-592] auth_pam plugin missing from columnstore Created: 2017-02-24 Updated: 2017-03-27 Resolved: 2017-03-27 |
|
| Status: | Closed |
| Project: | MariaDB ColumnStore |
| Component/s: | MariaDB Server |
| Affects Version/s: | 1.0.6.1 |
| Fix Version/s: | 1.0.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | David Thompson (Inactive) | Assignee: | Daniel Lee (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Sprint: | 2017-5, 2017-6 |
| Description |
|
auth_pam.so is missing from mysql/lib/plugin. This is used to support ldap authentication. |
| Comments |
| Comment by Andrew Hutchings (Inactive) [ 2017-02-24 ] |
|
we need pam-devel installed on the build machine and then it will automatically go into the "server" package. |
| Comment by David Thompson (Inactive) [ 2017-02-24 ] |
|
validated that auth_pam taken from 10.1.21 server enables pam authentication on centos7. |
| Comment by David Hill (Inactive) [ 2017-02-27 ] |
|
fixed in 1.0.7-2 build by adding in additional build libraries. These are needed for the mariadb-server that we previously werent building with gperf libaio-devel libevent-devel python-devel ruby-devel tree wget pam-devel krb5-devel |
| Comment by David Thompson (Inactive) [ 2017-03-22 ] |
|
To verify this the following docs are useful context (ignore user mapping on the 2nd one unless you want to configure that): setup steps to test local linux auth as the pam source for centos7 Grant mysql user access to /etc/shadow: Create /etc/pam.d/mysql: Restart columnstore so mariadb recognizes group membership mcsmysql mcsmysql -u david -p enter unix password for david and should auth succesfully. |
| Comment by David Thompson (Inactive) [ 2017-03-22 ] |
|
dleeyh - can you confirm this on some other platforms and ensure auth_pam.so is installed on each distro? |
| Comment by David Thompson (Inactive) [ 2017-03-22 ] |
|
Appears to be a similar problem to |
| Comment by David Hill (Inactive) [ 2017-03-23 ] |
|
packages rebuilt and now have the correct packages |