Merge lp:~sergei.glushchenko/percona-pam-for-mysql/BT32086-bug1160348 into lp:percona-pam-for-mysql
Proposed by
Sergei Glushchenko
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Laurynas Biveinis | ||||||||||||
Approved revision: | 29 | ||||||||||||
Merged at revision: | 29 | ||||||||||||
Proposed branch: | lp:~sergei.glushchenko/percona-pam-for-mysql/BT32086-bug1160348 | ||||||||||||
Merge into: | lp:percona-pam-for-mysql | ||||||||||||
Diff against target: |
515 lines (+226/-88) 10 files modified
CMakeLists.txt (+2/-2) configure.ac (+2/-5) src/Makefile.am (+6/-3) src/auth_mapping.c (+53/-61) src/auth_mapping.h (+2/-7) src/auth_pam.c (+2/-1) src/auth_pam_common.c (+6/-8) src/auth_pam_compat.c (+2/-1) src/groups.c (+98/-0) src/groups.h (+53/-0) |
||||||||||||
To merge this branch: | bzr merge lp:~sergei.glushchenko/percona-pam-for-mysql/BT32086-bug1160348 | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Review via email:
|
Description of the change
This adds support for supplementary groups to PAM plugin user mapping. getgrouplist is used to obtain full list of groups user belongs to. If user is a member of several mapped groups, the group which is listed in authentication string first will be taken.
Also minor issues were addressed, such as copyright changed in files, broken link was removed, libmysqlclient is taken from mysql_config output.
Tested on CentOS 5 with PAM Unix and Mac OS X 10.7 with Open Directory.
To post a comment you must log in.
Looks good.
Please convert bug 1160348 to a blueprint for Percona Server, and please consider expanding the PAM Jenkins test setup to handle this.